Commit 1e5a52a
committed
[Nuvoton] Fix mbedmicro-rtos-mbed-systimer/Wake up from deep sleep failing
This test requires total latency (tot = h/w + s/w) (wakeup from deepsleep) be
under 1ms. To check the issue, measure total latency on Nuvoton targets:
TARGET EXP(us) EXP+TOL(us) ACT(us)
NANO130 42000 43000 42939
NUC472 42000 43000 42236
M453 42000 43000 43274
M487 42000 43000 42877
M2351 42000 43000 43213
Checking h/w spec, h/w latency (wakeup time from normal power-down mode) on
M487/M2351 is just 1us (n/a on other targets). S/W latency plays the major
part here.
S/W latency relies on system performance. On Nuvoton targets, 'LPTICKER_DELAY_TICKS'
possibly complicates the test. Anyway, to pass the test, add extra 1ms latency
(deep-sleep-latency) in targets.json for Nuvoton targets.1 parent 492d10c commit 1e5a52a
1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7442 | 7442 | | |
7443 | 7443 | | |
7444 | 7444 | | |
| 7445 | + | |
7445 | 7446 | | |
7446 | 7447 | | |
7447 | 7448 | | |
| |||
7572 | 7573 | | |
7573 | 7574 | | |
7574 | 7575 | | |
| 7576 | + | |
7575 | 7577 | | |
7576 | 7578 | | |
7577 | 7579 | | |
| |||
7639 | 7641 | | |
7640 | 7642 | | |
7641 | 7643 | | |
| 7644 | + | |
7642 | 7645 | | |
7643 | 7646 | | |
7644 | 7647 | | |
| |||
8000 | 8003 | | |
8001 | 8004 | | |
8002 | 8005 | | |
| 8006 | + | |
8003 | 8007 | | |
8004 | 8008 | | |
8005 | 8009 | | |
| |||
8210 | 8214 | | |
8211 | 8215 | | |
8212 | 8216 | | |
| 8217 | + | |
8213 | 8218 | | |
8214 | 8219 | | |
8215 | 8220 | | |
| |||
0 commit comments