LPUART interrupt problem in KW40Z Connectivity software version 1.0.1

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

LPUART interrupt problem in KW40Z Connectivity software version 1.0.1

545件の閲覧回数
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 返信

419件の閲覧回数
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 件の賞賛
返信