Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

PIC18F4321 Datasheet(PDF) 59 Page - Microchip Technology

Part # PIC18F4321
Description  Enhanced Flash Microcontrollers with 10-Bit A/D and nanoWatt Technology
PDF  402 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

PIC18F4321 Datasheet(HTML) 59 Page - Microchip Technology

Back Button PIC18F4321 Datasheet HTML 55Page - Microchip Technology PIC18F4321 Datasheet HTML 56Page - Microchip Technology PIC18F4321 Datasheet HTML 57Page - Microchip Technology PIC18F4321 Datasheet HTML 58Page - Microchip Technology PIC18F4321 Datasheet HTML 59Page - Microchip Technology PIC18F4321 Datasheet HTML 60Page - Microchip Technology PIC18F4321 Datasheet HTML 61Page - Microchip Technology PIC18F4321 Datasheet HTML 62Page - Microchip Technology PIC18F4321 Datasheet HTML 63Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 59 / 402 page
background image
© 2009 Microchip Technology Inc.
DS39689F-page 59
PIC18F2221/2321/4221/4321 FAMILY
6.0
MEMORY ORGANIZATION
There are three types of memory in PIC18 Enhanced
microcontroller devices:
• Program Memory
• Data RAM
• Data EEPROM
As Harvard architecture devices, the data and program
memories use separate busses; this allows for con-
current access of the two memory spaces. The data
EEPROM, for practical purposes, can be regarded as
a peripheral device, since it is addressed and accessed
through a set of control registers.
Additional detailed information on the operation of the
Flash program memory is provided in Section 7.0
“Flash Program Memory”. Data EEPROM is
discussed separately in Section 8.0 “Data EEPROM
Memory”.
6.1
Program Memory Organization
PIC18 microcontrollers implement a 21-bit program
counter, which is capable of addressing a 2-Mbyte
program memory space. Accessing a location between
the upper boundary of the physically implemented
memory and the 2-Mbyte address will return all ‘0’s (a
NOP instruction).
The PIC18F2221 and PIC18F4221 each have 4 Kbytes
of Flash memory and can store up to 2048 single-word
instructions. The PIC18F2321 and PIC18F4321 each
have 8 Kbytes of Flash memory and can store up to
4096 single-word instructions.
PIC18 devices have two interrupt vectors. The Reset
vector address is at 0000h and the interrupt vector
addresses are at 0008h and 0018h.
The program memory maps for PIC18F2221/4221 and
PIC18F2321/4321 devices are shown in Figure 6-1.
FIGURE 6-1:
PROGRAM MEMORY MAP AND STACK FOR PIC18F2221/2321/4221/4321 FAMILY
DEVICES
PC<20:0>
Stack Level 1
•
Stack Level 31
Reset Vector
Low-Priority Interrupt Vector
•
•
CALL,RCALL,RETURN
RETFIE,RETLW
21
0000h
0018h
On-Chip
Program Memory
High-Priority Interrupt Vector 0008h
1FFFFFh
1000h
0FFFh
Read ‘0’
200000h
PC<20:0>
Stack Level 1
•
Stack Level 31
Reset Vector
Low-Priority Interrupt Vector
•
•
CALL,RCALL,RETURN
RETFIE,RETLW
21
0000h
0018h
2000h
1FFFh
On-Chip
Program Memory
High-Priority Interrupt Vector 0008h
Read ‘0’
1FFFFFh
200000h
PIC18FX221
PIC18FX321



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com