dspic33fj128mc204 Microchip Technology Inc., dspic33fj128mc204 Datasheet - Page 192

no-image

dspic33fj128mc204

Manufacturer Part Number
dspic33fj128mc204
Description
High-performance, 16-bit Digital Signal Controllers
Manufacturer
Microchip Technology Inc.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
dspic33fj128mc204-E/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Company:
Part Number:
dspic33fj128mc204-E/PT
Quantity:
20
Part Number:
dspic33fj128mc204-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
dspic33fj128mc204T-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
12.0
The Timer1 module is a 16-bit timer, which can serve
as the time counter for the real-time clock, or operate
as a free-running interval timer/counter.
The Timer1 module has the following unique features
over other timers:
• Can be operated from the low power 32 kHz
• Can be operated in Asynchronous Counter mode
• The external clock input (T1CK) can optionally be
The unique features of Timer1 allow it to be used for
Real Time Clock (RTC) applications. A block diagram
of Timer1 is shown in Figure 12-1.
FIGURE 12-1:
DS70291C-page 190
Note:
crystal oscillator available on the device
from an external clock source.
synchronized to the internal device clock and the
clock synchronization is performed after the
prescaler.
SOSCO/
SOSCI
T1CK
Note 1: Refer to Section 9.0 “Oscillator Configuration” for information on enabling the secondary oscillator.
TIMER1
This data sheet summarizes the features
of
dsPIC33FJ64MCX02/X04,
dsPIC33FJ128MCX02/X04
devices. It is not intended to be a
comprehensive reference source. To com-
plement the information in this data sheet,
refer to the “dsPIC33F Family Reference
Manual”,
(DS70205), which is available from the
Microchip website (www.microchip.com).
the
LPOSCEN
16-BIT TIMER1 MODULE BLOCK DIAGRAM
Section
dsPIC33FJ32MC302/304,
(1)
TCKPS<1:0>
F
Prescaler
CY
(/n)
11.
TCKPS<1:0>
Prescaler
Gate
Sync
families
(/n)
“Timers”
and
Sync
Preliminary
of
TSYNC
Falling Edge
Detect
1
0
TGATE
The Timer1 module can operate in one of the following
modes:
• Timer mode
• Gated Timer mode
• Synchronous Counter mode
• Asynchronous Counter mode
In Timer and Gated Timer modes, the input clock is
derived from the internal instruction cycle clock (F
In Synchronous and Asynchronous Counter modes,
the input clock is derived from the external clock input
at the T1CK pin.
The Timer modes are determined by the following bits:
• Timer Clock Source Control bit (TCS): T1CON<1>
• Timer Synchronization Control bit (TSYNC):
• Timer Gate Control bit (TGATE): T1CON<6>
Timer control bit setting for different operating modes
are given in the Table 12-1.
TABLE 12-1:
Timer
Gated timer
Synchronous
counter
Asynchronous
counter
TCS
T1CON<2>
Mode
10
00
x1
Comparator
TIMER MODE SETTINGS
TMR1
PR1
TCS
0
0
1
1
© 2009 Microchip Technology Inc.
Reset
Equal
TGATE
TGATE
0
1
x
x
1
0
Set T1IF flag
TSYNC
x
x
1
0
CY
).

Related parts for dspic33fj128mc204