anonymous wrote on Friday, June 22, 2012:
I’ve got FreeRTOS 7.10 running on a Blackfin BF52x series. Tasks, semaphores etc are working fine.
I now want to integrate the AD supplied USB device stack. The USB driver is itself interrupt driven with an ISR callback invoked when connections etc occur. In this case there are only 3 interrupts at work, the timer, context switcher, and the USB. I’m assuming that xSemaphoreGiveFromISR() will be used to signal to the thread that some USB event has happened.
Are there any priority issues to worry about here? And has anyone else got an example that integrates a USB ISR with FreeRTOS threads? Does *not* have to be Blackfin, just something to get the right pattern.
I will post the BF project if anyone wants it - it’s based on the sample posted for the BF533 but should work for all single core BF processors.