on-internet
← Community

FreeRTOS producer-consumer queue locks up / consumer task fails to execute on ATSAMC21 (Harmony v3)

Stack Overflow ·

Question Body: Body: I am developing a multi-task FreeRTOS application on an ATSAMC21 (ARM Cortex-M0+) microcontroller using MPLAB X IDE and MCC Harmony v3. I have set up a Producer-Consumer pattern with two producers (Task1 and Task3) and one consumer (Task2) communicating via a shared FreeRTOS queue (xSensorQueue) configured with a length of 1. The Symptom: In my main() function, initialization completes successfully, and I see "no issue with creating the task" printed over UART (SERCOM4). However, once the scheduler starts, the application freezes, and Task2 (the consumer) never seems to ex

Comments

Sign in or sign up to comment and upvote.

No comments yet.