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,

    It finally worked with the IRQ_CONNECT macro — thank you!

    I have a question about SPI with Zephyr. There’s a parameter to set the duration  between the edge of the slave select (SS) and the clock edge.

    I set it to NULL, but there’s still a delay. Could you show me the correct way to properly set it to NULL?

    #define SS_DURATION 0
    const spi_operation_t operation=SPI_WORD_SET(8)|SPI_OP_MODE_MASTER|SPI_LOCK_ON|SPI_CS_ACTIVE_HIGH;
    const struct spi_dt_spec spi_dev=SPI_DT_SPEC_GET(DT_NODELABEL(mcp2518fdspi),operation,SS_DURATION);

Children
Related