TICK duration issue on NXP RTOS using S32K344

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

TICK duration issue on NXP RTOS using S32K344

417件の閲覧回数
MVR
Contributor III

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 件の賞賛
4 返答(返信)

280件の閲覧回数
MVR
Contributor III

Anyone, please?

0 件の賞賛

396件の閲覧回数
MVR
Contributor III

Hello, anyone can help me, please?

0 件の賞賛

384件の閲覧回数
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 件の賞賛

376件の閲覧回数
MVR
Contributor III

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

0 件の賞賛