#pragma config Usage. #pragma config Settings. #pragma config <setting>=<named value>

Size: px
Start display at page:

Download "#pragma config Usage. #pragma config Settings. #pragma config <setting>=<named value>"

Transcription

1 1 z :21 #pragma config Usage #pragma config <setting>=<named value> // Oscillator Selection bits: 11XX External RC oscillator, CLKO function on RA6 // Fail-Safe Clock Monitor Enable bit: Fail-Safe Clock Monitor enabled // Internal External Oscillator Switchover bit: Internal External Switchover mode enabled #pragma config OSC = RC, FCMEN = ON, IESO = ON #pragma config <setting>=<literal constant> // Oscillator Selection bits: 11XX External RC oscillator, CLKO function on RA6 // Fail-Safe Clock Monitor Enable bit: Fail-Safe Clock Monitor enabled // Internal External Oscillator Switchover bit: Internal External Switchover mode enabled #pragma config OSC = 0xC, FCMEN = 0x1, IESO = 0x1 #pragma config <register>=<literal constant> // Oscillator Selection bits: 11XX External RC oscillator, CLKO function on RA6 // Fail-Safe Clock Monitor Enable bit: Fail-Safe Clock Monitor enabled // Internal External Oscillator Switchover bit: Internal External Switchover mode enabled #pragma config CONFIG1H = 0xCC // 0x #pragma config IDLOC0 = 0xFF #pragma config Settings Register: 0x OSC = Oscillator Selection bits RC 11XX External RC oscillator, CLKO function on RA6 RC1 101X External RC oscillator, CLKO function on RA6 IRCIO Internal oscillator block, port function on RA6 and port function on RA7 IRC Internal oscillator block, CLKO function on RA6 and port function on RA7 RC2 External RC oscillator, CLKO function on RA6 HS HS oscillator LP LP oscillator HSPLL HS oscillator, PLL enabled (clock frequency = 4 x FOSC1) ECIO EC oscillator, port function on RA6 EC EC oscillator, CLKO function on RA6 XT XT oscillator

2 2 z :21 RCIO External RC oscillator, port function on RA6 FCMEN = Fail-Safe Clock Monitor Enable bit ON Fail-Safe Clock Monitor enabled OFF Fail-Safe Clock Monitor disabled IESO = Internal External Oscillator Switchover bit ON Internal External Switchover mode enabled OFF Internal External Switchover mode disabled Register: 0x BOREN = Brown-out Reset Enable bits ON Brown-out Reset enabled OFF Brown-out Reset disabled BORV = Brown Out Reset Voltage bits 42 VBOR set to 4.2V 27 VBOR set to 2.7V 45 VBOR set to 4.5V PWRTEN = Power-up Timer Enable bit OFF PWRT disabled ON PWRT enabled Register: 0x WINEN = Watchdog Timer Window Enable bit OFF WDT window disabled ON WDT window enabledbled WDPS = Watchdog Timer Postscale Select bits : : : : : : : : : :16 8 1:8 1 1: : : :2

3 3 z : :64 WDTEN = Watchdog Timer Enable bit ON WDT enabled OFF WDT disabled (control is placed on the SWDTEN bit) Register: 0x T1OSCMX = Timer1 Oscillator MUX ON Low-power Timer1 operation when microcontroller is in Sleep mode OFF Standard (legacy) Timer1 oscillator operation PWMPIN = PWM output pins Reset state control OFF PWM outputs disabled upon Reset (default) ON PWM outputs drive active states upon Reset HPOL = High-Side Transistors Polarity HIGH PWM1, 3, 5 and 7 are active-high LOW PWM1, 3, 5 and 7 are active-low LPOL = Low-Side Transistors Polarity HIGH PWM0, 2, 4 and 6 are active-high LOW PWM0, 2, 4 and 6 are active-low Register: 0x PWM4MX = PWM4 MUX bit RD5 PWM4 output is multiplexed with RD5 RB5 PWM4 output is multiplexed with RB5 MCLRE = MCLR Pin Enable bit ON Enabled OFF Disabled SSPMX = SSP I/O MUX bit RD1 SCK/SCL clocks and SDA/SDI data are multiplexed with RD3 and RD2, respectively. SDO output is multiplexed with RD1. RC7 SCK/SCL clocks and SDA/SDI data are multiplexed with RC5 and RC4, respectively. SDO output is multiplexed with RC7. FLTAMX = FLTA MUX bit RC1 FLTA input is multiplexed with RC1 RD4 FLTA input is multiplexed with RD4 EXCLKMX = TMR0/T5CKI External clock MUX bit RC3 TMR0/T5CKI external clock input is multiplexed with RC3 RD0 TMR0/T5CKI external clock input is multiplexed with RD0 Register: 0x300006

4 4 z :21 STVREN = Stack Full/Underflow Reset Enable bit ON Stack full/underflow will cause Reset OFF Stack full/underflow will not cause Reset DEBUG = Background Debugger Enable bit OFF Background debugger disabled; RB6 and RB7 configured as general purpose I/O pins ON Background debugger enabled; RB6 and RB7 are dedicated to In-Circuit Debug LVP = Low-Voltage ICSP Enable bit ON Low-voltage ICSP enabled OFF Low-voltage ICSP disabled Register: 0x CP0 = Code Protection bit OFF Block 0 ( FFFh) not code-protected ON Block 0 ( FFFh) code-protected CP1 = Code Protection bit OFF Block 1 ( FFF) not code-protected ON Block 1 ( FFF) code-protected CP2 = Code Protection bit OFF Block 2 ( FFFh) not code-protected ON Block 2 ( FFFh) code-protected CP3 = Code Protection bit OFF Block 3 ( FFFh) not code-protected ON Block 3 ( FFFh) code-protected Register: 0x CPB = Boot Block Code Protection bit OFF Boot Block ( FFh) not code-protected ON Boot Block ( FFh) code-protected CPD = Data EEPROM Code Protection bit OFF Data EEPROM not code-protected ON Data EEPROM code-protected Register: 0x30000A WRT0 = Write Protection bit OFF Block 0 ( FFFh) not write-protected ON Block 0 ( FFFh) write-protected WRT1 = Write Protection bit OFF Block 1 ( FFF) not write-protected ON Block 1 ( FFF) write-protected

