S32K Trigger Interrupt via Software

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

S32K Trigger Interrupt via Software

1,242件の閲覧回数
Jeniffer
Contributor I

Hello All,

I am using S32K116 micro controller. I am using Cortex M0. I am looking in to documentation and can not find how to: trigger interrupt via software

I want trigger interrupt handler function but there is not NVIC register for this work.

For example, can I trigger the LPSPI0_IRQHandlerfunction on my own request? or LPUART0_RxTx_IRQHandler.

 

Cortex M4 has NVIC->STIR and SCB->CCR for that.

  • SCB->CCR - USERSETMPEND[1:1]: Controls unprivileged access to STIR. Should be 1 to trigger interrupt in unprivileged mode.
  • NVIC->STIR - INTID[8:0]: Triggers the interrupt of the written IRQ number.

 

タグ(3)
0 件の賞賛
返信
2 返答(返信)

1,225件の閲覧回数
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi Jeniffer,

The core of S32K11x is ARM Cortex M0+, so have a look at NVIC_ISPR in Cortex-M0+ Devices Generic User Guide.

Best Regards,
Robin

0 件の賞賛
返信

1,216件の閲覧回数
Jeniffer
Contributor I

Thanks @Robin_Shen 

0 件の賞賛
返信