The program is constantly running the SWT0_IRQHandler() and cannot jump out

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

The program is constantly running the SWT0_IRQHandler() and cannot jump out

177件の閲覧回数
gsr007
Contributor I

I successfully ran the example called srx_fast_dma_mpc5744p, and then I created an empty S32DS project.Then I  completely copied the code of srx_fast_dma_mpc5744p to the empty project, but during runtime, once it receives data from the sensor, the program will continue to enter SWT0_ IRQHandler(). Is there an error somewhere?

gsr007_0-1701005664076.jpeg

 

0 件の賞賛
1 返信

143件の閲覧回数
petervlna
NXP TechSupport
NXP TechSupport

Hello,

Looks like your SWT is triggering the interrupt.

Are you running the SW or you are debugging it. As if you the step in debugger then the IRQ from SWT will be called immediately. therefore the SWT is in most debuggers disabled by default.

If you disable/service the SWT in your code, then the IRQ handler from SWT should never be called in ideal situation.

Best regards,

Peter

0 件の賞賛