UART001 Even/Odd parity is not working.

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Not applicable
Hi all.

I want to set the UART001 to Even parity. But the paritiy selection box in the configuration window of app UART001 is not enabled.
So i did this in software:

int main(void)
{
status_t status; // Declaration of return variable for DAVE3 APIs (toggle comment if required)
DAVE_Init(); // Initialization of DAVE Apps

status = UART001_Configure (&UART001_Handle0,38400,UART_PARITY_EVEN,UART_ONE_STOPBIT);
...
}


But this does not work. The UART ist always running with "No Parity".
Can someone help me?

Thank you,
2TE
0 Likes
2 Replies
Not applicable
Hi 2TE,

Are you using XMC45xx devices? Pls take a note that the parity mode can't be used in ASC for XMC45xx AA & AB step devices. You may check the details in the corresponding errata sheets (USIC_AI.007).

Best regards,
Sophia
0 Likes
Not applicable
Hi Sophia.

Thank you for the information. I use the XMC4500-F100K1024 AB.

Best regards,
2TE
0 Likes