Please clarify the below
Part No. CYW20706 or CWY20719?
WICED SDK Version:
Part No. : CYW20706(7)
WICED-SDK Version: Wiced_006.002.001.0002
I applied my code based on OnOffServer.
1 of 1 people found this helpful
By default P30 is configured for pull up (check file /20706-A2_Bluetooth/platforms/CYW920706WCDEVAL/wiced_hal_platform.h) as it is connected to a button which is active low. You can configure this pin for pull down with the wiced_hal_gpio_configure_pin API
It was solved after put GPIO_PULL_DOWN as below.
wiced_hal_gpio_configure_pin( WICED_P30, GPIO_EN_INT_RISING_EDGE | GPIO_PULL_DOWN, GPIO_PIN_OUTPUT_LOW );
However, in the following cases, the same phenomenon occurs.
(The circuit has an external pull-down resistor of 560K.)
wiced_hal_gpio_configure_pin( WICED_P30, GPIO_EN_INT_RISING_EDGE | GPIO_PULL_UP_DOWN_NONE, GPIO_PIN_OUTPUT_LOW );
I want to know why there are different results.