Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Nuvoton: Enlarge required deep sleep latency #11020
This PR is to pass wake-up from deep-sleep test such as
Pull request type
0xc0170 left a comment
One question - why 1 fixes it ? why not 2 for instance - might be good to explain this in the commit itself. It's not just to pass the test - why it fails (what is this fixing, is there some reconfig in place that takes time and introducing this latency?). I might be asking too much but this might be helpful to know for a reader.
Add the commit message. According to h/w spec, h/w latency is 1us on Nuvoton targets. The total latency majorly comes from s/w latency. Dependent on system performance (cpu+cache+...), s/w latency ranges from 250us to 1250us on Nuvoton targets. Default tolerance is 1ms. Add extra 1ms tolerance for this test.
On non-Nuvoton target K64F, its total latency is 400us. Without its h/w spec, assuming its h/w latency is also small, s/w latency still plays the major part.