stwinbox
Hi all,
i am just trying to figure out how to connect the Stwinbox board with Rs485.
if you have any advice in terms of applications i must use and the recommended firmware?
regards
Hi all,
i am just trying to figure out how to connect the Stwinbox board with Rs485.
if you have any advice in terms of applications i must use and the recommended firmware?
regards
Hello
Unfortunately, there’s no ready-to-use firmware example for STWIN.box.
But you can refer to STM32CubeU5 UART Example. With minimal changes, you should get a fully working application.
For example: let’s take one of the examples available here https://github.com/STMicroelectronics/STM32CubeU5/tree/main/Projects/NUCLEO-U575ZI-Q/Examples/UART. Most official UART examples use standard UART mode by default. To use RS485, you would:
HAL_RS485Ex_Init()You can also start from STM32CubeMX, select STWIN.box as eval board and enable USART3 with RS485 flag.

Best regards
Simone
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.