Hi,everyone
When I use imx6sx to configure the interrupt, the external will trigger an interrupt every 20ms, but the interrupt is not entered immediately after the interrupt is triggered, and there will be a certain delay. This delay time is about 10us. The problem now is that it is okay if the delay is 10us each time, but I found that the time of each entry interrupt is not fixed, sometimes it is long and sometimes short. There will be a certain error in this way. Does anyone know how to solve this problem? We are expecting a reply.
Hi zxs
one can try fiq or rt patches or process interrupt on m4
https://community.nxp.com/t5/i-MX-Processors/How-to-port-RTLinux-on-iMX6-board/td-p/380941
or "Real-Time Edge Software"
Best regards
igor
Hi,igorpadykov
Real-Time Edge Software does not support imx6sx platform, only imx6ull.
you can port it yourself using i.MX6ULL as example.
Best regards
igor
Hi,igorpadykov
Can rt patches make the interruption time stable? I tested it and found that it is not as good as not adding it. We are using pin input interrupt, does fiq support it? Our m4 can only open one interrupt, so no other interrupts can be used.
I played the rt package and still the same situation.