SPIM4 IRQ Handler in SDK v2.7.0

Hello Nordic Team,

I am currently implementing low-level SPI communication using SDK v2.7.0 and nRF 5340dk . Could you please let me know the name of the IRQ handler for SPIM4?

In version 52 Board , I used the SPIM1_SPIS1_TWIM1_TWIS1_SPI1_TWI1_IRQHandler to handle SPI1 interrupts, but I couldn’t find the corresponding handler for SPIM4 in this version.

Looking forward to your guidance.

Best regards,
kelk.

Parents Reply
  • Hello Vidar,

    Thank you for your prompt response.

    Firstly, the "nrf5340_application.h" file I have differs from the one in the link you provided. For instance, it does not include the SPIM2_SPIS2_TWIM2_TWIS2_UARTE2_IRQn and SPIM1_SPIS1_TWIM1_TWIS1_UARTE1_IRQn . it just encludes the SPIM4_IRQn.

    Secondly, I attempted to use SPIM4_IRQHandler, but encountered the following error:

    [00:00:07.623,840] <err> os: Unhandled IRQn: 10
    [00:00:07.623,870] <err> os: >>> ZEPHYR FATAL ERROR 1: Unhandled interrupt on CPU 0
    [00:00:07.623,901] <err> os: Current thread: 0x20000708 (unknown)
    [00:00:07.652,618] <err> os: Halting system

Children
Related