9 bit LPUART messages for S32K118EVB

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

9 bit LPUART messages for S32K118EVB

Jump to solution
894 Views
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 Kudos
Reply
1 Solution
879 Views
danielmartynek
NXP TechSupport
NXP TechSupport
0 Kudos
Reply
2 Replies
880 Views
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 Kudos
Reply
876 Views
Alston
Contributor II

Hi Daniel,

I get it already.
Thanks,

Alston

0 Kudos
Reply