UART usage

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

UART usage

跳至解决方案
2,045 次查看
lukaszgesieniec
Contributor II

Hi,

I want to communicate with another uC using UART. My application is based on thread_router_bluetooth_wireless_uart_hybrid example. Should I use SerialManager or FSCI module from Wireless Connectivity Framework? Any example?

Thanks

标签 (3)
0 项奖励
回复
1 解答
1,722 次查看
gerardo_rodriguez
NXP Employee
NXP Employee

Hello Lukasz,

The serial manager is used for communication to the upper layers in the stack. For most thread examples, the serial manager is user by the shell interface and communicates through UART to the OpenSDA MCU.

Since the KW41 only has one UART, you would need to disable the serial manager to have access to the UART. Once disabled, you can use the SDK drivers for the UART module. There are examples for this driver located in <SDK installation>\boards\frdmkw41z\driver_examples\lpuart\.

FSCI is a serial protocol used to control the Connectivity stack through serial commands.

Regards,

Gerardo

在原帖中查看解决方案

1 回复
1,723 次查看
gerardo_rodriguez
NXP Employee
NXP Employee

Hello Lukasz,

The serial manager is used for communication to the upper layers in the stack. For most thread examples, the serial manager is user by the shell interface and communicates through UART to the OpenSDA MCU.

Since the KW41 only has one UART, you would need to disable the serial manager to have access to the UART. Once disabled, you can use the SDK drivers for the UART module. There are examples for this driver located in <SDK installation>\boards\frdmkw41z\driver_examples\lpuart\.

FSCI is a serial protocol used to control the Connectivity stack through serial commands.

Regards,

Gerardo