2025-08-27 8:22 AM
Hi ST team,
I'm working with the SPC58NH microcontroller in bare-metal mode and noticed that SPC5Studio only allows interrupt routing to Core0 and Core2 — Core1 is not listed as a target in the interrupt configuration interface.
To test serial communication, I implemented asynchronous mode using DMA with LINFlex on all three cores. It worked perfectly on Core0 and Core2. However, when I try to run the same setup on Core1, the system hangs as soon as data arrives via serial. The LED loop running on Core1 stops, which suggests that an interrupt is being triggered but not properly handled.
To work around the lack of Core1 selection in SPC5Studio, I manually modified the lldconf.h file with the following define:
#define SPC5_SERIAL_LINFLEX5_DMA_IRQ_PRIO INTC_PSR_ENABLE(INTC_PSR_CORE1, 62)
Core1 is active and executing code correctly (e.g., blinking LEDs), but serial reception causes it to freeze. Is there a known limitation in SPC5Studio regarding interrupt routing to Core1? Or is there a recommended way to manually configure this?
Thanks in advance for your support!