I’m new to FreeRTOS and I’ve been working on this for 2 days, that’s the reason i’m asking for your help.
I have three tasks running. One is used to communicate with a bluetooth device, and the 2 others are used for TX and RX over USB (UART). My app works fine when I send or receive data to my bluetooth device but when I command my bluetooth device to enter discover mode, there is so much data incoming that I can’t process everything. My queue used for bluetooth data management gets full and my app won’t respond to any command I send.
Priorities used in my app :
- Task creation :
- USBMANAGERSENDER (7U)
- USBMANAGERRECEIVER (8U)
- USBDRIVERPRIORITY (9U)
- BLETASKPRIORITY (6U)
- Interrupt priorities :
- BLEUARTINTERRUPT_PRIORITY (7U)
- FTDIUARTINTERRUPT_PRIORITY (5U)
INTERRUPT_PRIORITY set to 4)
I can send a code sample if it helps understanding my problem.
If you have any tips that would be nice, thanks 🙂
I’m using a STM32F4, FreeRTOS V9.0.0, and IAR