5 5 z :21 WRT2 = Write Protection bit OFF Block 2 ( FFFh) not write-protected ON Block 2 ( FFFh) write-protected WRT3 = Write Protection bit OFF Block 3 ( FFFh) not write-protected ON Block 3 ( FFFh) write-protected Register: 0x30000B WRTB = Boot Block Write Protection bit OFF Boot Block ( FFh) not write-protected ON Boot Block ( FFh) write-protected WRTC = Configuration Register Write Protection bit OFF Configuration registers ( FFh) not write-protected ON Configuration registers ( FFh) write-protected WRTD = Data EEPROM Write Protection bit OFF Data EEPROM not write-protected ON Data EEPROM write-protected Register: 0x30000C EBTR0 = Table Read Protection bit OFF Block 0 ( FFFh) not protected from table reads executed in other blocks ON Block 0 ( FFFh) protected from table reads executed in other blocks EBTR1 = Table Read Protection bit OFF Block 1 ( FFF) not protected from table reads executed in other blocks ON Block 1 ( FFF) protected from table reads executed in other blocks EBTR2 = Table Read Protection bit OFF Block 2 ( FFFh) not protected from table reads executed in other blocks ON Block 2 ( FFFh) protected from table reads executed in other blocks EBTR3 = Table Read Protection bit OFF Block 3 ( FFFh) not protected from table reads executed in other blocks ON Block 3 ( FFFh) protected from table reads executed in other blocks Register: 0x30000D EBTRB = Boot Block Table Read Protection bit OFF Boot Block ( FFh) not protected from table reads executed in other blocks ON Boot Block ( FFh) not protected from table reads executed in other blocks Register: 0x Register: 0x200001

6 6 z :21 Register: 0x Register: 0x Register: 0x Register: 0x Register: 0x Register: 0x200007

PIC18LF46K50. Flash Memory Programming Specification 1.0 DEVICE OVERVIEW 2.0 PROGRAMMING OVERVIEW. 2.2 Dedicated ICSP/ICD Port (44-Pin TQFP Only)

PIC18LF46K50. Flash Memory Programming Specification 1.0 DEVICE OVERVIEW 2.0 PROGRAMMING OVERVIEW. 2.2 Dedicated ICSP/ICD Port (44-Pin TQFP Only) Flash Memory Programming Specification 1.0 DEVICE OVERVIEW This document includes the programming specifications for the following devices: PIC18F24K50 PIC18F25K50 PIC18F26K50 PIC18F45K50 PIC18F46K50 PIC18LF24K50

More information

Flash Microcontroller Programming Specification PIN DESCRIPTIONS (DURING PROGRAMMING): PIC18F872X FAMILY. During Programming

Flash Microcontroller Programming Specification PIN DESCRIPTIONS (DURING PROGRAMMING): PIC18F872X FAMILY. During Programming Flash Microcontroller Programming Specification 10 DEVICE OVERVIEW This document includes the programming specifications for the following devices: PIC18F6527 PIC18F6622 PIC18F6627 PIC18F6628 PIC18F6722

More information

Programming for PIC18FXX2/FXX8 FLASH MCUs PIN DESCRIPTIONS (DURING PROGRAMMING): PIC18FXX2/XX8. During Programming. Pin Name Pin Type Pin Description

Programming for PIC18FXX2/FXX8 FLASH MCUs PIN DESCRIPTIONS (DURING PROGRAMMING): PIC18FXX2/XX8. During Programming. Pin Name Pin Type Pin Description M Programming for PIC18FXX2/FXX8 FLASH MCUs 1.0 DEVICE OVERVIEW This document includes the programming specifications for the following devices: PIC18F242 PIC18F248 PIC18F252 PIC18F258 PIC18F442 PIC18F448

More information

FLASH Microcontroller Programming Specification PIN DESCRIPTIONS (DURING PROGRAMMING): PIC18FXX20. During Programming

FLASH Microcontroller Programming Specification PIN DESCRIPTIONS (DURING PROGRAMMING): PIC18FXX20. During Programming FLASH Microcontroller Programming Specification 1.0 DEVICE OVERVIEW This document includes the programming specifications for the following devices: PIC18F6520 PIC18F6620 PIC18F6720 PIC18F8520 PIC18F8620

More information

Infinity Project. an additional memory for GLCD where to store programs. July Infinity Project. Additional memory for GLCD by Tony, i2tzk Pag.

Infinity Project. an additional memory for GLCD where to store programs. July Infinity Project. Additional memory for GLCD by Tony, i2tzk Pag. Infinity Project an additional memory for GLCD where to store programs July 2014 Infinity Project. Additional memory for GLCD by Tony, i2tzk Pag. 1 INDEX 1. Project description 3 2. Getting started 6 2.1

More information

FLASH Microcontroller Programming Specification PIN DESCRIPTIONS (DURING PROGRAMMING): PIC18FXX2/XX8. During Programming

FLASH Microcontroller Programming Specification PIN DESCRIPTIONS (DURING PROGRAMMING): PIC18FXX2/XX8. During Programming FLASH Microcontroller Programming Specification 1.0 DEVICE OVERVIEW This document includes the programming specifications for the following devices: PIC18F242 PIC18F248 PIC18F252 PIC18F258 PIC18F442 PIC18F448

More information

Section 29. Device Configuration Bits

Section 29. Device Configuration Bits Section 29. Device Configuration Bits HIGHLIGHTS This section of the manual contains the following major topics: 29.1 Introduction... 29-2 29.2 Configuration Word Bits... 29-3 29.3 Program Verification/Code

More information

PIC18F1XK50/PIC18LF1XK50

PIC18F1XK50/PIC18LF1XK50 Flash Memory Programming Specification 1.0 DEVICE OVERVIEW This document includes the programming specifications for the following devices: PIC18F13K50 PIC18F14K50 PIC18LF13K50 PIC18LF14K50 2.0 PROGRAMMING

More information

FLASH Microcontroller Programming Specification PIN DESCRIPTIONS (DURING PROGRAMMING): PIC18FXX80/XX85. During Programming

FLASH Microcontroller Programming Specification PIN DESCRIPTIONS (DURING PROGRAMMING): PIC18FXX80/XX85. During Programming FLASH Microcontroller Programming Specification 1.0 DEVICE OVERVIEW This document includes the programming specifications for the following devices: PIC18F6585 PIC18F8585 PIC18F6680 PIC18F8680 2.0 PROGRAMMING

