Skip to main content
Visitor II
January 17, 2026
Question

SmartCard mode Parity is not initialized

  • January 17, 2026
  • 1 reply
  • 175 views

When choosing SmartCard mode for USART, parameter Parity is automatically set to Even. However generated code in usart.c, does not has:

hsmartcard1.Init.Parity = SMARTCARD_PARITY_EVEN;

Only when I manually reselect that in GUI, the parity will be set in the generated code.

I am using Nucleo-G0B1RE.

1 reply

Ghofrane GSOURI
Technical Moderator
January 19, 2026

Hello @eSelix 

Thank you for your valuable contribution.

Issue has been escalated to dev team for resolution under internal ticket ID 225403 

I will keep you posted with updates 

THX

Ghofrane

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.