AnsweredAssumed Answered

PIT interrupt Problem on RT1050

Question asked by Zhong Shen on Mar 29, 2018
Latest reply on Apr 5, 2018 by CarlosCasillas

Dear Sir,


Recently, I start to use RT1050 EVK, based on SDK PIT driver example I plan to make a time delay function(with PIT). I found there is a problem on the delay function.


1. if I want to delay 1us, I will get the nearly 2 us delay, that is OK because there is interrupt head.

2. if I want to delay 480us, I will get the around 160us delay (check with scope).

3. when I set the delay as 5000us, I got 1800us delay.


The attached is the project source file(MCUXpresso project). Please advise me what is the problem to use PIT.