PIC24FJ96GA010T-I/PT Microchip Technology, PIC24FJ96GA010T-I/PT Datasheet - Page 100

Microcontroller

PIC24FJ96GA010T-I/PT

Manufacturer Part Number
PIC24FJ96GA010T-I/PT
Description
Microcontroller
Manufacturer
Microchip Technology
Series
PIC® 24Fr

Specifications of PIC24FJ96GA010T-I/PT

Core Processor
PIC
Core Size
16-Bit
Speed
16MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
84
Program Memory Size
96KB (32K x 24)
Program Memory Type
FLASH
Ram Size
8K x 8
Voltage - Supply (vcc/vdd)
2 V ~ 3.6 V
Data Converters
A/D 16x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
100-TFQFP
Core
PIC
Processor Series
PIC24FJ
Data Bus Width
16 bit
Maximum Clock Frequency
32 MHz
Data Ram Size
8 KB
On-chip Adc
Yes
Number Of Programmable I/os
84
Number Of Timers
5
Mounting Style
SMD/SMT
A/d Bit Size
10 bit
A/d Channels Available
16
Height
1 mm
Interface Type
I2C, SPI, UART
Length
12 mm
Maximum Operating Temperature
+ 85 C
Minimum Operating Temperature
- 40 C
Supply Voltage (max)
3.6 V
Supply Voltage (min)
2 V
Width
12 mm
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
DM240011 - KIT STARTER MPLAB FOR PIC24F MCUAC164333 - MODULE SKT FOR PM3 100QFPDV164033 - KIT START EXPLORER 16 MPLAB ICD2MA160011 - DAUGHTER BOARD PICDEM LCD 16F91XDM240001 - BOARD DEMO PIC24/DSPIC33/PIC32
Eeprom Size
-
Lead Free Status / Rohs Status
 Details

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC24FJ96GA010T-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
PIC24FJ128GA010 FAMILY
A recommended code sequence for a clock switch
includes the following:
1.
2.
3.
4.
5.
6.
7.
8.
The core sequence for unlocking the OSCCON register
and initiating a clock switch is shown in Example 7-1.
DS39747E-page 100
Disable interrupts during the OSCCON register
unlock and write sequence.
Execute the unlock sequence for the OSCCON
high byte, by writing 78h and 9Ah to
OSCCON<15:8>
instructions.
Write new oscillator source to the NOSC control
bits in the instruction immediately following the
unlock sequence.
Execute the unlock sequence for the OSCCON
low
OSCCON<7:0> in two back-to-back instructions.
Set the OSWEN bit in the instruction immediately
following the unlock sequence.
Continue to execute code that is not clock
sensitive (optional).
Invoke an appropriate amount of software delay
(cycle counting) to allow the selected oscillator
and/or PLL to start and stabilize.
Check to see if OSWEN is ‘0’. If it is, the switch
was successful. If OSWEN is still set, then
check the LOCK bit to determine cause of
failure.
byte
by
writing
in
46h
two
and
back-to-back
57h
to
EXAMPLE 7-1:
;Place the new oscillator selection in W0
;OSCCONH (high byte) Unlock Sequence
MOV
MOV
MOV
MOV.b
MOV.b
;Set new oscillator selection
MOV.b
;OSCCONL (low byte) unlock sequence
MOV
MOV
MOV
MOV.b
MOV.b
;Start oscillator switch operation
BSET OSCCON, #0
#OSCCONH, w1
#0x78, w2
#0x9A, w3
w2, [w1]
w3, [w1]
WREG, OSCCONH
#OSCCONL, w1
#0x46, w2
#0x57, w3
w2, [w1]
w3, [w1]
BASIC CODE SEQUENCE
FOR CLOCK SWITCHING
© 2009 Microchip Technology Inc.

Related parts for PIC24FJ96GA010T-I/PT