Does SCST library can perform the testing with some nested interrupts enabled?

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

Does SCST library can perform the testing with some nested interrupts enabled?

ソリューションへジャンプ
629件の閲覧回数
snaku_lee
Contributor III

Hi,

My application initial code sets all enabled interrupts' priority to lowest level (15), and it will perform the SCST_M4_S32K144 library periodically (every 5 ms), and it goes well before this week.

But this week I enable a new interrupt (FTM capture) to measure a 1KHz PWM signal, and I forgot to change the IRQ priority level to 15, so nested interrupt is working, and my application code hangs in the SCST library, sometimes it hang in different point. The call stack in below pictures.

My question is that why this happen and how to fix it ? Should I set all interrupt in the same priority for SCST library?

scst_hang_1.png

scst_hang_2.png

Thank you,

Snaku

タグ(3)
0 件の賞賛
1 解決策
596件の閲覧回数
snaku_lee
Contributor III

I got a message from NXP's support case, it mention S32K144_M4SCST_1.0.6_D2106 fix a bug related to nested interrupt, and I am using S32K144_M4SCST_1.0.4, so it could be the reason why my program hangs in the SCST library.

 

there are no details what version of SCST library you use and therefore I would recommend you to use the latest one S32K144_M4SCST_1.0.6_D2106 with the following fixes:

 

========================================================

What's modified in RTM 1.0.6 release:

========================================================

Bugs:

CSTL-661 Nested interrupts bug

    - Fixed bug with nested interrupts causing unexpected exceptions and

      corrupted interrupt vector table (VTOR register).

 

Martin

Technical Support 

NXP Semiconductor 

元の投稿で解決策を見る

0 件の賞賛
1 返信
597件の閲覧回数
snaku_lee
Contributor III

I got a message from NXP's support case, it mention S32K144_M4SCST_1.0.6_D2106 fix a bug related to nested interrupt, and I am using S32K144_M4SCST_1.0.4, so it could be the reason why my program hangs in the SCST library.

 

there are no details what version of SCST library you use and therefore I would recommend you to use the latest one S32K144_M4SCST_1.0.6_D2106 with the following fixes:

 

========================================================

What's modified in RTM 1.0.6 release:

========================================================

Bugs:

CSTL-661 Nested interrupts bug

    - Fixed bug with nested interrupts causing unexpected exceptions and

      corrupted interrupt vector table (VTOR register).

 

Martin

Technical Support 

NXP Semiconductor 

0 件の賞賛