AnsweredAssumed Answered

USB VCP on STM32F3 discovery with FreeRTOS

Question asked by ohira.ayaka on Feb 27, 2015
Latest reply on Mar 16, 2015 by virgil.dante
Hi there,

I have the STM32F3 discovery board and running a FreeRTOS.
I also have the USB virtual Com port (VCP) code from here: 

I have tested the USB VCP library code by itself and it's working.
FreeRTOS is running fine as well (I can run a timer task and a task).
My problem is when I put them together, the USB is never recognised on the PC side. I think the problem is around the interrupt because I don't seem to get any interrupts when I run with FreeRTOS. I confirmed this by adding a counter in the ISR and debugged it.

I've made sure that NVIC_PriorityGroupConfig( NVIC_PriorityGroup_4 ); is called.

I'm running ideas of what could be the cause.

Has anyone come across this issue? This is my first time using FreeRTOS so maybe I am missing something obvious? Would be appreciated if you could give me a suggestions!