F29H850TU: Creating periodic Tasks

Part Number: F29H850TU


Iam currently working on creating a periodic task using DPL over freeRTOS.

  1. I can run a task without any delay like blink a LED without any issues.
  2. When i add the vTaskDelayUntil API the task hit vApplicationStackOverFlowHook due to task stack overflow.
  3. When i increased the stack size from the MCU stuck in persistent fault state.image.png
  4. While debugging the issue, the code reach this point and when i tried to step into it it happend that free running stuck Screenshot 2025-12-15 144325.png
  5. I tried the same code on core 3 and it works fine!

What could be the problem is?

  • Hi Mahmoud,

    I can investigate this further and get back to you by early next week. In the meantime, can you share your task setup, and any interrupts you may be using?

    The issue with the "persistent fault state" is mostly due to the CPU being in the ISR when trying to reload the program. You can try resetting the board before flashing again.

    Regards,

    Arnav

  • Hi Menon,

    Task setup

    Interrupt used: (IPC- RTDMA - ADC - Watchdog).

    I was debugging again with disabling the stack overflow checking and the code reached this point and stuck there.


    what do you think about that?