I want to use EPIT to achieve an interrupt every 156us, but actual tests have found that the interrupt interval is not precisely 156us, with some intervals even reaching the millisecond level.
Why is this happening? What should I do to achieve an accurate 156us periodic interrupt?
Thanks
解決済! 解決策の投稿を見る。
Hi @JanieZee
There are two ways to use epit:
1.Use arch/arm/mach-imx/epit.c
https://github.com/nxp-imx/linux-imx/blob/imx_4.1.15_2.0.0_ga/arch/arm/mach-imx/epit.c
2.Use mainline commit
How do you call the epit function in your test? Have you write EPIT driver by yourself?
Hi @JanieZee
There are two ways to use epit:
1.Use arch/arm/mach-imx/epit.c
https://github.com/nxp-imx/linux-imx/blob/imx_4.1.15_2.0.0_ga/arch/arm/mach-imx/epit.c
2.Use mainline commit