More information

FLASH Microcontroller Programming Specification PIN DESCRIPTIONS (DURING PROGRAMMING): PIC18F6X2X/8X2X. During Programming

FLASH Microcontroller Programming Specification PIN DESCRIPTIONS (DURING PROGRAMMING): PIC18F6X2X/8X2X. During Programming FLASH Microcontroller Programming Specification 1.0 DEVICE OVERVIEW This document includes the programming specifications for the following devices: PIC18F6525 PIC18F6621 PIC18F8525 PIC18F8621 2.0 PROGRAMMING

More information

Flash Microcontroller Programming Specification PIN DESCRIPTIONS (DURING PROGRAMMING): PIC18FXX80/XX85. During Programming

Flash Microcontroller Programming Specification PIN DESCRIPTIONS (DURING PROGRAMMING): PIC18FXX80/XX85. During Programming Flash Microcontroller Programming Specification 1.0 DEVICE OVERVIEW This document includes the programming specifications for the following devices: PIC18F6585 PIC18F8585 PIC18F6680 PIC18F8680 2.0 PROGRAMMING

More information

PIC18F2XJXX/4XJXX FAMILY

PIC18F2XJXX/4XJXX FAMILY Flash Microcontroller Programming Specification 1.0 DEVICE OVERVIEW This document includes the programming specifications for the following devices: PIC18F24J10 PIC18F25J10 PIC18F44J10 PIC18F45J10 PIC18F24J11

More information

Section 28. WDT and SLEEP Mode

Section 28. WDT and SLEEP Mode Section 28. WDT and SLEEP Mode HIGHLIGHTS This section of the manual contains the following major topics: 28 28.1 Introduction... 28-2 28.2 Control Register... 28-3 28.3 Watchdog Timer (WDT) Operation...

More information

M PIC18F2220/4220/2320/4320

M PIC18F2220/4220/2320/4320 M PIC18F2220/4220/2320/4320 Programming for PIC18F2220/4220/2320/4320 FLASH MCUs 1.0 DEVICE OVERVIEW This document includes the programming specifications for the following devices: PIC18F2220 PIC18F4220

More information

