Skip to main content
Graduate II
February 10, 2025
Question

USB CDC FreeRTOS Not Working after enabling the FreeRTOS

  • February 10, 2025
  • 1 reply
  • 565 views

Hi team,

             I am using STM32F7 for my work, am facing one issue regarding USB CDC Class, whenever am using it without enabling this macro everything is working fine, however as soon as i enabled this macro system will stop working itself, it will not even detect the device. Is there anything additionally i need to do to enable this. 

 

#define USBH_USE_OS 1U

 

 As per my knowledge , when am not using this OS enabled USB , I am calling this USBH_Process() within infinite loop. and after enabling it , no need to call this function inside infinite loop ryt? Kindly help me to clarify these doubts. 

Regards,

Shikamaru

    This topic has been closed for replies.

    1 reply

    Technical Moderator
    May 13, 2025

    Hello @Shikamaru 

    You should handle the USB operations in FreeRTOS task or thread not in infinite loop.