CLK
PWM1
PWM2
PWM1ON = 0x05
PWM1OFF = 0x7C
PWM2OFF = 0x7F
0
1
2
3
4
5
I28 CLK
0
1
2
3
PWM2ON = 0x02
SWCS045-028
124
125
126
127
OFF
ON
OFF
ON
SWCS045B
– SEPTEMBER 2010 – REVISED JUNE 2011
NOTE
The PWMx output signal is constantly ON by setting PWMxON[6:0] equal to
PWMxOFF[6:0].
The following conditions are prohibited:
– PWMx_ON[6:0] > PWMx_OFF[6:0]
– 00H ON timing setting
Figure 23. PWM Timings With 128 Clock Cycles Setting
When a new ON/OFF change is applied during blinking:
If the PWM period is programmed on 64 clock cycles and changed to get 128 clock cycles, the ongoing
counter goes up to 128, and the next PWM periods is 128 clock cycles.
If the PWM period is programmed on 128 clock cycles, changed to get 64 clock cycles, and the counter is
below 64, the PWM period stops at 64 clock cycles. The next periods are 64 clock cycles.
If the PWM period is programmed on 128 clock cycles, changed to get 64 clock cycles, and the counter is
above 64, the PWM period is aborted. The next periods are 64 clock cycles.
DETECTION FEATURES
The TWL6030 device supports the following detection functions:
Detection of SIM card insertion/extraction with debouncing capability, automatic power shutdown on
extraction detection (configurable)
Detection of MMC card insertion/extraction with debouncing capability, automatic power shutdown on
extraction detection (configurable)
Detection of battery presence/removal
Cards Detection: SIM/MMC
The TWL6030 device provides the regulated supply voltage (VUSIM) for the SIM card and VMMC for the MMC
card and the circuitry to detect the insertion or extraction of the SIM card or MMC card. An interrupt is generated
when there is a plug/unplug detection. When the SIM card or MMC card is inserted, a mechanical contact
connected to the TWL6030 device terminal SIM or MMC is tripped and after debouncing an interrupt is
generated. The SIM card and MMC card presence detection logic must be active even when the system is in idle
mode, and then the debouncing logic (programmable) is based on the 32-kHz low-activity clock. The signal from
SIM or MMC is preprocessed depending on the detection system and on the internal pullup/pulldown
Copyright
2010–2011, Texas Instruments Incorporated
81