* File: 8x8_matrix_vinyl.c. * Author: Phil Glazzard. * Created on 16 August 2016, 17:59. /* This design drives five 8x8 common cathode LED matrices

* File: 8x8_matrix_vinyl.c. * Author: Phil Glazzard. * Created on 16 August 2016, 17:59. /* This design drives five 8x8 common cathode LED matrices /* * File: 8x8_matrix_vinyl.c * Author: Phil Glazzard * * Created on 16 August 2016, 17:59 */ /* This design drives five 8x8 common cathode LED matrices * via MAX7219 constant current drivers using SPI

More information

Section 33. Device Configuration (Part II)

Section 33. Device Configuration (Part II) Section 33. Device Configuration (Part II) HIGHLIGHTS This section of the manual contains the following major topics: 33.1 Introduction... 33-2 33.2 Device Configuration Registers... 33-2 33.3 Configuration

More information

dspic30f dspic30f Flash Programming Specification 1.0 OVERVIEW AND SCOPE 2.0 PROGRAMMING OVERVIEW OF THE dspic30f 2.1 Hardware Requirements

dspic30f dspic30f Flash Programming Specification 1.0 OVERVIEW AND SCOPE 2.0 PROGRAMMING OVERVIEW OF THE dspic30f 2.1 Hardware Requirements dspic30f Flash Programming Specification 1.0 OVERVIEW AND SCOPE This document defines the programming specification for the dspic30f family of Digital Signal Controllers (DSCs). The programming specification

More information

PIC12(L)F1501/PIC16(L)F150X

PIC12(L)F1501/PIC16(L)F150X PIC12(L)F1501/PIC16(L)F150X Memory Programming Specification This document includes the programming specifications for the following devices: PIC12F1501 PIC16F1503 PIC16F1507 PIC16F1508 PIC16F1509 1.0

More information

PIC18(L)F6XK40 Memory Programming Specification

PIC18(L)F6XK40 Memory Programming Specification PIC18(L)F6XK40 Memory Programming Specification 1.0 OVERVIEW This programming specification describes an SPI-based programming method for the PIC18(L)F6XK40 family of microcontrollers. Section 3.0 Programming

More information

AER201 Engineering Design. PIC DevBugger Manual

AER201 Engineering Design. PIC DevBugger Manual AER201 Engineering Design PIC DevBugger Manual Table of Contents Table of Contents... 2 1. Introduction... 3 1.1 Overview... 3 1.2 Features... 4 1.3 Included in the Box... 4 2. Operation... 5 2.1 Operational

More information

PIC16F87X. 28/40-pin 8-Bit CMOS FLASH Microcontrollers. Devices Included in this Data Sheet: Pin Diagram PDIP. Microcontroller Core Features:

PIC16F87X. 28/40-pin 8-Bit CMOS FLASH Microcontrollers. Devices Included in this Data Sheet: Pin Diagram PDIP. Microcontroller Core Features: PIC16F7X 2/40-pin -Bit CMOS FLASH Microcontrollers Devices Included in this Data Sheet: PIC16F7 PIC16F74 PIC16F76 PIC16F77 Microcontroller Core Features: High-performance RISC CPU Only 5 single word instructions

More information

PIC18(L)F2X/4XK40 Memory Programming Specification

PIC18(L)F2X/4XK40 Memory Programming Specification PIC18(L)F2X/4XK40 Memory Programming Specification 1.0 OVERVIEW This programming specification describes an SPI-based programming method for the PIC18(L)F2X/4XK40 family of microcontrollers. Section 3.0

More information

Embedded Systems. PIC16F84A Internal Architecture. Eng. Anis Nazer First Semester

Embedded Systems. PIC16F84A Internal Architecture. Eng. Anis Nazer First Semester Embedded Systems PIC16F84A Internal Architecture Eng. Anis Nazer First Semester 2017-2018 Review Computer system basic components? CPU? Memory? I/O? buses? Instruction? Program? Instruction set? CISC,

More information

\\OHARARP-PC\Users\ohararp\Documents\PICBASIC\18F25K20\GM862\GM862_D.bas

\\OHARARP-PC\Users\ohararp\Documents\PICBASIC\18F25K20\GM862\GM862_D.bas Device = 18F25K20 Xtal = 16 'Declare PLL_REQ = On 'OPTIMISER_LEVEL = 6 Clear All_Digital = TRUE 'Device Fuse configuration Config_Start FOSC = HS ; HS oscillator FCMEN = OFF ; Fail-Safe Clock Monitor disabled

More information

PIC16(L)F153XX Memory Programming Specification

PIC16(L)F153XX Memory Programming Specification PIC16(L)F153XX Memory Programming Specification 1.0 OVERVIEW This programming specification describes an SPI-compatible programming method for the PIC16(L)F153XX family of microcontrollers. Section 3.0

More information

Section 8. Reset. Reset HIGHLIGHTS. This section of the manual contains the following topics:

Section 8. Reset. Reset HIGHLIGHTS. This section of the manual contains the following topics: Section 8. HIGHLIGHTS This section of the manual contains the following topics: 8.1 Introduction... 8-2 8.2 Clock Source Selection at... 8-5 8.3 POR: Power-on... 8-5 8.4 External (EXTR)... 8-7 8.5 Software

More information

PIC16(L)F184XX Memory Programming Specification

PIC16(L)F184XX Memory Programming Specification PIC16(L)F184XX Memory Programming Specification Overview The PIC16(L)F184XX Memory Programming Specification describes the programming method for the PIC16(L)F184XX family of 8-bit microcontrollers. The

More information

ET-BASE PIC40/4550(ICSP)

ET-BASE PIC40/4550(ICSP) ET-BASE PIC0/550(ICSP) ET-BASE PIC0/550(ICSP) is Board Microcontroller in the series of PIC that is designed to use and install Chip Microcontroller 0PIN No.PIC8F550; it can support program development

More information

PIC Microcontroller Introduction

PIC Microcontroller Introduction PIC Microcontroller Introduction The real name of this microcontroller is PICmicro (Peripheral Interface Controller), but it is better known as PIC. Its first ancestor was designed in 1975 by General Instruments.

More information

Section 32. High-Level Device Integration

Section 32. High-Level Device Integration HIGHLIGHTS Section 32. High-Level Device Integration This section of the manual contains the following topics: 32 32.1 Introduction... 32-2 32.2 Device Configuration... 32-2 32.3 Device Identification...

More information

Development Hardware. Target Board and In-circuit Debugger

Development Hardware. Target Board and In-circuit Debugger Development Hardware Target Board and In-circuit Debugger Development Hardware :: Slide 1 of 32 Microchip PICDEM 2 Plus Target Board Development Hardware :: Slide 2 of 32 PICDEM 2 Plus Demo Board Development

More information

JX-12. JX-12 : PIC12F6xx/PIC16F630/676 Project board 1

JX-12. JX-12 : PIC12F6xx/PIC16F630/676 Project board 1 JX- PICF9/7, PICF0/7 Project board On-Board PICF7, can use with PICF0/7.00 x. Prototype area with 94 pads Downloading of program via PC parallel port Selection of RUN/PROG mode by switch Built in RS- interface

More information

Hong Kong Institute of Vocational Education Digital Electronics & Microcontroller. 8. Microcontroller

Hong Kong Institute of Vocational Education Digital Electronics & Microcontroller. 8. Microcontroller 8. Microcontroller Textbook Programming Robot Controllers, Myke Predko, McGraw Hill. Reference PIC Robotics: A Beginner's Guide to Robotics Projects Using the PIC Micro, John Iovine, McGraw Hill. Embedded

More information

Embedded Systems Module. 6EJ505. C Tutorial 3: using the ICD3 rev tjw

Embedded Systems Module. 6EJ505. C Tutorial 3: using the ICD3 rev tjw Embedded Systems Module. 6EJ505 C Tutorial 3: using the ICD3 rev. 27.9.16 tjw Images are reproduced from Reference 1. Microchip permits the use of its images for educational purposes. Main Learning Points

More information

ECE 3740 SEP1: MPLAB Introduction and LED Blinking. An Introduction to Microchip's MPLAB IDE and

ECE 3740 SEP1: MPLAB Introduction and LED Blinking. An Introduction to Microchip's MPLAB IDE and ECE 3740 SEP1: MPLAB Introduction and LED Blinking An Introduction to Microchip's MPLAB IDE and an Example Application: LED Blinking 1 Objective Rotate LEDs 2 Port Functions Library Help >Help Contents

More information

Section 8. Reset HIGHLIGHTS. Reset. This section of the manual contains the following major topics:

Section 8. Reset HIGHLIGHTS. Reset. This section of the manual contains the following major topics: Section 8. HIGHLIGHTS This section of the manual contains the following major topics: 8.1 Introduction... 8-2 8.2 Control Registers...8-3 8.3 System...8-6 8.4 Using the RCON Status Bits... 8-11 8.5 Device

More information

PIC12(L)F1822/PIC16(L)F182X

PIC12(L)F1822/PIC16(L)F182X PIC12(L)F1822/PIC16(L)F182X Memory Programming Specification This document includes the programming specifications for the following devices: PIC12F1822 PIC16F1823 PIC16F1824 PIC16F1825 PIC16F1826 PIC16F1827

More information

PIC18FXX2 Data Sheet. High Performance, Enhanced FLASH Microcontrollers with 10-Bit A/D Microchip Technology Inc. DS39564B

PIC18FXX2 Data Sheet. High Performance, Enhanced FLASH Microcontrollers with 10-Bit A/D Microchip Technology Inc. DS39564B M PIC18FXX2 Data Sheet High Performance, Enhanced FLASH Microcontrollers with 10-Bit A/D 2002 Microchip Technology Inc. DS39564B te the following details of the code protection feature on PICmicro MCUs.

More information

PIC18FXX2 Data Sheet. High Performance, Enhanced FLASH Microcontrollers with 10-Bit A/D Microchip Technology Inc. Advance Information DS39564A

PIC18FXX2 Data Sheet. High Performance, Enhanced FLASH Microcontrollers with 10-Bit A/D Microchip Technology Inc. Advance Information DS39564A Data Sheet High Performance, Enhanced FLASH Microcontrollers with 10-Bit A/D 2001 Microchip Technology Inc. Advance Information DS39564A te the following details of the code protection feature on PICmicro

More information

PIC18(L)F26/27/45/46/47/55/56/57K42

PIC18(L)F26/27/45/46/47/55/56/57K42 1.0 OVERVIEW PIC18(L)F26/27/45/46/47/55/56/57K42 PIC18(L)F26/27/45/46/47/55/56/57K42 Memory Programming Specification This programming specification describes an SPI-based programming method for the PIC18(L)F26/27/45/46/47/55/56/

More information

An Introduction to Microchip's MPLAB IDE and an Example Application: LED Blinking

An Introduction to Microchip's MPLAB IDE and an Example Application: LED Blinking An Introduction to Microchip's MPLAB IDE and an Example Application: LED Blinking 1 See Project 1.1 for installation instructions for MPLAB X. 2 To rotate the LEDs 3 Help->Help Contents->Search: Port Functions

More information

Section 9. Watchdog Timer (WDT) and Power-Saving Modes

Section 9. Watchdog Timer (WDT) and Power-Saving Modes Section 9. Watchdog Timer (WDT) and Power-Saving Modes HIGHLIGHTS This section of the manual contains the following topics: 9.1 Introduction... 9-2 9.2 Power-Saving Modes... 9-2 9.3 Watchdog Timer (WDT)...

More information

Lecture (03) PIC16F84 (2)

Lecture (03) PIC16F84 (2) Lecture (03) PIC16F84 (2) By: Dr. Ahmed ElShafee ١ PIC16F84 has a RISC architecture, or Harvard architecture in another word ٢ PIC16F84 belongs to a class of 8 bit microcontrollers of RISC architecture.

More information

AX-12. PIC12F675 microcontroller Activity board

AX-12. PIC12F675 microcontroller Activity board AX- PICF67 microcontroller Activity board Optional of AX- board DC adaptor 9-V Small stepper motor Microcontroller unit features : Microchip s 8-pin PIC microocntroller PICF67 on-board KWord Program memory

More information

PIC18F13K50/14K50 Data Sheet

PIC18F13K50/14K50 Data Sheet PIC18F13K50/14K50 Data Sheet 20-Pin USB Flash Microcontrollers with nanowatt XLP Technology 2009 Microchip Technology Inc. Preliminary DS41350C te the following details of the code protection feature on

More information

Table of Contents COMPANY PROFILE 1-1 SECTION 1. INTRODUCTION 1-1

Table of Contents COMPANY PROFILE 1-1 SECTION 1. INTRODUCTION 1-1 COMPANY PROFILE 1-1 SECTION 1. INTRODUCTION 1-1 Introduction... 1-2 Manual Objective... 1-3 Device Structure... 1-4 Development Support... 1-6 Device Varieties... 1-7 Style and Symbol Conventions... 1-12

More information

Embedded System Design

Embedded System Design ĐẠI HỌC QUỐC GIA TP.HỒ CHÍ MINH TRƯỜNG ĐẠI HỌC BÁCH KHOA KHOA ĐIỆN-ĐIỆN TỬ BỘ MÔN KỸ THUẬT ĐIỆN TỬ Embedded System Design : Microcontroller 1. Introduction to PIC microcontroller 2. PIC16F84 3. PIC16F877

More information

Section 10. Watchdog Timer and Power Saving Modes

Section 10. Watchdog Timer and Power Saving Modes Section 10. Watchdog Timer and Power Saving Modes HIGHLIGHTS This section of the manual contains the following topics: 10.1 Introduction... 10-2 10.2 Power Saving Modes... 10-2 10.3 Sleep Mode...10-2 10.4

More information

Configuration of Device Specific Features

Configuration of Device Specific Features Configuration of Device Specific Features 1 The PIC32MX795F512L microcontroller has many customizable features. These features can be either enabled or disabled to allow customization of the device. For

More information

PIC16(L)F176X Memory Programming Specification. This document includes the programming specifications for the following devices:

PIC16(L)F176X Memory Programming Specification. This document includes the programming specifications for the following devices: PIC16(L)F176X Memory Programming Specification This document includes the programming specifications for the following devices: PIC16F1764 PIC16F1765 PIC16F1768 PIC16F1769 PIC16LF1764 PIC16LF1765 PIC16LF1768

More information

Section 42. Oscillators with Enhanced PLL

Section 42. Oscillators with Enhanced PLL Section 42. Oscillators with Enhanced PLL HIGHLIGHTS This section of the manual contains the following major topics: 42.1 Introduction... 42-2 42.2 Control Registers... 42-4 42.3 Operation: Clock Generation

More information

MICROPROCESSORS A (17.383) Fall Lecture Outline

MICROPROCESSORS A (17.383) Fall Lecture Outline MICROPROCESSORS A (17.383) Fall 2011 Lecture Outline Class # 02 September 13, 2011 Dohn Bowden 1 Today s Lecture Syllabus review Microcontroller Hardware and/or Interface Programming/Software Understanding

More information

PIC18F010/020 Data Sheet

PIC18F010/020 Data Sheet Data Sheet High Performance Microcontrollers 2001 Microchip Technology Inc. Preliminary DS41142A All rights reserved. Copyright 2001, Microchip Technology Incorporated, USA. Information contained in this

More information

PIC16(L)F177X Memory Programming Specification. This document includes the programming specifications for the following devices:

PIC16(L)F177X Memory Programming Specification. This document includes the programming specifications for the following devices: PIC16(L)F177X Memory Programming Specification This document includes the programming specifications for the following devices: PIC16F1773 PIC16F1776 PIC16F1777 PIC16F1778 PIC16F1779 PIC16LF1773 PIC16LF1776

More information

n/a PIC12F629-I/P (RC) n/a PIC12F629-I/SN (RC) n/a PIC12F675-I/P (RC) n/a PIC12F675-I/SN MICROCONTROLLER (RC)

n/a PIC12F629-I/P (RC) n/a PIC12F629-I/SN (RC) n/a PIC12F675-I/P (RC) n/a PIC12F675-I/SN MICROCONTROLLER (RC) DATA SHEET PIC Microcontrollers Order code Manufacturer code Description 73-36 n/a PICF69-I/P (RC) 73-364 n/a PICF69-I/SN (RC) 73-34 n/a PICF675-I/P (RC) 73-36 n/a PICF675-I/SN MICROCONTROLLER (RC) PIC

More information

Microchip Corporate Applications, Aug 2005 Dennis Lehman, Corporate Applications Engineer

Microchip Corporate Applications, Aug 2005 Dennis Lehman, Corporate Applications Engineer Trouble shooting Tips for the HPC Explorer Demonstration Board Microchip Corporate Applications, Aug 2005 Dennis Lehman, Corporate Applications Engineer Here is a collection of the most common PICDEM HPC

More information

PIC16F87XA to PIC16F88X Migration

PIC16F87XA to PIC16F88X Migration PIC16F87XA to PIC16F88X Migration DEVICE MIGRATIONS This document provides an overview of considerations for migrating from the PIC16F87XA product family to the PIC16F88X devices. When undertaking this

More information

Flash Memory Programming Specification RA1/AN1 RA3/AN3/C1OUT RA7/OSC1/CLKI RA5/MCLR/VPP PIC16F87. Location of CCP1 function is determined by CCPMX.

Flash Memory Programming Specification RA1/AN1 RA3/AN3/C1OUT RA7/OSC1/CLKI RA5/MCLR/VPP PIC16F87. Location of CCP1 function is determined by CCPMX. Flash Memory Programming Specification 1.0 DEVICE OVERVIEW This document includes programming specifications for the following devices: PIC16F87 PIC16F88 2.0 PROGRAMMING THE PIC16F87/88 The PIC16F87/88

More information

PIC 16F84A programming (II)

PIC 16F84A programming (II) Lecture (05) PIC 16F84A programming (II) Dr. Ahmed M. ElShafee ١ Introduction to 16F84 ٣ PIC16F84 belongs to a class of 8-bit microcontrollers of RISC architecture. Program memory (FLASH) EEPROM RAM PORTA

More information

PIC16F88X Memory Programming Specification PIN DESCRIPTIONS IN PROGRAM/VERIFY MODE: PIC16F88X. During Programming

PIC16F88X Memory Programming Specification PIN DESCRIPTIONS IN PROGRAM/VERIFY MODE: PIC16F88X. During Programming PIC16F88X Memory Specification This document includes the programming specifications for the following devices: PIC16F883 PIC16F886 PIC16F884 PIC16F887 1.0 PROGRAMMING THE PIC16F88X DEVICES 1.2 Program/Verify

More information

SX Device In-System Programming Specifications

SX Device In-System Programming Specifications SX Device In-System Programming Specifications. SX Device Programming Specifications Rev 2.0 1999 Scenix Semiconductor, Inc. All rights reserved. Revision History REVISION RELEASE DATE SUMMARY OF CHANGES

More information

University of Hawaii EE 361L MPLab Quick Tutorial and Project 2.1 Last updated September 1, 2011

University of Hawaii EE 361L MPLab Quick Tutorial and Project 2.1 Last updated September 1, 2011 University of Hawaii EE 361L MPLab Quick Tutorial and Project 2.1 Last updated September 1, 2011 This is a quick tutorial of programming the PIC 16F684A processor using the MPLab Integrated Development

More information

PIC32MX150F128 Breakout Board

PIC32MX150F128 Breakout Board PIC32MX150F128 Breakout Board This is a description of a 32 Bit PIC32MX breakout board to be used for fast prototyping. It could also be used for conventional circuit boards to avoid the fine pitch of

More information

PIC18CXX2. High Performance Microcontrollers with 10-bit A/D. High Performance RISC CPU: Pin Diagrams PIC18C4X2. Analog Features: Peripheral Features:

PIC18CXX2. High Performance Microcontrollers with 10-bit A/D. High Performance RISC CPU: Pin Diagrams PIC18C4X2. Analog Features: Peripheral Features: High Performance Microcontrollers with 10-bit A/D High Performance RISC CPU: C compiler optimized architecture/instruction set - Source code compatible with the PIC16CXX instruction set Linear program

More information

Introduction to Microcontroller Apps for Amateur Radio Projects Using the HamStack Platform.

Introduction to Microcontroller Apps for Amateur Radio Projects Using the HamStack Platform. Introduction to Microcontroller Apps for Amateur Radio Projects Using the HamStack Platform www.sierraradio.net www.hamstack.com Topics Introduction Hardware options Software development HamStack project

More information

PIC24FXXKL1XX/2XX/3XX/4XX

PIC24FXXKL1XX/2XX/3XX/4XX Flash Programming Specifications 1.0 DEVICE OVERVIEW This document defines the programming specifications for the family of 16-bit microcontroller devices. This is required only for developing programming

More information

Enhanced FLASH Microcontrollers with Single Phase Induction Motor Control Kernel. I/O Pins. 10-bit A/D (ch) EEPROM

Enhanced FLASH Microcontrollers with Single Phase Induction Motor Control Kernel. I/O Pins. 10-bit A/D (ch) EEPROM Enhanced FLASH Microcontrollers with Single Phase Induction Motor Control Kernel High Performance RISC CPU: Linear program memory addressing to 24 Kbytes Linear data memory addressing to 1.4 Kbytes 20

More information

Section 7. Oscillator

Section 7. Oscillator HIGHLIGHTS Section 7. This section of the manual contains the following topics: 7 7.1 Introduction... 7-2 7.2 CPU Clocking...7-3 7.3 Configuration Registers... 7-4 7.4 Special Function Registers... 7-7

More information

Capacitive Touch Remote Control Reference Design User s Guide

Capacitive Touch Remote Control Reference Design User s Guide Capacitive Touch Remote Control Reference Design User s Guide Microchip Korea V0.8-page 1 Capacitive Touch Remote Control Reference Design User s Guide Table of Contents Chapter 1. Introduction 1.1 Introduction

More information

Section 7. Oscillator

Section 7. Oscillator Section 7. HIGHLIGHTS This section of the manual contains the following topics: 7 7.1 Introduction... 7-2 7.2 CPU Clocking...7-4 7.3 Configuration Registers... 7-5 7.4 Special Function Registers... 7-8

More information

PIC18CXX2. High-Performance Microcontrollers with 10-Bit A/D * * High Performance RISC CPU: Pin Diagrams PIC18C4X2.

PIC18CXX2. High-Performance Microcontrollers with 10-Bit A/D * * High Performance RISC CPU: Pin Diagrams PIC18C4X2. High-Performance Microcontrollers with 10-Bit A/D * * * * High Performance RISC CPU: C-compiler optimized architecture/instruction set - Source code compatible with the PIC16CXX instruction set Linear

More information

Automated Aquaponics Design Report. Carson Miller * * * * * * * * *

Automated Aquaponics Design Report. Carson Miller * * * * * * * * * Automated Aquaponics Design Report By Carson Miller * * * * * * * * * Submitted in partial fulfillment of the requirements for Honors in the Department of Electrical Engineering UNION COLLEGE June, 2015

More information

Embedded systems. Exercise session 3. Microcontroller Programming Lab Preparation

Embedded systems. Exercise session 3. Microcontroller Programming Lab Preparation Embedded systems Exercise session 3 Microcontroller Programming Lab Preparation Communications Contact Mail : michael.fonder@ulg.ac.be Office : 1.82a, Montefiore Website for the exercise sessions and the

More information

MPLAB XC8 USER S GUIDE FOR EMBEDDED ENGINEERS. MPLAB XC8 User s Guide for Embedded Engineers INTRODUCTION

MPLAB XC8 USER S GUIDE FOR EMBEDDED ENGINEERS. MPLAB XC8 User s Guide for Embedded Engineers INTRODUCTION MPLAB XC8 USER S GUIDE FOR EMBEDDED ENGINEERS MPLAB XC8 User s Guide for Embedded Engineers INTRODUCTION This document presents five code examples for 8-bit devices and the MPLAB XC8 C compiler. Some knowledge

More information

PIC18CXX2 Data Sheet. High Performance Microcontrollers with 10-bit A/D Microchip Technology Inc. DS39026C

PIC18CXX2 Data Sheet. High Performance Microcontrollers with 10-bit A/D Microchip Technology Inc. DS39026C Data Sheet High Performance Microcontrollers with 10-bit A/D 2001 Microchip Technology Inc. DS39026C All rights reserved. Copyright 2001, Microchip Technology Incorporated, USA. Information contained in

More information

EE6008-Microcontroller Based System Design Department Of EEE/ DCE

EE6008-Microcontroller Based System Design Department Of EEE/ DCE UNIT- II INTERRUPTS AND TIMERS PART A 1. What are the interrupts available in PIC? (Jan 14) Interrupt Source Enabled by Completion Status External interrupt from INT INTE = 1 INTF = 1 TMR0 interrupt T0IE

More information

Microcontroller Overview

Microcontroller Overview Microcontroller Overview Microprocessors/Microcontrollers/DSP Microcontroller components Bus Memory CPU Peripherals Programming Microcontrollers vs. µproc. and DSP Microprocessors High-speed information

More information

MOD-ZIGBEE-PIR sensor development board USER S MANUAL All boards produced by Olimex LTD are ROHS compliant

MOD-ZIGBEE-PIR sensor development board USER S MANUAL All boards produced by Olimex LTD are ROHS compliant sensor development board USER S MANUAL All boards produced by Olimex LTD are ROHS compliant Revision B, Januray 2013 Designed by OLIMEX Ltd, 2011 Disclaimer: 2012 Olimex Ltd. Olimex, logo and combinations

More information

Laboratory: Introduction to Mechatronics

Laboratory: Introduction to Mechatronics Laboratory: Introduction to Mechatronics Instructor TA: Edgar Martinez Soberanes (eem370@mail.usask.ca) 2017-02-9 Lab 3. LED Control and Interruptions. Lab Sessions Lab 1. Introduction to the equipment

More information

Flash Microcontroller Programming Specification PIN DESCRIPTIONS (DURING PROGRAMMING): PIC18F97J60 FAMILY. During Programming

Flash Microcontroller Programming Specification PIN DESCRIPTIONS (DURING PROGRAMMING): PIC18F97J60 FAMILY. During Programming Flash Microcontroller Programming Specification 1.0 DEVICE OVERVIEW This document includes the programming specifications for the following devices: PIC18F66J60 PIC18F66J65 PIC18F67J60 PIC18F86J60 PIC18F86J65

More information

DERTS Design Requirements (1): Microcontroller Architecture & Programming

DERTS Design Requirements (1): Microcontroller Architecture & Programming Lecture (5) DERTS Design Requirements (1): Microcontroller Architecture & Programming Prof. Kasim M. Al-Aubidy Philadelphia University 1 Lecture Outline: Features of microcomputers and microcontrollers.

More information

DEV-1 HamStack Development Board

DEV-1 HamStack Development Board Sierra Radio Systems DEV-1 HamStack Development Board Reference Manual Version 1.0 Contents Introduction Hardware Compiler overview Program structure Code examples Sample projects For more information,

More information

Section 10. Power-Saving Features

Section 10. Power-Saving Features Section 10. Power-Saving Features HIGHLIGHTS This section of the manual contains the following major topics: 10.1 Introduction... 10-2 10.2 Microcontroller Clock Manipulation... 10-2 10.3 Instruction-Based

More information

MPLAB XC8 USER S GUIDE FOR EMBEDDED ENGINEERS. MPLAB XC8 User s Guide for Embedded Engineers INTRODUCTION

MPLAB XC8 USER S GUIDE FOR EMBEDDED ENGINEERS. MPLAB XC8 User s Guide for Embedded Engineers INTRODUCTION MPLAB XC8 USER S GUIDE FOR EMBEDDED ENGINEERS MPLAB XC8 User s Guide for Embedded Engineers INTRODUCTION This document presents five code examples for 8-bit devices and the MPLAB XC8 C compiler. Some knowledge

More information

SimPLC. User Manual.

SimPLC. User Manual. SimPLC User Manual www.dizzy.co.za Contents Introduction... 4 Overview Top... 5 Power Circuitry... 6 Microcontroller... 7 Real-Time Calendar and Clock (RTCC)... 7 Reset Button... 7 Oscillator Socket...

More information

Course Introduction. 2009, Renesas Technology America, Inc., All Rights Reserved

Course Introduction. 2009, Renesas Technology America, Inc., All Rights Reserved Course Introduction Purpose This course provides an introduction to the peripheral functions built into R8C Tiny series microcontrollers (MCUs). Objective Learn about the features and operation of the

More information

PIC12LF1552 Memory Programming Specification

PIC12LF1552 Memory Programming Specification PIC12LF1552 Memory Programming Specification This document includes the programming specifications for the following device: PIC12LF1552 1.0 OVERVIEW The device can be programmed using either the highvoltage

More information

Section 7. Oscillator

Section 7. Oscillator HIGHLIGHTS Section 7. This section of the manual contains the following topics: 7 7.1 Introduction... 7-2 7.2 CPU Clocking...7-4 7.3 Configuration Registers... 7-5 7.4 Special Function Registers... 7-8

More information

PIC24FJ64GB004. PIC24FJ64GA1/GB0 Families Flash Programming Specification 1.0 DEVICE OVERVIEW

PIC24FJ64GB004. PIC24FJ64GA1/GB0 Families Flash Programming Specification 1.0 DEVICE OVERVIEW PIC24FJ64GA1/GB0 Families Flash Programming Specification 1.0 DEVICE OVERVIEW This document defines the programming specification for the PIC24FJ64GA1/GB0 families of 16-bit microcontroller devices. This

More information

ATmega128. Introduction

ATmega128. Introduction ATmega128 Introduction AVR Microcontroller 8-bit microcontroller released in 1997 by Atmel which was founded in 1984. The AVR architecture was conceived by two students (Alf-Egil Bogen, Vergard-Wollen)

More information

NeoLoch. Inquisitor 4116 DRAM Blade Manual. Overview. Preliminary Release

NeoLoch. Inquisitor 4116 DRAM Blade Manual. Overview. Preliminary Release NeoLoch Inquisitor 4116 DRAM Blade Manual Overview The Inquisitor 4116 DRAM blade is designed to test 16 pin DRAM ICs. Current tests include 4116, 9016, D416, 4027 and 4096. The Inquisitor 4116 DRAM tester

More information

PIC24FXXKA2XX Flash Programming Specifications. During Programming. Pin Name Pin Type Pin Description

PIC24FXXKA2XX Flash Programming Specifications. During Programming. Pin Name Pin Type Pin Description PIC24FXXKA2XX Flash Programming Specifications 1.0 DEVICE OVERVIEW This document defines the programming specifications for the PIC24FXXKA2XX family of 16-bit microcontroller devices. This is required

More information

Dept. of Computer Engineering Final Exam, First Semester: 2016/2017

Dept. of Computer Engineering Final Exam, First Semester: 2016/2017 Philadelphia University Faculty of Engineering Course Title: Embedded Systems (630414) Instructor: Eng. Anis Nazer Dept. of Computer Engineering Final Exam, First Semester: 2016/2017 Student Name: Student

More information

PIC-LCD-3310 development board Users Manual

PIC-LCD-3310 development board Users Manual PIC-LCD-3310 development board Users Manual Rev.A, July 2008 Copyright(c) 2008, OLIMEX Ltd, All rights reserved INTRODUCTION: PIC-LCD-3310 is development board with PIC18F67J50, NOKIA 3310 BW 84x48 pixels

More information

Section 33. Programming and Diagnostics

Section 33. Programming and Diagnostics Section 33. Programming and Diagnostics HIGHLIGHTS This section of the manual contains the following topics: 33.1 Introduction... 33-2 33.2 Control Registers... 33-3 33.3 Operation... 33-7 33.4 Interrupts...

More information

PIC16C Pin, 8-Bit CMOS Microcontroller. Device included in this Data Sheet: Special Microcontroller Features: High-Performance RISC CPU:

PIC16C Pin, 8-Bit CMOS Microcontroller. Device included in this Data Sheet: Special Microcontroller Features: High-Performance RISC CPU: 14-Pin, 8-Bit CMOS Microcontroller Device included in this Data Sheet: PIC16C505 High-Performance RISC CPU: Only 33 instructions to learn Operating speed: - DC - 20 MHz clock input - DC - 200 ns instruction

More information

High-Performance 8-Bit Microcontrollers with EE/Flash Program Memory and In-System Programming Capability RTCC. 8-bit Timer RTCC

High-Performance 8-Bit Microcontrollers with EE/Flash Program Memory and In-System Programming Capability RTCC. 8-bit Timer RTCC PRELIMINARY December 3, 1998 SX18AC / SX20AC / SX28AC High-Performance 8-Bit Microcontrollers with EE/Flash Program Memory and In-System Programming Capability 1.0 PRODUCT OVERVIEW 1.1 Introduction The

More information

PIC16F84A. 18-pin Enhanced Flash/EEPROM 8-Bit Microcontroller. Devices Included in this Data Sheet: Pin Diagrams. High Performance RISC CPU Features:

PIC16F84A. 18-pin Enhanced Flash/EEPROM 8-Bit Microcontroller. Devices Included in this Data Sheet: Pin Diagrams. High Performance RISC CPU Features: M PIC6F84A 8-pin Enhanced Flash/EEPROM 8-Bit Microcontroller Devices Included in this Data Sheet: PIC6F84A Extended voltage range device available (PIC6LF84A) High Performance RISC CPU Features: Only 35

More information

PIC12(L)F1571/2 Memory Programming Specification TABLE 1-1: PIN DESCRIPTIONS DURING PROGRAMMING FOR PIC12(L)F1571/2

PIC12(L)F1571/2 Memory Programming Specification TABLE 1-1: PIN DESCRIPTIONS DURING PROGRAMMING FOR PIC12(L)F1571/2 PIC12(L)F1571/2 Memory Programming Specification This document includes the programming specifications for the following devices: PIC12F1571 PIC12F1572 1.0 OVERVIEW PIC12LF1571 PIC12LF1572 The device can

More information

ET-PIC 24 WEB-V1. o Central Processing Unit (CPU) o System. o nanowatt Power Managed Modes. o Analog Features

ET-PIC 24 WEB-V1. o Central Processing Unit (CPU) o System. o nanowatt Power Managed Modes. o Analog Features ET-PIC 24 WEB-V1 ET-PIC 24 WEB-V1 is PIC Board Microcontroller from Microchip that uses 16 Bit No.PIC24FJ128GA008 Microcontroller for processing data and develops board. The remarkable specification of

More information