1 of 1 people found this helpful
1. Based on the button circuitry. we need to configure the GPIO. For example, If the button connects the CYBT-423028-02 pin to VDD when pressed, then the pin must be configured as a digital input with resistive pull-down for detecting the button press.
It is not recommend to disable the internal pull-up/down, because the this can lead to erroneous interrupt triggers.
Please check, wiced_platform_pin_config.c of CYBT_423028_EVAL platform file. Button config is as below.
.config = ( GPIO_INPUT_ENABLE | GPIO_PULL_DOWN ),
2. Please check the datasheet for current numbers. https://www.cypress.com/file/414181/download (6.5 GPIO Ports)
All GPIO ports have programmable pull-up/down resister of approx 45K Ohms. And GPIO ports can source/sink 8 mA at 3.3 V and 4 mA at 1.8 V max. So, internal resister can consume approximately 73 uA at 3.3 V and 40 uA at 1.8 V.
Note: P26/P28/P29 can sink/source 16 mA at 3.3V and 8 mA at 1.8V
3,4. We don't have exact measurements numbers.
In sleep mode GPIOs will be disabled and the chip will be in "Wait for Interrupt" (WFI) state. So current measurement values are not available.
Please check below link to get more insight to the available clocks, timers and RTC. Firmware assumes the external LPO has lower (less than 250 PPM) error.