Detailed Syllabus
Module Contents Hours
1.
Introduction to Microcontroller
Block diagram of generic microcontroller, Microcontroller versus Microprocessor, A brief history
of PIC microcontroller, Overview of PIC 18 family and features, Internal Bus structure of PIC
microcontroller, Clock frequency, machine cycle and instruction cycle. (Refer chapter 1)
05
2.
PIC18F Programming Model and Instruction Set
PIC18 microcontroller programming model, Bus architecture, program memory and data memory
organization, Special Function Registers (SFRs), General Purpose Registers (GPRs)
CPU registers: Working Register (Wreg), Status Register, Bank Select Register (BSR),
Instruction Decoder
Memory Pointers: Program ROM and Program Counter (PC), Data ROM and Table Pointer
(TBLPTR), File memory and File Select Register (FSR), Stack and Stack Pointer (STKPTR)
PIC 18 internal Architecture: ALU, EEPROM, RAM, IO Ports, Timer, ADC, Serial port, CCP,
Pipelining. (conceptual overview only)
Instructions and Assembly Programs: Instruction Set, Instruction formats, Addressing modes,
Assembler Directives, Assembly programs. (Assembly programs are restricted to basic arithmetic,
logical and data transfer operations only) (Refer chapters 2 and 3)PIC 18 Support Devices
Timer Module: Basic Concept of Timers and counters, Timer Registers, Control Registers, 8 bit
and 16 bit operation (only for Timer 0), CCP module (Capture, Compare and PWM), Watch dog
Timer.
ADC module: ADC Features, Block diagram of ADC module, ADC Registers, ADCON0,
ADCON1 and ADCON2.
Interrupt Module: Basic concept of Interrupt, PIC 18 Interrupts, Interrupt versus polling,
Interrupt sources, Interrupt vector, Interrupt service routine, Interrupt process, RCON, INTCON,
IPR1 and PIE1. (Refer chapters 4, 5, 6 and 7)
06
4.
Parallel Ports and Serial Communication
IO PORT Module: Basic concept of I/O interfacing, PORT Registers, TRIS Registers, LAT
Registers, Simple input /output peripheral interfacing (switches & LEDs).
Serial communication: Basics of serial communication, Data framing, USART module, SPBRG,
TXREG, RCREG, TXSTA, RCSTA, PIR1 (Refer chapters 8 and 9)
06
5.
PIC Programming in C
IO programming: Byte size IO, Bit addressable IO.
Timer programming: Generating delay, generating square wave. (for Timer0 using Interrupt
based programming only)
Serial port programming: Transmit data serially, Receive data serially. (Interrupt based
programming only) (Refer chapters 4, 5, 7, 9 and 10)
06
6.
Microcontroller Applications
Interfacing matrix keyboard and Seven segments LED display, LCD Interfacing, ADC
Interfacing, Traffic signal controller, DC motor interfacing, Stepper motor interfacing, PWM
signal generation. (Refer chapter 11)
08