cancel
Showing results for 
Search instead for 
Did you mean: 

(Bug Report) UART5 assigned to the serial comm(UASPEP) results in compile error

THA.1
Associate II

(Environment)

MC_SDK 5.Y.3 + STM32CubeMX 6.3.0 with HAL + IAR EWARM 8.5

(Hardware)

custom board based on F446RE + custom power board + Low Voltage BLDC motor with Encoder

(What I found)

  • I configured UART5 to the serial communication.
  • In "mcp_config.h", USARTA is defined as "USART5", which is, however, not defined.
  • (Workaround) If I replace "USART5" with "UART5", then it works well.

​//#define USARTA USART5 // compile error

​#define USARTA UART5 // good

2 REPLIES 2
Sara BEN HADJ YAHYA
ST Employee

Hello @THA.1​ ,

Thanks for your feedback,

Could you please share your .ioc file ?

Regards,

Sara.

THA.1
Associate II

Attached please find the .ioc file.

Regards

THA