lpuart_echo_s32k144

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

lpuart_echo_s32k144

1,383 次查看
wangfei11
Contributor II

Hi

I am using lpuart_echo_s32k144 routines now.I sent data to the MCU on the computer with my serial assistant, and the MCU did not enter this function the interrupt function(void LPUART1_IrqHandler(void) {};).And initialization has been called this function( LPUART_DRV_Init(){}) and this function (INT_SYS_EnableIRQ(s_lpuartRxTxIrqId[instance]);).What should I do next?

pastedImage_57.png

标记 (1)
0 项奖励
2 回复数

1,069 次查看
jiri_kral
NXP Employee
NXP Employee

Hello, 

do you have iterrupt mode enabled in Processor Expert UART settings? Also make sure that you generated new code for any Processor Expert change. 

pastedImage_1.png

Check also your PC Terminal speed and make sure that you have disabled any HW/SW flow control. I'm usiing Putty as a serial terminal and lpuart echo works okay. 

Jiri 

0 项奖励

1,069 次查看
wangfei11
Contributor II

Hello,

I have already  iterrupt mode enabled in Processor Expert UART settings.The code inside is hidden after testing.If the serial port is interrupted, I send the characters on the serial assistant, and the MCU will jump directly into the interrupt code after the interruption. However, I sent the data to the serial port on the computer, but did not enter the interrupt. Because I was testing it when I was setting up an LED.I need Hardware interrupt.

Regards

Jiri

0 项奖励