1 Reply Latest reply on Oct 26, 2018 12:48 AM by olexandr.karbivskyi_3358896

    SDIO Slave Interrupt on CYW954907

    olexandr.karbivskyi_3358896

      Hi. I have worked project with data transmission from STM32 (sdio master mode) to CYW954907 (sdio slave mode). I handle events by polling SDIOD status register, but I want do this with interrupt handler. So I have several quastions:

       

      1. What is handler name for SDIO slave? I assume this is  GSPI_SLAVE_ISR. So I use platform_gspi_slave.c example for enabling interrupt, but this is don't work.

      Interrupt enabling.

      platform_result_t platform_sdiod_enable_interrupt(void)

      {

          platform_irq_remap_sink( OOB_AOUT_GSPI_SLAVE_INTR, SDIO_REMAPPED_ExtIRQn);

          platform_irq_enable_irq(SDIO_REMAPPED_ExtIRQn);

          return PLATFORM_SUCCESS;

      }

       

      This my handlers.

      WWD_RTOS_DEFINE_ISR( platform_gspi_isr )

      {

          printf("SDIO Slave ISR\n");

      }

       

       

      WWD_RTOS_MAP_ISR( platform_gspi_isr, GSPI_SLAVE_ISR )

       

      Can somebody help?