cancel
Showing results for 
Search instead for 
Did you mean: 

Does STM32U585 supports USB RNDIS ?

NM.1
Associate II

Hi All,

I am starting work on USB RNDIS support for STM32U5, and completely new to this.

I am looking for example/documentation on USB RNIDS support on STM32U5.

Can anyone please help here ?

1 ACCEPTED SOLUTION

Accepted Solutions
KHors.1
Associate II

The RNDIS class is provided with STM32Cube.

You can find it under ...\STM32Cube\Repository\<Your library and version>\Middlewares\ST\STM32_USB_Device_Library\Class\CDC_RNDIS.

A good starting point would be a CDC virtual serial port project, then modify it to the RNDIS structures und modules. The basic structure and calls are pretty similar.

Documentation for the RNDIS class (and all others) is here wiki.st.com/stm32mcu/wiki/Introduction_to_USB_with_STM32#CDC_Remote_Network_Driver_Interface_Specification_-28RNDIS-29_Sublass.

If the class is not provided for STM32U5 MCUs you can "steal" it from another models, like L4 or F4. Just install the Cube support for one of these, parallel to the U5 library.

The effort on integrating the stuff, and making it work is however completely on your side.

View solution in original post

3 REPLIES 3
Imen.D
ST Employee

Hello @NM.1​ ,

There is no RNDIS example within STM32CubeU5 MCU package.

You may use examples provided on Microsoft Azure RTOS repo in order to develop your own RNDIS application.

We are currently working on adding multiple USBX classes to our packages including RNDIS.

Thank you for your understanding and your contribution.

When your question is answered, please close this topic by choosing Select as Best. This will help other users find that answer faster.

Thanks

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen
KHors.1
Associate II

The RNDIS class is provided with STM32Cube.

You can find it under ...\STM32Cube\Repository\<Your library and version>\Middlewares\ST\STM32_USB_Device_Library\Class\CDC_RNDIS.

A good starting point would be a CDC virtual serial port project, then modify it to the RNDIS structures und modules. The basic structure and calls are pretty similar.

Documentation for the RNDIS class (and all others) is here wiki.st.com/stm32mcu/wiki/Introduction_to_USB_with_STM32#CDC_Remote_Network_Driver_Interface_Specification_-28RNDIS-29_Sublass.

If the class is not provided for STM32U5 MCUs you can "steal" it from another models, like L4 or F4. Just install the Cube support for one of these, parallel to the U5 library.

The effort on integrating the stuff, and making it work is however completely on your side.

NM.1
Associate II

Thank you so much @Imen DAHMEN​  and @KHors.1​  for your inputs.

This will work for me.

😀