PIC24FJ48GA002-I/SP Microchip Technology, PIC24FJ48GA002-I/SP Datasheet - Page 47

IC PIC MCU FLASH 48K 28-DIP

PIC24FJ48GA002-I/SP

Manufacturer Part Number
PIC24FJ48GA002-I/SP
Description
IC PIC MCU FLASH 48K 28-DIP
Manufacturer
Microchip Technology
Series
PIC® 24Fr

Specifications of PIC24FJ48GA002-I/SP

Core Size
16-Bit
Program Memory Size
48KB (16K x 24)
Core Processor
PIC
Speed
32MHz
Connectivity
I²C, PMP, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, LVD, POR, PWM, WDT
Number Of I /o
21
Program Memory Type
FLASH
Ram Size
8K x 8
Voltage - Supply (vcc/vdd)
2 V ~ 3.6 V
Data Converters
A/D 10x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
28-DIP (0.300", 7.62mm)
Controller Family/series
PIC24
No. Of I/o's
21
Ram Memory Size
8KB
Cpu Speed
32MHz
No. Of Timers
5
No. Of Pwm Channels
5
Embedded Interface Type
I2C, SPI, UART
Rohs Compliant
Yes
Processor Series
PIC24FJ
Core
PIC
Data Bus Width
16 bit
Data Ram Size
8192 B
Interface Type
I2C, IrDA, SPI, UART
Maximum Clock Frequency
32 MHz
Number Of Programmable I/os
21
Number Of Timers
5
Maximum Operating Temperature
+ 135 C
Mounting Style
Through Hole
3rd Party Development Tools
52713-733, 52714-737, 53276-922, EWDSPIC
Development Tools By Supplier
PG164130, DV164035, DV244005, DV164005, PG164120, DM240011, DV164033, MA240013, DM300027, AC164127, DM240002
Minimum Operating Temperature
- 40 C
On-chip Adc
10 bit, 10 Channel
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
DM240011 - KIT STARTER MPLAB FOR PIC24F MCUAC162088 - HEADER MPLAB ICD2 24FJ64GA004 28AC164337 - MODULE SOCKET FOR PM3 40DIPDV164033 - KIT START EXPLORER 16 MPLAB ICD2
Eeprom Size
-
Lead Free Status / Rohs Status
 Details
EXAMPLE 4-2:
EXAMPLE 4-3:
© 2007 Microchip Technology Inc.
; Set up NVMCON for row programming operations
; Set up a pointer to the first program memory location to be written
; program memory selected, and writes enabled
; Perform the TBLWT instructions to write the latches
; 0th_program_word
; 1st_program_word
;
; 63rd_program_word
2nd_program_word
MOV
MOV
MOV
MOV
MOV
MOV
MOV
TBLWTL
TBLWTH
MOV
MOV
TBLWTL
TBLWTH
MOV
MOV
TBLWTL
TBLWTH
MOV
MOV
TBLWTL
TBLWTH
DISI
MOV
MOV
MOV
MOV
BSET
BTSC
BRA
#5
#0x55, W0
W0, NVMKEY
#0xAA, W1
W1, NVMKEY
NVMCON, #WR
NVMCON, #15
$-2
#0x4001, W0
W0, NVMCON
#0x0000, W0
W0, TBLPAG
#0x6000, W0
#LOW_WORD_0, W2
#HIGH_BYTE_0, W3
W2, [W0]
W3, [W0++]
#LOW_WORD_1, W2
#HIGH_BYTE_1, W3
W2, [W0]
W3, [W0++]
#LOW_WORD_2, W2
#HIGH_BYTE_2, W3
W2, [W0]
W3, [W0++]
#LOW_WORD_31, W2
#HIGH_BYTE_31, W3
W2, [W0]
W3, [W0]
LOADING THE WRITE BUFFERS
INITIATING A PROGRAMMING SEQUENCE
PIC24FJ64GA004 FAMILY
Preliminary
; Block all interrupts with priority <7
; for next 5 instructions
; Write the 55 key
;
; Write the AA key
; Start the erase sequence
; and wait for it to be
; completed
;
; Initialize NVMCON
;
; Initialize PM Page Boundary SFR
; An example program memory address
;
;
; Write PM low word into program latch
; Write PM high byte into program latch
;
;
; Write PM low word into program latch
; Write PM high byte into program latch
;
;
; Write PM low word into program latch
; Write PM high byte into program latch
;
;
; Write PM low word into program latch
; Write PM high byte into program latch
DS39881B-page 45

Related parts for PIC24FJ48GA002-I/SP