Skip to main content
Kamurasi-Jordan-Arthur
Associate III
December 24, 2025
Solved

USBX as a host in stand alone

  • December 24, 2025
  • 5 replies
  • 471 views

Hey there at @Pavel A. I've implemented USBCDC as a device In stand alone mode successfully I intend on implementing CDC host stand alone that is to say without X-thread RTOS.
The generated files from cube MX don't have Read_run and Write_run functions for stand-alone when implementing the host side which makes me wonder if it is achievable you to have USBx as a host in stand alone.

Best answer by FBL

Hi @Kamurasi-Jordan-Arthur 

You can refer to this example as a reference host application using USBX in standalone mode.

5 replies

Pavel A.
Super User
December 24, 2025

Sorry I don't have answers for this and AFAIK there are no known examples of USBX in host mode without ThreadX. 

But this does not mean it is impossible.

 

FBLBest answer
Technical Moderator
February 4, 2026

Hi @Kamurasi-Jordan-Arthur 

You can refer to this example as a reference host application using USBX in standalone mode.

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
Explorer
February 5, 2026

Hi @Kamurasi-Jordan-Arthur , Which MCU are you project based on? , which cubeMx version ?

Kamurasi-Jordan-Arthur
Associate III
February 17, 2026

Hey there, Sorry for the late reply, 
For the time being that part of the project has been paused,

I will surely check out the example suggested by @FBL when we round back to this, 
Am using the STM32N6 mcu series and cubeMX version 6:16.0.

Thank you for you time.

Also how easy is it to have USBX use freeRtos as its OS instead of behaving as standalone on an OS, We are thinking of using the st67w611m1 which I think does have tight strings with the OS.

 

Technical Moderator
February 17, 2026

Hi @Kamurasi-Jordan-Arthur 

This article How to add USBX to an STM32 FreeRTOS™ project is interesting if you would like to integrate USBX stack with FreeRTOS. You can check this X-CUBE-ST67W61 integrating FreeRTOS.

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