LPC5526 9bit uart multiprocessor setup

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

LPC5526 9bit uart multiprocessor setup

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

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