PIC24FJ32GA002-I/SP Microchip Technology Inc., PIC24FJ32GA002-I/SP Datasheet - Page 119

no-image

PIC24FJ32GA002-I/SP

Manufacturer Part Number
PIC24FJ32GA002-I/SP
Description
MCU, 16-Bit, 28-Pin, 32KB Flash, 8KB RAM, 21 I/O, Nanowatt
Manufacturer
Microchip Technology Inc.
Datasheet

Specifications of PIC24FJ32GA002-I/SP

A/d Inputs
10 Channel, 10-Bit
Comparators
2
Cpu Speed
16 MIPS
Eeprom Memory
0 Bytes
Input Output
21
Interface
I2C/SPI/UART
Memory Capacity
32 Kbytes
Memory Type
Flash
Number Of Bits
16
Number Of Inputs
21
Number Of Pins
28
Package Type
28-pin SPDIP
Programmable Memory
32K Bytes
Ram Size
8K Bytes
Speed
32 MHz
Timers
5-16-bit
Voltage, Range
2-3.6 V
Voltage, Rating
2-3.6 V
Lead Free Status / Rohs Status
RoHS Compliant part Electrostatic Device

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC24FJ32GA002-I/SP
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
10.0
The Timer1 module is a 16-bit timer which can serve as
the time counter for the Real-Time Clock (RTC), or
operate as a free-running interval timer/counter. Timer1
can operate in three modes:
• 16-Bit Timer
• 16-Bit Synchronous Counter
• 16-Bit Asynchronous Counter
Timer1 also supports these features:
• Timer Gate Operation
• Selectable Prescaler Settings
• Timer Operation during CPU Idle and Sleep
• Interrupt on 16-Bit Period Register Match or
FIGURE 10-1:
© 2007 Microchip Technology Inc.
Note:
modes
Falling Edge of External Gate Signal
TIMER1
SOSCO/
This data sheet summarizes the features
of this group of PIC24F devices. It is not
intended to be a comprehensive reference
source. For more information, refer to the
associated “PIC24F Family Reference
Manual” chapter.
SOSCI
T1CK
Set T1IF
16-BIT TIMER1 MODULE BLOCK DIAGRAM
TGATE
1
0
Reset
Equal
SOSCEN
Comparator
TMR1
PR1
PIC24FJ64GA004 FAMILY
Preliminary
Q
Q
Gate
Sync
CK
T
CY
D
Figure 10-1 presents a block diagram of the 16-bit
timer module.
To configure Timer1 for operation:
1.
2.
3.
4.
5.
6.
Set the TON bit (= 1).
Select the timer prescaler ratio using the
TCKPS1:TCKPS0 bits.
Set the Clock and Gating modes using the TCS
and TGATE bits.
Set or clear the TSYNC bit to configure
synchronous or asynchronous operation.
Load the timer period value into the PR1
register.
If interrupts are required, set the interrupt enable
bit, T1IE. Use the priority bits, T1IP2:T1IP0, to
set the interrupt priority.
TSYNC
1x
01
00
0
1
TON
TGATE
TCS
Sync
TCKPS1:TCKPS0
1, 8, 64, 256
Prescaler
2
DS39881B-page 117

Related parts for PIC24FJ32GA002-I/SP