HI HaOv_4353196 ,
Have you registered for interrupts wiced_hal_gpio_register_pin_for_interrupt ?
Are you seeing the inconsistent behavior in all the input pins mentioned above or any particular pins?
Can you please share the project to check at our side? How often are you reading the pins , can you please confirm when exactly / how often you are not able to read the correct values?
Yes I have registered for interrupts using wiced_hal_gpio_register_pin_for_interrupt.
The inconsistent behavior occurs for all the input pins mentioned above. The EN bit (P26) is being set high for one second, then is set low for a second. Upon the rising edge of this EN bit, I would like to read in the data on input pins and use that data to turn ON/OFF some LEDs that are hooked up to the output pins. The output pins will change their state to the correct value, however this occurs very inconsistently, sometimes the EN bit would go through 5 or more periods before the LEDs were observed to change. I've attached my modified project below.
GPIO_Tester_v1.zip 23.1 K