9 bit LPUART messages for S32K118EVB

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

9 bit LPUART messages for S32K118EVB

ソリューションへジャンプ
822件の閲覧回数
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 解決策
807件の閲覧回数
danielmartynek
NXP TechSupport
NXP TechSupport
0 件の賞賛
返信
2 返答(返信)
808件の閲覧回数
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 件の賞賛
返信
804件の閲覧回数
Alston
Contributor II

Hi Daniel,

I get it already.
Thanks,

Alston

0 件の賞賛
返信