LPC5526 9bit uart multiprocessor setup

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

LPC5526 9bit uart multiprocessor setup

812 次查看
jeroenbussink
Contributor II

Hi,

I'm using a LPC5526 and I want to setup 9bit UART (RS485)  communication, the 9th bit is used for the address detection.

The manual states that the CPU should be capable of 9bit multiprocessor:

pastedImage_1.png

Only in the GUI peripheral setup there no option to choose it, also in the fsl_usart.h file there a no enums / functions to configure this. Im using the 2.1.1 driver from the SDK.#

Do I look in the wrong place or are these options not available in the driver library?

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

757 次查看
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi, Jeroen,

I agree with you that the usart driver does not have any declaration, macro, enums for the 9 bits data support, but the hardware of USART module supports 9 bits data format.

This is the USART FIFO registers, obviously, it supports 9 bits data, the bits is from 0 to 8, the total is 9 bits.

BR

XiangJun Rong

pastedImage_1.png

0 项奖励
回复