LPUART interrupt problem in KW40Z Connectivity software version 1.0.1

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LPUART interrupt problem in KW40Z Connectivity software version 1.0.1

391 Views
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.

Labels (1)
0 Kudos
1 Reply

265 Views
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 Kudos