LPUART interrupt problem in KW40Z Connectivity software version 1.0.1

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

LPUART interrupt problem in KW40Z Connectivity software version 1.0.1

399 次查看
vanajagujjala
Contributor III

Hi,

I am using KW40Z_Connectivity_Software_1.0.1 and am trying to modify heart_rate_sensor code,

1. In heart_rate_sensor code I enabled  dbg_uart_init() function (by default it is disabled) to initialize lpuart.

2. In heart_rate_sensor code I enabled  DbgConsole_Init(BOARD_DEBUG_UART_INSTANCE, BOARD_DEBUG_UART_BAUD, kDebugConsoleLPUART) function (by default it is disabled).

3. Please find below steps to enable interrupt for LPUART

       LPUART0_CTRL |= LPUART_CTRL_RIE_MASK

       NVIC_EnableIRQ(LPUART_IRQn);  

 LPUART Interrupt is not working, am I doing any thing wrong please suggest

Thanks,

Vanaja.

标签 (1)
0 项奖励
1 回复

273 次查看
jorge_a_vazquez
NXP Employee
NXP Employee

Hi vanaja gujjala

Connectivity software for KW40Z uses its own Serial communication, you cannot use the debug_console one, because this doesn't consider the radio. I recommend you to check "3.9. Serial manager" of the connectivity framework Reference Manual. you can find the document in the path {KW40Z_Connectivity_Software_1.0.1_path}\ConnSw\doc\CONNFWKRM.pdf

Hope this information could help you.

Best Regards

Jorge Alcala

0 项奖励