10 Replies Latest reply on Nov 17, 2020 11:58 PM by ZhengbaoZ_96

    How to change the Out of Band interrupt GPIO for CY43455 in wiced SDK

    YaBh_4672321

      Hi,

       

      In out Hardware design we are using GPIO 5 of CY43455 as OOB interrupt. But we are not sure who to configure the same in software.

      We have updated wwd_bus_sdio_set_oob_interrupt() function as follows:

       

      {

          VERIFY_RESULT( wwd_bus_write_register_value( BACKPLANE_FUNCTION, SDIO_GPIO_SELECT, (uint8_t)1, (uint32_t) 0xF ) );

          VERIFY_RESULT( wwd_bus_write_register_value( BACKPLANE_FUNCTION, SDIO_GPIO_OUTPUT, (uint8_t)1, (uint32_t) 0x05 ) );

       

          /* Enable GPIOx (bit x) */

          VERIFY_RESULT( wwd_bus_write_register_value( BACKPLANE_FUNCTION, SDIO_GPIO_ENABLE, (uint8_t)1, (uint32_t)0x10 ) );

       

          /* Set GPIOx (bit x) on Chipcommon GPIO Control register */

          VERIFY_RESULT( wwd_bus_write_register_value( BACKPLANE_FUNCTION, CHIPCOMMON_GPIO_CONTROL, (uint8_t)4, (uint32_t)0x10 ) );

      }

      But this does not seem to work.

       

      What is the correct register configuration to enable GPIO 5 as OOB. Also apart from this is there any thing else required?

       

      Regards,

      Yash