9 bit LPUART messages for S32K118EVB

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

9 bit LPUART messages for S32K118EVB

跳至解决方案
860 次查看
Alston
Contributor II

Hi,

I have a S32K118Evb board and run the sample code "uart_pal_echo_s32k118" for uart tests.

I want to transmit a message with a 9-bit character length.

So I changed the relevant settings. as follows

const uart_user_config_t LPUART_0_uart_pal_config0 = {
.baudRate = 115200UL,
.parityMode = UART_PARITY_DISABLED,
.bitCount = UART_9_BITS_PER_CHAR,
.stopBitCount = UART_ONE_STOP_BIT,
.transferType = UART_USING_INTERRUPTS,

The waveform below is a comparison of 8-bit characters and 9-bit characters.

8bit char8bit char

 

9bit char9bit char

 

Why is the output waveform of 9-bit characters like this, where did I set it wrong?

Best Regards
Alston

 

 

 

0 项奖励
回复
1 解答
845 次查看
danielmartynek
NXP TechSupport
NXP TechSupport
0 项奖励
回复
2 回复数
846 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hi Alston,

Please refer to this thread:

https://community.nxp.com/t5/S32K/9-bit-LPUART-messages-for-S32k144/m-p/1429135#M14457

 

Regards,

Daniel

0 项奖励
回复
842 次查看
Alston
Contributor II

Hi Daniel,

I get it already.
Thanks,

Alston

0 项奖励
回复