Skip to main content
Associate
July 1, 2026
Solved

stwinbox

  • July 1, 2026
  • 1 reply
  • 50 views

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

Best answer by SimonePradolini

Hello ​@Yaser57 

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:

  • Take an existing UART example from your target board
  • Replace the initialization call with HAL_RS485Ex_Init()
  • Configure the Driver Enable (DE) polarity and timing parameters for your needs

You can also start from STM32CubeMX, select STWIN.box as eval board and enable USART3 with RS485 flag. 

 

Best regards

Simone

1 reply

SimonePradolini
SimonePradoliniBest answer
ST Technical Moderator
July 8, 2026

Hello ​@Yaser57 

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:

  • Take an existing UART example from your target board
  • Replace the initialization call with HAL_RS485Ex_Init()
  • Configure the Driver Enable (DE) polarity and timing parameters for your needs

You can also start from STM32CubeMX, select STWIN.box as eval board and enable USART3 with RS485 flag. 

 

Best regards

Simone

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question.
Yaser57Author
Associate
July 8, 2026

Thank you for that.

 

I am also wondering if there are applications to simulate streaming the data using wifi in a best way with losing the data and without using FTP which is very slow to capture the data from

 

 

regards.

SimonePradolini
ST Technical Moderator
July 9, 2026

Hello,

I’m sorry, but I am not aware of any firmware example for data streaming via Wi-Fi.

Best regards,
Simone

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question.