cancel
Showing results for 
Search instead for 
Did you mean: 

USBX as a host in stand alone

Kamurasi-Jordan-Arthur
Associate III

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.

1 ACCEPTED SOLUTION

Accepted Solutions
FBL
ST Employee

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

View solution in original post

5 REPLIES 5
Pavel A.
Super User

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.

 

FBL
ST Employee

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
Mohamed_AYED
Senior

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

Kamurasi-Jordan-Arthur
Associate III

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.

 

FBL
ST Employee

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