cancel
Showing results for 
Search instead for 
Did you mean: 

USB CDC (Device) working with FreeRTOS on the STM32769I-DISCO. Does ST have example code of these two working together ?

Dr. Ian Pratt
Associate

I note that the XCube-AWS software employs FreeRTOS as a task scheduler. I'm using the STM32F769NI-DISCO development board to do some testing. That software is working out of the box. I can see the Ethernet handled as a task. I also see the USB CDC (Device) code for the XCube. This also works on the Discovery board. However, the USB code example does not use FreeRTOS. What steps would be needed to hook this in ? Do you have any example code using FreeRTOS and UCB CDC (Device) for this platform ?

2 REPLIES 2

Hello @Dr. Ian Pratt​ ,

Unfortunately, the only available USB example with FreeRTOS if for HID and MSC **host**. The examples are located in :

  • Projects\STM32F769I_EVAL\Applications\USB_Host\HID_RTOS
  • Projects\STM32F769I_EVAL\Applications\USB_Host\MSC_RTOS

BeST Regards,

Walid

Javier1
Principal

I am having issues when enabling USB CDC (Device)+ freertos in cubeMx :(

https://community.st.com/s/question/0D53W00001ixmYuSAI/mxusbdeviceinit-not-generated-in-mainc-buggy-cubemx-update

we dont need to firmware by ourselves, lets talk