Presentation is loading. Please wait.

Presentation is loading. Please wait.

PIC 8 BIT AND 16 BIT MICROCONTROLLER ARCHITECTURE

Similar presentations


Presentation on theme: "PIC 8 BIT AND 16 BIT MICROCONTROLLER ARCHITECTURE"— Presentation transcript:

1 PIC 8 BIT AND 16 BIT MICROCONTROLLER ARCHITECTURE

2 Harvard Architecture

3 Low - end PIC Architectures Mid-range PIC Architectures
The architectures of various PIC microcontrollers can be divided as follows : Low - end PIC Architectures Mid-range PIC Architectures CPU Architecture

4 Specification of some popular PIC microcontroller are as follows:
Basic Architecture of PIC Microcontrollers Specification of some popular PIC microcontroller are as follows:

5 PIC Microcontroller clock
One instruction cycle

6 PIC 8 bit Architecture

7 Architecture of PIC 16C74A

8 W Register- Status Register- STATUS-address 03H,83H
CPU Registers: W Register- Status Register- STATUS-address 03H,83H

9 FSR Register(file selection register,address=04H,84H)- FSR is an 8 bit register used as data memory address pointer. This is used in indirect addressing mode INDF Register(INDirect through FSR,address=00H,80H)- INDF is not a physical register. Accessing INDF access is the location pointed to by FSR in indirect addressing mode

10 PCL Register-(Program counter low byte,address=02H,82H) PCL is actually the lower 8 bits of the 13-bit program counter. This is both readable and writable register PCLATH register(Program counter Latch,address=0AH,8AH)- PCLATH is a 8 bit register which can be used to decide upper 5 bits of program counter. PCLATH can be read or written to without affecting the program counter

11 Port Structure

12 Pin Configuration

13 PIC 16 bit microcontroller architecture

14 Pin Diagram:

15 Architecture of PIC 24H

16

17

18 DATA MEMORY ORGANISATION

19 STATUS Register : CORCON Register :
CPU Registers STATUS Register : CORCON Register :

20 ALU MULTIPLIER DIVISOR

21 PIC 8 bit and 16 bit architecture features:
Harvard architecture. Small number of fixed length instruction. A hardware stack for storing return address. Data spaced mapped CPU , port and periferal registers.

22 Limitations Only one accumulator
Operations and registers are not orthogonal Register bank switching is required Software implemented stacks are not efficient

23 Conclusion Thus PIC architecture offers- Again it gives-
Seamless migration Pin compatibility Code compatibility Again it gives- Flexibility Maximise reuse for future developments

24 References www.microchip.com www.viit.ac.in/PIC
microcontroller/Y.H.Dandawate,VIIT,Pune nptel.iitm.ac.in/IIT Kanpur/PIC Abhilash V. Pandiankal, Microcontroller system,S.CHAND publication

25 THANK YOU go PIC the world!


Download ppt "PIC 8 BIT AND 16 BIT MICROCONTROLLER ARCHITECTURE"

Similar presentations


Ads by Google