default ISR

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

default ISR

2,984件の閲覧回数
rajesh1
Contributor I

I am using s32k148  microcontroller for programming two SPI and one UART module. first i debug the example code LPSPI_s32k144 and LPUART_s32k144 for SPI and uart saperately and it worked .but when i combine code it stucked at b     default ISR. I already included the lpspi and lpuart C and header file.using break points i found that after following code line it goes into default ISR

         LPSPI1->IER   = 0x00000000; 

and is showing following screen

pastedImage_1.png

how can i resolve this problem?

0 件の賞賛
返信
1 返信

2,754件の閲覧回数
Robin_Shen
NXP TechSupport
NXP TechSupport

Would you please show us the Debug view?

Debug View.png

If default ISR was happen once you access register of LPSPI1, then you may need to check the value of PCC_LPSPI1.

Best Regards,

Robin

 

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信