Part Number: AM263P4
Hello,
I am facing similar issue reported in AM263P4: FIQ interrupt has been interrupting code in main loop and not saving the context of the s0-s31 registers
In my case, I am not manually saving the FPU context but I have rebuilt the SDK with the HWIP_FPU_CONTEXT_SAVE_RESTORE_ENABLE flag in order to save/restore the FPU context in the HwiP_fiq_handler but it still doesn't work and the FPU registers are randomly corrupted by the FIQ. When I configure the interrupt as an IRQ then it works fine.
Consider this code, executed in a FreeRTOS task (I also have called the vPortTaskUsesFPU in the task even thoug this shouldn't be relevant for an FIQ):





Could you please provide any advice on how to fix this issue, many thanks in advance
Note: I am using mcu_plus_sdk_am263px_26_00_00_06 SDK and ti_cgt_arm_llvm_4.0.4.LTS compiler
