cancel
Showing results for 
Search instead for 
Did you mean: 

Wrong comment in generated code

nicolas
Senior II

I'm using STM32CubeMX 6.17.0 with NUCLEO-U575ZI-Q, it generated the following code:

/* Initialize COM1 port (115200, 8 bits (7-bit data + 1 stop bit), no parity */
BspCOMInit.BaudRate = 115200;
BspCOMInit.WordLength = COM_WORDLENGTH_8B;
BspCOMInit.StopBits = COM_STOPBITS_1;
BspCOMInit.Parity = COM_PARITY_NONE;
BspCOMInit.HwFlowCtl = COM_HWCONTROL_NONE;

The comment is wrong, the UART has 8 bits of data instead of 7 bits.

1 REPLY 1
Ghofrane GSOURI
ST Employee

Hello @nicolas 

Thank you for your contribution.

The issue has been escalated to the development team for resolution under internal ticket ID #0062850.

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.