How to use epit timer on iMX6DL with kernel 3.10.53

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to use epit timer on iMX6DL with kernel 3.10.53

711 Views
jeyzhou
Contributor I

I want to use epit timer to wakeup system periodically from suspend mode.

But the system can not wakeup correctly and interrupt can not be triggered by the time set with epit_start.

How to config epit timer, how to use these interface epit_config/epit_start/epit_stop?

Could you please give an example or sample code?

Thanks.

0 Kudos
1 Reply

354 Views
BiyongSUN
NXP Employee
NXP Employee

The clock for epit could not keep during the suspend.

Please use the RTC and the unit test code as reference

i.MX_Linux_User's_Guide.pdf

Untitled.png

0 Kudos