I'm using FreeRTOS SMP to work on both core0 and core1. I have 6 tasks (3 in core0 and 3 in core1). In one of my tasks in core1, I use SPI0 in master mode and I enable the hardware interrupt in SPI0 RX FIFO using these lines:
However, when I receive data in SPI0 RX FIFO, the ISR is not called and my entire system stops (system crash).
I've read in a post that when the scheduler starts, this will disable all hardware interrupts and there is a way to handle the interrupt with FreeRTOS, but I still haven't found the answer.
Hi everyone,
I'm using FreeRTOS SMP to work on both core0 and core1. I have 6 tasks (3 in core0 and 3 in core1). In one of my tasks in core1, I use SPI0 in master mode and I enable the hardware interrupt in SPI0 RX FIFO using these lines:
However, when I receive data in SPI0 RX FIFO, the ISR is not called and my entire system stops (system crash).
I've read in a post that when the scheduler starts, this will disable all hardware interrupts and there is a way to handle the interrupt with FreeRTOS, but I still haven't found the answer.
Could anyone please help me with this problem?
Thank you.