Skip to main content
Visitor II
October 23, 2025
Question

OSC with STM32G4

  • October 23, 2025
  • 2 replies
  • 261 views

Hello,

I have an STM32G431 here that sends messages to a PC via MIDI. These are translated into OSC messages by a bridge and then interpreted by lighting control software. I would like to eliminate the intermediate step via the bridge and transmit the messages directly as OSC. My own research has shown that this is possible in principle if the controller acts as a network adapter via USB. Unfortunately, I couldn't find any examples for the G4. There seem to be a few examples of people configuring an F4 as a USB network adapter. Unfortunately, I haven't been able to integrate these examples into Cube IDE and get them to run on the G4. I have also tried to integrate a TinyUSB stack. Unfortunately, this was also unsuccessful. Therefore, I wanted to ask if anyone else has examples for me in which RNDIS has been integrated on the G4, or tips on how I can get closer to a solution.

Thank you in advance.

2 replies

Andrew Neil
Super User
October 23, 2025
A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
Technical Moderator
October 28, 2025

Hi @KaiSimonSchafer 

Would you provide your full setup for RNDIS on G4 to help you? 

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.Best regards,FBL