2024-08-27 11:03 PM
hi community,
i my project. i am using PIT and it is working fine. before initialization of the drivers osalThreadDelayMilliseconds() is working fine. but after initialization of the low level drivers, osalThreadDelayMilliseconds() is blocked even though when i had used osalThreadGetMilliseconds() logic . even though it is not working (bolcking the code (PIT also)).
is there any alternatives. to add delay's without blocking PIT.
Regards
E shiva
2024-08-28 03:29 AM
Hi,
Please could you share your code and your pheripheral configuration?
Are you initializing (low level driver initialization) other peripherals besides the pit in your project?
Have you enabled irqIsr ?
int main(void) {
componentsInit();
/* Enable Interrupts */
irqIsrEnable();
.....
}
Luca R.