Perhaps the gpio pin needs to be initialized. The wiced_gpio_init(...) could be called from init_platform(...) to initialize the gpio as input with proper pull up or pull down resistor setup.
There are few sample applications related to gpio input callback registration and handling callbacks. One of them is .../Apps/demo/temp_control/temp_control.c, setpoint_control_key_list. Another one is "push2scan" a new and simple snip that starts and stops WiFi scanning.
it's not needed if you look inside the gpio_keypad_enable function at line 115 you will find
wiced_gpio_init( key_list[i].gpio, ( ( key_list[i].polarity == KEY_POLARITY_HIGH ) ? INPUT_PULL_UP : INPUT_PULL_DOWN ) );
this enables the input according to the required polarity.
Furthermore we have that the WICED_GPIO_MYGPIO1 works properly and it's treated exactly in the same way as WICED_GPIO_MYGPIO0
Which module and EVB are you using?
Module is BCM943362WCD4.
Evb is WICED Promotion EVB.
It looks like it's something connected with PB0 SDIO activity, since the irq handler is joined for all the Zeros Pins of all the ports....if someone could confirm would be great.
I found the issue
we defined the DISABLE_MCU_POWER_SAVING so no oob_interruput is generated by pin PB0.
There should be an upgrade of irq in order to be able concurrent interrupts on same pin number of different ports.
Thanks for your support.
Are you are trying to use the MICRO_ADC_IN1/2 (PA1/PA2)? The MICRO_ADC_IN1/2 are connected to SW2/SW1 respectively.
The GPIO_0 (PB0) is used as output for selecting SDIO/SPI interface on the BCM43362 (radio inside of WM-N-BM-02 SiP). GPIO_0 and GPIO_1 are not routed out of the BCM943362 module. There are some state changes on the GPIO_1 because it is used as an host wakeup from the radio. Perhaps that explains why you are getting some callback for GPIO_1 registration but not on GPIO_0.
The BCM943362WCD4 module uses STM32F205 as host MCU to interface with BCM43362. There are no PF0 on STM32F205.
You may find module schematics in .../WICED-SDK-2.4.1/Doc/Schematics/BCM943362WCD4 directory. Also the base board schematic are in .../WICED-SDK-2.4.1/Doc/Schematics/BCM9WCD1EVAL1 directory of the SDK.