TICK duration issue on NXP RTOS using S32K344

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

TICK duration issue on NXP RTOS using S32K344

1,755 Views
MVR
Contributor V

Hello all,

I'm trying to define 1ms for each tick using NXP RTOS, but I'm not able to do it.

This is the result:

MVR_0-1709664443686.png

Code:

MVR_1-1709664465287.png

OsTaskInit AUTOSTART is true.

This is my configuration:

MVR_2-1709664517268.png

MVR_3-1709664524950.png

I set 1000000 into Period, as we can see this description about the field:

MVR_4-1709664633704.png

Also the PIT clock is 40MHz:

MVR_5-1709664657482.png

Where am I making a mistake? Can anyone help me please?

Thanks,

MVR

0 Kudos
Reply
4 Replies

1,618 Views
MVR
Contributor V

Anyone, please?

0 Kudos
Reply

1,734 Views
MVR
Contributor V

Hello, anyone can help me, please?

0 Kudos
Reply

1,722 Views
not_a_duck
Contributor III
I noticed that your OsIsr priority is set to 4. is there anything running at a higher priority that could be affecting your period.
Can you increase the priority?
0 Kudos
Reply

1,714 Views
MVR
Contributor V

There is only this timer priority, and also I tried to change to 0 and 60… I got the same result

0 Kudos
Reply