This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

spi handler never called

Hello. Since i migrated from 1 to 2 SPI bus, IRQ Handler at completion is not called. Can I use 2 easy DMA SPI ?

1 bus was working fine.

here is my config

/* SPI */
#define SPI0_ENABLED 1

#if (SPI0_ENABLED == 1)
#define SPI0_USE_EASY_DMA 1

#define SPI0_CONFIG_SCK_PIN         MPU9250_SCL_PIN_NUMBER
#define SPI0_CONFIG_MOSI_PIN        MPU9250_MOSI_PIN_NUMBER
#define SPI0_CONFIG_MISO_PIN        MPU9250_MISO_PIN_NUMBER
#define SPI0_CONFIG_IRQ_PRIORITY    APP_IRQ_PRIORITY_HIGH

#define SPI0_INSTANCE_INDEX 0
#endif

#define SPI1_ENABLED 1

#if (SPI1_ENABLED == 1)
#define SPI1_USE_EASY_DMA 1

#define SPI1_CONFIG_SCK_PIN         SCREEN_SCL_PIN_NUMBER
#define SPI1_CONFIG_MOSI_PIN        SCREEN_SI_PIN_NUMBER
#define SPI1_CONFIG_MISO_PIN        NRF_DRV_SPI_PIN_NOT_USED
#define SPI1_CONFIG_IRQ_PRIORITY    APP_IRQ_PRIORITY_LOW

#define SPI1_INSTANCE_INDEX (SPI0_ENABLED)
#endif
Related