Does STM32U585 supports USB RNDIS ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-07-14 6:11 AM
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 ?
Solved! Go to Solution.
- Labels:
-
STM32U5 series
-
USB
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-07-19 1:27 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-07-15 6:59 AM
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
Thanks
Imen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-07-19 1:27 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-07-22 6:07 AM
Thank you so much @Imen DAHMEN​ and @KHors.1​ for your inputs.
This will work for me.
:grinning_face:
