Skip to main content
Gianluca Costa
Associate II
February 27, 2019
Solved

STM32CubeMX 5.1.0 RS485 Issue

  • February 27, 2019
  • 1 reply
  • 911 views

Hi

with STM32CubeMX 5.1.0 on STM32F746BGTx there is an issue when I enable RS485.

Cube doesn't genrate all funtions related to RS485, for example the main inizialization function HAL_RS485Ex_Init is not present in the code generated by Cuce.

Attached the simple project file that generate the issue.

Best regard.

Gianluca Costa

This topic has been closed for replies.
Best answer by Frantz LEFRERE

Hi

In fact the problem is that CubeMx doesn't copy the file stm32f7xx_hal_uart_ex.c in the folder Drivers\STM32F7xx_HAL_Driver\Src

A temporary workaround is to copy it manually from the CubeMx repository:

cube\repository\STM32Cube_FW_F7_V1.15.0\Drivers\STM32F7xx_HAL_Driver\Src

 to you project folder Drivers\STM32F7xx_HAL_Driver\Src

Frantz

1 reply

Frantz LEFRERE
Frantz LEFREREBest answer
ST Technical Moderator
March 1, 2019

Hi

In fact the problem is that CubeMx doesn't copy the file stm32f7xx_hal_uart_ex.c in the folder Drivers\STM32F7xx_HAL_Driver\Src

A temporary workaround is to copy it manually from the CubeMx repository:

cube\repository\STM32Cube_FW_F7_V1.15.0\Drivers\STM32F7xx_HAL_Driver\Src

 to you project folder Drivers\STM32F7xx_HAL_Driver\Src

Frantz