English
Language : 

FMS7401 Datasheet, PDF (40/80 Pages) Fairchild Semiconductor – Digital Power Controller
FMS7401/7401L
PRODUCT SPECIFICATION
6.3 Input Capture Mode
When the PWM Timer 1 circuit is configured in Input Capture Mode, the T1HS2 signal is used as an input of the Timer 1
circuit instead of an output as in PWM Mode. The G5/T1HS2 device pin should be configured by software as an input port.
The Timer 1 circuit may be programmed to capture the TMR1 counter value in the T1RA register with every rising or falling
edge transition of the T1HS2 input. With each TMR1 capture, the T1PND bit of the T1CNTRL register is set. For synchroniza-
tion purposes, the T1HS2 input is synchronized with the FT1CLK clock before being allowed to trigger a TMR1 capture. A max-
imum of three FT1CLK cycle TMR1 capture delay will occur with each edge transition on the G5/T1HS2 device pin.
Once the Timer 1 circuit is configured for Input Capture Mode, the TMR1 counter starts incrementing continuously from
0x000 through 0xFFF until the Timer 1 is returned to a disabled PWM operating mode. Once the TMR1 counter overflows
(transitions from 0xFFF to 0x000) the T1C0 pending bit on through T1CNTRL register is set.
In Input Capture Mode, it is still possible to generate output signals with variable duty-cycle thanks to the T1CMPA and
T1CMPB compare registers. If enabled, the T1HS1 and ADSTROBE output signals may be generated as in PWM Mode. Refer
to the previous Pulse Width Modulation (PWM) Mode section of the datasheet for details.
Figure 13. Timer 1’s Input Capture Mode Block Diagram
G5/T1HS2
FT1CLK
T1C2
Edge
Control
CLOCK
Fin
Fout
DIVIDER
PS2 PS1 PS0
PSCALE
T1CMPB
[11:0]
T1CMPA
[11:0]
TMR1=T1CMPA
12
[11:0]
TMR1
12
[11:0]
T1RA
T1C0
T1PND
ENDAS
TMR1=T1CMPB
T1BOUT
1
0
PORTGD
ADSTROBE
G1/AIN3
G0/T1HS1
1. Refer to Table 30 of the Device Memory section of the datasheet for the detailed memory map.
2. Refer to the Electrical Characteristics section of the datasheet.
3. The PLL’s (F(FS=0)) output is not affected by the FS[1:0] bit value of the PSCALE register and merely shares the FS[1:0]=00 divide factor.
4. Refer to the ADC Circuit section of the datasheet for additional details.
5. The three PS bits have no affect on the dead time, only the TMR1 counter.
6. Hardware interrupts are not executed by the microcontroller core unless the Global Interrupt enable (G) flag of the Status register is set. Refer to the 8-Bit Micro-
controller Core section of the datasheet for details.
7. The Timer 1 hardware interrupt will be executed in the defined priority order. Refer to the 8-Bit Microcontroller Core section of the datasheet for details.
8. The full bridge requires two additional output ports to complete the bridge configuration.
9. Refer to the I/O Ports section of the datasheet for additional details.
10.Refer to the Device Memory section of the datasheet for details regarding the initialization registers.
40
REV. 1.0.2 6/23/04