![]() |
Electronic Components Datasheet Search |
|
AS3606 Datasheet(PDF) 31 Page - ams AG |
|
AS3606 Datasheet(HTML) 31 Page - ams AG |
31 / 71 page ![]() www.austriamicrosystems.com Revision 1.03 30 - 70 AS3606 AS3607 2v2 Data Sheet - D e t a i l e d D e s c r i p t i o n - S Y S T E M F u n c t i o n s 9.6 GPIO Pins AS3607 features 4 GPIO pins, AS3606 has 2 GPIO pins. If not re-configured in the start-up sequence GPIO1, GPIO3 and GPIO4 are input per default.GPIO2 is set to output and the pin is driven to low right at the beginning of the startup sequence. GPIO3/4 have one state defined as input and three states as output. The following table shows the different input/output options. When configured as input the following functionality is available: ADC input, to measure external voltage sources Wake-up input to return from hibernation Hibernation enable input (GPIO1/2/3 only) PWM dimming input (GPIO1/2/3 only) GPIO pins have a 200kOhm pull-down resistor activated when they are used as an input. (HiZ-mode). Please note that all GPIO pins are open-drain outputs. They can only output a logic “high” if a pull-up and the corresponding pull-up voltage is present. Table 14. GPIO Configuration GPIO1 GPIO2 GPIO4/3 00 xCharging (1Hz pulses) LOW HiZ / HiZ (input) 01 xVSUP_low xVSUP_low xVSUP_low / xCharging (1Hz pulses) 10 xPWRUP HIGH xPWRUP / PWRGOOD 11 PWRGOOD xCharging (1Hz pulses) xEOC / xCharger_active Table 15. GPIO Output Functions Function Description xCharging (1Hz pulses) The output will be high when the charger is no active. The output toggles between high and low as long as the charging is on going. If EOC, a timeout or overtempertur event stops the charger the output stops toggling. xCharger_active The output will be high when the charger is no active or in EOC; it will be low if the charger is active. xEOC The output will be high when the charger active; it will be low if the charger is has reached EOC. The output will return back to high if the charger enters resume state. xPWRUP The output will get low if the PWRUP pin is high. PWRGOOD The output will be high about 3ms after the start-up seuence is finished. It will be low during the sequence. Please be sure to configure the GPIO before the pull-up voltage, otherwise the output will be high as long as the GPIOs are default inputs. xVSUP_low The output will get low if the VSUP undervoltage level is reached. HIGH The output will be high. LOW The output will be low. |
|