Memory Programming Specification PIC16F506 RB2/C1OUT/AN2 RC0/C2IN+ RC4/C2OUT RC1/C2IN- RC3 PIN DESCRIPTIONS (DURING PROGRAMMING): PIC16F506

Size: px
Start display at page:

Download "Memory Programming Specification PIC16F506 RB2/C1OUT/AN2 RC0/C2IN+ RC4/C2OUT RC1/C2IN- RC3 PIN DESCRIPTIONS (DURING PROGRAMMING): PIC16F506"

Transcription

1 Memory Programming Specification PIC16F506 This document includes the programming specifications for the following devices: PIC16F PROGRAMMING THE PIC16F506 The PIC16F506 is programmed using a serial method. The Serial mode will allow the PIC16F506 to be programmed while in the user s system. This allows for increased design flexibility. This programming specification applies to PIC16F506 devices in all packages. 1.1 Hardware Requirements The PIC16F506 requires one power supply for VDD (5.0V) and one for VPP (12V). 1.2 Program/Verify Mode The Program/Verify mode for the PIC16F506 allows programming of user program memory, user ID locations, backup OSCCAL location and the Configuration Word. FIGURE 1-1: PIN DIAGRAMS PDIP, SOIC, TSSOP VDD 1 14 VSS RB5/OSC1/CLKIN 2 13 RB0/ICSPDAT/C1IN+/AN0 RB4/OSC2/CLKOUT MCLR/VPP/RB3 RC5/T0CKI PIC16F RB1/ICSPCLK/C1IN-/AN1 RB2/C1OUT/AN2 RC0/C2IN+ RC4/C2OUT 6 9 RC1/C2IN- RC3 7 8 RC2/CVREF TABLE 1-1: Pin Name PIN DESCRIPTIONS (DURING PROGRAMMING): PIC16F506 During Programming Function Pin Type Pin Description RB1 ICSPCLK I Clock input Schmitt Trigger input RB0 ICSPDAT I/O Data input/output Schmitt Trigger input MCLR/VPP/RB3 Program/Verify mode P (1) Program Mode Select VDD VDD P Power Supply VSS VSS P Ground Legend: I = Input, O = Output, P = Power te 1: In the PIC16F505, the programming high voltage is internally generated. To activate the Program/Verify mode, high voltage of IIHH current capability (see Table 6-1) needs to be applied to the MCLR input Microchip Technology Inc. DS41258A-page 1

2 2.0 MEMORY MAPPING 2.1 User Program Memory Map The user memory space extends from (0x000-0x3FF) on the PIC16F506. In Program/Verify mode, the program memory space extends from (0x000-0x7FF). The first half, (0x000-0x3FF), is user program memory. The second half, (0x400-0x7FF), is configuration memory. The PC will increment from (0x000 to 0x3FF), then to 0x400 (not to 0x000). In the configuration memory space, 0x400-0x43F is physically implemented. However, only locations 0x400 through 0x403 are available. Other locations are reserved. 2.2 User ID Locations A user may store identification information (ID) in four user ID locations. The user ID locations are mapped in [0x400:0x403]. It is recommended that the user use only the four Least Significant bits (LSb) of each user ID location and program the upper 8 bits as 1 s. The user ID locations read out normally, even after code protection is enabled. It is recommended that user ID location is written as ' bbbb' where 'bbbb' is user ID information. 2.3 Configuration Word The Configuration Word is located at 0x7FF. It is only available upon Program mode entry. Once an Increment Address command is issued, the Configuration Word is no longer accessible, regardless of the address of the program counter. te: By convention, the Configuration Word is stored at the logical address location of 0xFFF within the hex file for the PIC16F506 parts. This logical address location may not reflect the actual physical address of the part itself. It is the responsibility of the programming software to retrieve the Configuration Word from the logical address within the hex file and translate the address to the proper physical location for the part in use. 2.4 Oscillator Calibration Bits The oscillator calibration bits are stored at the Reset vector as the operand of a MOVLW instruction. Programming interfaces must allow users to program the calibration bits themselves for custom trimming of the INTOSC. Capability for programming the calibration bits when programming the entire memory array must also be maintained for backwards compatibility. 2.5 Backup OSCCAL Value The backup OSCCAL value 0x404 is a factory reserved location where the OSCCAL value is stored during testing of the INTOSC. This location is not erased during a standard bulk erase, but is erased if the PC is moved into configuration memory prior to invoking a bulk erase. If this value is erased, it is the user s responsibility to rewrite it back to this location for future use. FIGURE 2-1: User Memory Space Config Memory Space PIC16F506 PROGRAM MEMORY MAP On-chip User Program On-chip User Program Memory (Page 1) Reset Vector User ID Locations Backup OSCCAL Value Reserved Unimplemented Configuration Word 000h 1FFh 200h 3FEh 3FFh 400h 403h 404h 405h 43Fh 440h 7FEh 7FFh DS41258A-page Microchip Technology Inc.

3 3.0 COMMANDS AND ALGORITHMS 3.1 Program/Verify Mode The Program/Verify mode is entered by holding pins ICSPCLK and ICSPDAT low while raising VDD pin from VIL to VDD. Then raise VPP from VIL to VIHH. Once in this mode, the user program memory and configuration memory can be accessed and programmed in serial fashion. Clock and data are Schmitt Trigger input in this mode. The sequence that enters the device into the Programming/Verify mode places all other logic into the Reset state (the MCLR pin was initially at VIL). This means that all I/O are in the Reset state (high-impedance inputs) PROGRAMMING The programming sequence loads a word, programs, verifies and finally increments the PC. Program/Verify mode entry will set the address to 0x7FF. The Increment Address command will increment the PC. The available commands are shown in Table 3-1. FIGURE 3-1: VPP VDD ICSPDAT ICSPCLK ENTERING HIGH VOLTAGE PROGRAM/ VERIFY MODE TPPDP THLD SERIAL PROGRAM/VERIFY OPERATION The ICSPCLK pin is used for clock input and the ICSPDAT pin is used for data input/output during serial operation. To input a command, the clock pin is cycled six times. Each command bit is latched on the falling edge of the clock with the LSb of the command being input first. The data must adhere to the setup (TSET1) and hold (THLD1) times with respect to the falling edge of the clock (see Table 6-1). Commands that do not have data associated with them are required to wait a minimum of TDLY2 measured from the falling edge of the last command clock to the rising edge of the next command clock (see Table 6-1). Commands that do have data associated with them (Read and Load) are also required to wait TDLY2 between the command and the data segment measured from the falling edge of the last command clock to the rising edge of the first data clock. The data segment, consisting of 16 clock cycles, can begin after this delay. te: After every End Programming command, a delay of TDIS must be delayed. The first and last clock pulses during the data segment correspond to the START and STOP bits, respectively. Input data is a don t care during the Start and Stop cycles. The 14 clock pulses between the Start and Stop cycles, clock the 14 bits of input/output data. Data is transferred LSb first. During Read commands, in which the data is output from the PIC16F506, the ICSPDAT pin transitions from the high-impedance input state to the low-impedance output state at the rising edge of the second data clock (first clock edge after the Start cycle). The ICSPDAT pin returns to the high-impedance state at the rising edge of the 16th data clock (first edge of the Stop cycle). See Figure 3-3. The commands that are available are described in Table 3-1. TABLE 3-1: COMMAND MAPPING FOR PIC16F506 Command Mapping (MSb LSb) Data Load Data for Program Memory x x , data (14), 0 Read Data from Program Memory x x , data (14), 0 Increment Address x x Begin Programming x x Externally Timed End Programming x x Bulk Erase Program Memory x x Internally Timed 2005 Microchip Technology Inc. DS41258A-page 3

4 Load Data For Program Memory After receiving this command, the chip will load in a 14-bit data word when 16 cycles are applied, as described previously. Because this is a 12-bit core, the two MSbs of the data word are ignored. A timing diagram for the Load Data command is shown in Figure 3-2. FIGURE 3-2: LOAD DATA COMMAND (PROGRAM/VERIFY) ICSPCLK TDLY ICSPDAT TSET1 THLD1 x x strt_bit LSb MSb stp_bit TDLY1 TSET1 -+THLD Read Data From Program Memory After receiving this command, the chip will transmit data bits out of the program memory (user or configuration) currently addressed, starting with the second rising edge of the clock input. The data pin will go into Output mode on the second rising clock edge, and it will revert to Input mode (high-impedance) after the 16th rising edge. Because this is a 12-bit core, the two MSbs of the 14-bit word will be read as 0 s. If the program memory is code-protected (CP = 0), portions of the program memory will be read as zeros. See Section 5.0 Code Protection for details. FIGURE 3-3: READ DATA FROM PROGRAM MEMORY COMMAND TDLY ICSPCLK ICSPDAT x x TSET1 TDLY1 strt_bit LSb TDLY3 MSb stp_bit THLD1 input output input DS41258A-page Microchip Technology Inc.

5 Increment Address The PC is incremented when this command is received. A timing diagram of this command is shown in Figure 3-4. It is not possible to decrement the address counter. To reset this counter, the user must either exit and re-enter Program/Verify mode or increment the PC from 0x7FF to 0x000. FIGURE 3-4: ICSPCLK INCREMENT ADDRESS COMMAND TDLY2 Next Command 1 2 ICSPDAT x x TSET1 THLD Begin Programming (Externally Timed) A Load command must be given before every Begin Programming command. Programming will begin after this command is received and decoded. Programming requires (TPROG) time and is terminated using an End Programming command. This command programs the current location, no erase is performed. FIGURE 3-5: BEGIN PROGRAMMING (EXTERNALLY TIMED) ICSPCLK TPROG End Programming Command 1 2 ICSPDAT x TSET1 THLD1 x Microchip Technology Inc. DS41258A-page 5

6 End Programming The End Programming command terminates the program process. A delay of TDIS (see Table 6-1) is required before the next command to allow the internal programming voltage to discharge (see Figure 3-6). FIGURE 3-6: END PROGRAMMING (EXTERNALLY TIMED) ICSPCLK TDIS Next Command 1 2 ICSPDAT x x TSET1 THLD Bulk Erase Program Memory After this command is performed, the entire program memory and Configuration Word is erased. te: te: A fully erased part will read 1 s in every program memory location. The oscillator calibration bits are erased if a bulk erase is invoked. They must be read and saved prior to erasing the device and restored during the programming operation. Oscillator calibration bits are stored at the Reset vector as the operand of a MOVLW instruction. To perform a bulk erase of the program memory and configuration fuses, the following sequence must be performed (see Figure 3-12). 1. Read and save 0x3FF oscillator calibration bits and 0x404 backup OSCCAL bits into computer/ programmer temporary memory. 2. Enter Program/Verify mode. PC is set to Configuration Word address. 3. Perform a Bulk Erase Program Memory command. 4. Wait TERA to complete bulk erase. 5. Restore OSCCAL bits. 6. Restore backup OCCAL bits. To perform a full device bulk erase of the program memory, configuration fuses, user IDs and backup OSCCAL, the following sequence must be performed (see Figure 3-13). 1. Read and save 0x3FF oscillator calibration bits and 0x404 backup OSCCAL bits into computer/ programmer temporary memory. 2. Enter Program/Verify mode. 3. Increment PC to 0x400 (first user ID location). 4. Perform a Bulk Erase command. 5. Wait TERA to complete bulk erase. 6. Restore OSCCAL bits. 7. Restore backup OSCCAL bits. DS41258A-page Microchip Technology Inc.

7 TABLE 3-2: PC = BULK ERASE RESULTS Program Memory Space Program Memory Reset Vector Configuration Memory Space Configuration Word User ID Backup OSCCAL Configuration Word or Program Memory Space E E E U U First User ID Location E E E E E Legend: E = Erased, U = Unaffected FIGURE 3-7: BULK ERASE PROGRAM MEMORY COMMAND ICSPCLK TERA Next Command ICSPDAT TSET x x THLD Microchip Technology Inc. DS41258A-page 7

8 FIGURE 3-8: READING AND TEMPORARY SAVING OF THE OSCCAL CALIBRATION BITS Start Enter Programming Mode Increment Address PC = 0x3FF? Read Calibration Bits and Save in Computer/Programmer Temp. Memory Increment Address PC = 0x404? Read Backup OSCCAL Calibration Bits and Save in Computer/Programmer Temp. Memory Exit Programming Mode Done DS41258A-page Microchip Technology Inc.

9 FIGURE 3-9: RESTORING/PROGRAMMING THE OSCCAL CALIBRATION BITS Start Enter Programming Mode Increment Address PC = 0x3FF? Read Calibration Bits from Computer/Programmer Temp. Memory Write Calibration Bits back as the operand of a MOVLW instruction to 0x3FF Increment Address PC = 0x404? Read Backup OSCCAL Calibration Bits from Computer/Programmer Temp. Memory Write Backup OSCCAL Bits back to 0x404 Exit Programming Mode Done 2005 Microchip Technology Inc. DS41258A-page 9

10 FIGURE 3-10: PROGRAM FLOWCHART PIC16F506 PROGRAM MEMORY Start Read and save OSCCAL bits (Figure 3-8) Enter Programming Mode PC = 0x7FF (Config Word) Increment Address Bulk Erase Device PROGRAM CYCLE One Word Program Cycle Read Data from Program Memory Load Data for Program Memory Begin Programming Command (Externally timed) Data Correct? Report Programming Failure Wait TPROG End Programming Increment Address Command All Programming Locations Done? Wait TDIS Exit Programming Mode Restore OSCCAL bits (Figure 3-9) Program Configuration Memory (Figure 3-11) Done DS41258A-page Microchip Technology Inc.

11 FIGURE 3-11: PROGRAM FLOWCHART PIC16F506 CONFIGURATION MEMORY Start Enter Programming Mode PC = 0x7FF (Config Word) Load Data Command Programs Configuration Word One-Word Programming Cycle (see Figure 3-10) Read Data Command Data Correct? Increment Address Command Report Programming Failure Address = 0x400? Load Data Command Programs User IDs One-Word Programming Cycle (see Figure 3-10) Read Data Command Data Correct? Increment Address Command Report Programming Failure Address = 0x404? Exit Programming Mode Done 2005 Microchip Technology Inc. DS41258A-page 11

12 FIGURE 3-12: PROGRAM FLOWCHART ERASE PROGRAM MEMORY, CONFIGURATION WORD Start Bulk Erase Device Read and save OSCCAL bits (Figure 3-8) Wait TERA Enter Program/Verify mode PC = 0x7FF (Config Word) Restore OSCCAL Bits (Figure 3-9) Exit Programming Mode Done DS41258A-page Microchip Technology Inc.

13 FIGURE 3-13: PROGRAM FLOWCHART ERASE PROGRAM MEMORY, CONFIGURATION WORD AND USER ID Start Read and save OSCCAL bits (Figure 3-8) Enter Program/Verify mode PC = 0x7FF (Config Word) Increment PC PC = 0x400? (First User ID) Bulk Erase Device Wait TERA Restore OSCCAL bits (Figure 3-9) Exit Programming Mode Done 2005 Microchip Technology Inc. DS41258A-page 13

14 4.0 CONFIGURATION WORD The PIC16F506 has several configuration bits. These bits can be programmed (reads 0 ) or left unchanged (reads 1 ), to select various device configurations. REGISTER 4-1: CONFIGURATION WORD PIC16F506 IOSCFS MCLRE CP WDTE FOSC2 FOSC1 FOSC0 bit 11 bit 0 bit 11-7 Unimplemented: Read as 1 bit 6 IOSCFS: Internal Oscillator Frequency Select bit 1 = 8 MHz 0 = 4 MHz bit 5 MCLRE: Master Clear Enable bit 1 = MCLR/VPP/RB3 pin functions as MCLR 0 = MCLR/VPP/RB3 pin functions as RB3, MCLR internally tied to VDD bit 4 bit 3 bit 2-0 CP: Code Protection bit 1 = Code protection off 0 = Code protection on WDTE: Watchdog Timer Enable bit 1 = WDT enabled 0 = WDT disabled FOSC2:FOSC0: Oscillator Selection bits 000 = LP oscillator 001 = XT oscillator 010 = HS oscillator 011 = EC oscillator with RB4 function on RB4/OSC2/CLKOUT 100 = INTOSC with RB4 function on RB4/OSC2/CLKOUT 101 = INTOSC with CLKOUT function on RB4/OSC2/CLKOUT 110 = EXTRC with RB4 function on RB4/OSC2/CLKOUT 111 = EXTRC with CLKOUT function on RB4/OSC2/CLKOUT Legend: R = Readable bit W = Writable bit U = Unimplemented bit, read as 0 - n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown DS41258A-page Microchip Technology Inc.

15 5.0 CODE PROTECTION For the PIC16F506, once code protection is enabled, program memory locations 0x040-0x3FE inclusive, read all 0 s. Program memory locations 0x000-0x03F and 0x3FF are always unprotected. The user ID locations, backup OSCCAL location and the Configuration Word read out in an unprotected fashion. It is possible to program the user ID locations, backup OSCCAL location and the Configuration Word after code-protect is enabled. 5.1 Disabling Code Protection It is recommended that the following procedure be performed before any other programming is attempted. It is also possible to turn code protection off (CP = 1) using this procedure. However, all data within the program memory will be erased when this procedure is executed, and thus, the security of the code is not compromised. To disable code-protect: a) Enter Program mode. b) Execute Bulk Erase Program Memory command (001001). c) Wait TERA. 5.3 Checksum Computation CHECKSUM Checksum is calculated by reading the contents of the PIC16F506 memory locations and adding up the opcodes up to the maximum user addressable location (e.g., 0x3FF for the PIC16F506). Any CARRY bits exceeding 16 bits are neglected. Finally, the Configuration Word (appropriately masked) is added to the checksum. Checksum computation for the PIC16F506 is shown in Table 5-1. The checksum is calculated by summing the following: The contents of all program memory locations The Configuration Word, appropriately masked Masked ID locations (when applicable) The Least Significant 16 bits of this sum is the checksum. The following table describes how to calculate the checksum for each device. te: The checksum calculation differs depending on the code-protect setting. The Configuration Word and ID locations can always be read regardless of the codeprotect settings. 5.2 Embedding Configuration Word and User ID Information in the Hex File te: To allow portability of code, the programmer is required to read the Configuration Word and user ID locations from the hex file when loading the hex file. If Configuration Word information was not present in the hex file, then a simple warning message may be issued. Similarly, while saving a hex file, Configuration Word and user ID information must be included. An option to not include this information may be provided. Microchip Technology Incorporated feels strongly that this feature is important for the benefit of the end customer Microchip Technology Inc. DS41258A-page 15

16 TABLE 5-1: CHECKSUM COMPUTATIONS PIC16F506 (1) Device Code-Protect Checksum* Blank Value 0x723 at 0 and Max Address PIC16F506 OFF SUM[0x000:0x3FE] + CFGW & 0x07F 0xEC80 0xDAC8 ON SUM[0x00:0x3F] + CFGW & 0x07F + SUM_ID 0xECAF 0xD21B Legend: CFGW = Configuration Word SUM[a:b] = [Sum of locations a to b inclusive] SUM_ID = User ID locations masked by 0xF then made into a 16-bit value with ID0 as the Most Significant nibble. For example, ID0 = 0x1, ID1 = 0x2, ID2 = 0x3, ID3 = 0x4, then SUM_ID = 0x1234. *Checksum = [Sum of all the individual expressions] MODULO [0xFFFF] + = Addition & = Bitwise AND te 1: Checksum shown assumes that SUM_ID contains the unprotected checksum. DS41258A-page Microchip Technology Inc.

17 6.0 PROGRAM/VERIFY MODE ELECTRICAL CHARACTERISTICS TABLE 6-1: AC/DC CHARACTERISTICS AC/DC CHARACTERISTICS TIMING REQUIREMENTS FOR PROGRAM/VERIFY MODE Standard Operating Conditions (unless otherwise stated) Operating Temperature 10 C TA 40 C Operating Voltage 4.5V VDD 5.5V Sym Characteristics Min Typ Max Units General VDDPROG VDD level for read/write operations, program TBD 5.5 V memory VDDERA VDD level for bulk erase/write operations, V program memory IDDPROG IDD level for read/write operations, program TBD TBD ma memory IDDERA IDD level for bulk erase/write operations, TBD TBD ma program memory VIHH High voltage on MCLR for Program/Verify V mode entry IIHH MCLR pin current during Program/Verify mode 0.5 TBD ma TVHHR MCLR rise time (VSS to VIHH) for Program/ 1.0 µs Verify mode entry TPPDP Hold time after VPP 5 µs VIH1 (ICSPCLK, ICSPDAT) input high level 0.8 VDD V VIL1 (ICSPCLK, ICSPDAT) input low level 0.2 VDD V TSET0 ICSPCLK, ICSPDAT setup time before MCLR (Program/Verify mode selection pattern setup time) 100 ns THLD0 ICSPCLK, ICSPDAT hold time after MCLR (Program/Verify mode selection pattern setup time) 5 µs Serial Program/Verify TSET1 Data in setup time before clock 100 ns THLD1 Data in hold time after clock 100 ns TDLY1 Data input not driven to next clock input (delay required between command/data or command/ command) 1.0 µs TDLY2 Delay between clock to clock of next 1.0 µs command or data TDLY3 Clock to data out valid (during Read Data) 80 ns TERA Erase cycle time 6 10 (1) ms TPROG Programming cycle time (externally timed) 1 2 (1) ms TDIS Time delay for internal programming voltage 100 µs discharge TRESET Time between exiting Program mode with VDD and VPP at GND and then re-entering Program mode by applying VDD. 10 ms Legend: te 1: Conditions/ Comments TBD = To Be Determined. Minimum time to ensure that function completes successfully over voltage, temperature and device variations Microchip Technology Inc. DS41258A-page 17

18 NOTES: DS41258A-page Microchip Technology Inc.

19 te the following details of the code protection feature on Microchip devices: Microchip products meet the specification contained in their particular Microchip Data Sheet. Microchip believes that its family of products is one of the most secure families of its kind on the market today, when used in the intended manner and under normal conditions. There are dishonest and possibly illegal methods used to breach the code protection feature. All of these methods, to our knowledge, require using the Microchip products in a manner outside the operating specifications contained in Microchip s Data Sheets. Most likely, the person doing so is engaged in theft of intellectual property. Microchip is willing to work with the customer who is concerned about the integrity of their code. Neither Microchip nor any other semiconductor manufacturer can guarantee the security of their code. Code protection does not mean that we are guaranteeing the product as unbreakable. Code protection is constantly evolving. We at Microchip are committed to continuously improving the code protection features of our products. Attempts to break Microchip s code protection feature may be a violation of the Digital Millennium Copyright Act. If such acts allow unauthorized access to your software or other copyrighted work, you may have a right to sue for relief under that Act. Information contained in this publication regarding device applications and the like is provided only for your convenience and may be superseded by updates. It is your responsibility to ensure that your application meets with your specifications. MICROCHIP MAKES NO REPRESENTATIONS OR WAR- RANTIES OF ANY KIND WHETHER EXPRESS OR IMPLIED, WRITTEN OR ORAL, STATUTORY OR OTHERWISE, RELATED TO THE INFORMATION, INCLUDING BUT NOT LIMITED TO ITS CONDITION, QUALITY, PERFORMANCE, MERCHANTABILITY OR FITNESS FOR PURPOSE. Microchip disclaims all liability arising from this information and its use. Use of Microchip s products as critical components in life support systems is not authorized except with express written approval by Microchip. licenses are conveyed, implicitly or otherwise, under any Microchip intellectual property rights. Trademarks The Microchip name and logo, the Microchip logo, Accuron, dspic, KEELOQ, microid, MPLAB, PIC, PICmicro, PICSTART, PRO MATE, PowerSmart, rfpic, and SmartShunt are registered trademarks of Microchip Technology Incorporated in the U.S.A. and other countries. AmpLab, FilterLab, Migratable Memory, MXDEV, MXLAB, PICMASTER, SEEVAL, SmartSensor and The Embedded Control Solutions Company are registered trademarks of Microchip Technology Incorporated in the U.S.A. Analog-for-the-Digital Age, Application Maestro, dspicdem, dspicdem.net, dspicworks, ECAN, ECONOMONITOR, FanSense, FlexROM, fuzzylab, In-Circuit Serial Programming, ICSP, ICEPIC, MPASM, MPLIB, MPLINK, MPSIM, PICkit, PICDEM, PICDEM.net, PICLAB, PICtail, PowerCal, PowerInfo, PowerMate, PowerTool, rflab, rfpicdem, Select Mode, Smart Serial, SmartTel and Total Endurance are trademarks of Microchip Technology Incorporated in the U.S.A. and other countries. SQTP is a service mark of Microchip Technology Incorporated in the U.S.A. All other trademarks mentioned herein are property of their respective companies. 2005, Microchip Technology Incorporated, Printed in the U.S.A., All Rights Reserved. Printed on recycled paper. Microchip received ISO/TS-16949:2002 quality system certification for its worldwide headquarters, design and wafer fabrication facilities in Chandler and Tempe, Arizona and Mountain View, California in October The Company s quality system processes and procedures are for its PICmicro 8-bit MCUs, KEELOQ code hopping devices, Serial EEPROMs, microperipherals, nonvolatile memory and analog products. In addition, Microchip s quality system for the design and manufacture of development systems is ISO 9001:2000 certified Microchip Technology Inc. DS41258A-page 19

20 WORLDWIDE SALES AND SERVICE AMERICAS Corporate Office 2355 West Chandler Blvd. Chandler, AZ Tel: Fax: Technical Support: Web Address: Atlanta Alpharetta, GA Tel: Fax: Boston Westford, MA Tel: Fax: Chicago Itasca, IL Tel: Fax: Dallas Addison, TX Tel: Fax: Detroit Farmington Hills, MI Tel: Fax: Kokomo Kokomo, IN Tel: Fax: Los Angeles Mission Viejo, CA Tel: Fax: San Jose Mountain View, CA Tel: Fax: Toronto Mississauga, Ontario, Canada Tel: Fax: ASIA/PACIFIC Australia - Sydney Tel: Fax: China - Beijing Tel: Fax: China - Chengdu Tel: Fax: China - Fuzhou Tel: Fax: China - Hong Kong SAR Tel: Fax: China - Shanghai Tel: Fax: China - Shenyang Tel: Fax: China - Shenzhen Tel: Fax: China - Shunde Tel: Fax: China - Qingdao Tel: Fax: ASIA/PACIFIC India - Bangalore Tel: Fax: India - New Delhi Tel: Fax: Japan - Kanagawa Tel: Fax: Korea - Seoul Tel: Fax: or Singapore Tel: Fax: Taiwan - Kaohsiung Tel: Fax: Taiwan - Taipei Tel: Fax: Taiwan - Hsinchu Tel: Fax: EUROPE Austria - Weis Tel: Fax: Denmark - Ballerup Tel: Fax: France - Massy Tel: Fax: Germany - Ismaning Tel: Fax: Italy - Milan Tel: Fax: Netherlands - Drunen Tel: Fax: England - Berkshire Tel: Fax: /20/04 DS41258A-page Microchip Technology Inc.

PIC10F200/202/204/206

PIC10F200/202/204/206 Memory Programming Specification This document includes the programming specifications for the following devices: PIC10F200 PIC10F202 PIC10F204 PIC10F206 1.0 PROGRAMMING THE PIC10F200/202/204/206 The PIC10F200/202/204/206

More information

WORKSHOP-IN-A-BOX 2: LOW POWER SOLUTIONS DEMONSTRATION BOARD

WORKSHOP-IN-A-BOX 2: LOW POWER SOLUTIONS DEMONSTRATION BOARD WORKSHOP-IN-A-BOX 2: LOW POWER SOLUTIONS DEMONSTRATION BOARD 2004 Microchip Technology Inc. DS51512A Note the following details of the code protection feature on Microchip devices: Microchip products meet

More information

TB3016. Using the PIC MCU CTMU for Temperature Measurement IMPLEMENTATION BASIC PRINCIPLE MEASUREMENT CIRCUIT

TB3016. Using the PIC MCU CTMU for Temperature Measurement IMPLEMENTATION BASIC PRINCIPLE MEASUREMENT CIRCUIT Using the PIC MCU CTMU for Temperature Measurement Author: Padmaraja Yedamale Microchip Technology Inc. The Charge Time Measurement Unit (CTMU), introduced on the latest generation of PIC24F and PIC18F

More information

dspic30f3012/3013 dspic30f3012/3013 Rev. B0 Silicon Errata dspic30f3012/3013 (Rev. B0) Silicon Errata Silicon Errata Summary

dspic30f3012/3013 dspic30f3012/3013 Rev. B0 Silicon Errata dspic30f3012/3013 (Rev. B0) Silicon Errata Silicon Errata Summary dspic30f3012/3013 Rev. B0 Silicon Errata dspic30f3012/3013 (Rev. B0) Silicon Errata The dspic30f3012/3013 (Rev. B0) samples you have received were found to conform to the specifications and functionality

More information

FLASH Memory Programming Specification TABLE 1-1: PIN DESCRIPTIONS (DURING PROGRAMMING): PIC16F72

FLASH Memory Programming Specification TABLE 1-1: PIN DESCRIPTIONS (DURING PROGRAMMING): PIC16F72 M PIC16F72 FLASH Memory Programming Specification This document includes the programming specifications for the following device: PIC16F72 1.0 PROGRAMMING THE PIC16F72 The PIC16F72 is programmed using

More information

EEPROM Memory Programming Specification

EEPROM Memory Programming Specification M PIC16F8X EEPROM Memory Programming Specification This document includes the programming specifications for the following devices: PIC16F83 PIC16CR83 PIC16F84 PIC16CR84 PIC16F84A 1. PROGRAMMING THE PIC16F8X

More information

AN956. Migrating Applications to USB from RS-232 UART with Minimal Impact on PC Software OVERVIEW INTRODUCTION. Microchip Technology Inc.

AN956. Migrating Applications to USB from RS-232 UART with Minimal Impact on PC Software OVERVIEW INTRODUCTION. Microchip Technology Inc. Migrating Applications to USB from RS-232 UART with Minimal Impact on PC Software Author: INTRODUCTION Rawin Rojvanit Microchip Technology Inc. The RS-232 serial interface is no longer a common port found

More information

AN1286. Water-Resistant Capacitive Sensing INTRODUCTION THEORY OF OPERATION. Sensing Steps. Sensing Steps Description DESIGN

AN1286. Water-Resistant Capacitive Sensing INTRODUCTION THEORY OF OPERATION. Sensing Steps. Sensing Steps Description DESIGN Water-Resistant Capacitive Sensing AN1286 Author: INTRODUCTION Thomas Perme Steven Lin Microchip Technology Inc. This application note describes a new hardware sensing method which is resilient to water

More information

AN1303. Software Real-Time Clock and Calendar Using PIC16F1827 DATA INTERFACE INTRODUCTION IMPLEMENTATION INTERNAL REGISTER MAP

AN1303. Software Real-Time Clock and Calendar Using PIC16F1827 DATA INTERFACE INTRODUCTION IMPLEMENTATION INTERNAL REGISTER MAP Software Real-Time Clock and Calendar Using PIC16F1827 Author: INTRODUCTION Cristian Toma Microchip Technology Inc. This application note describes the implementation of software Real-Time Clock and Calendar

More information

PIC16F877A. FLASH Memory Programming Specification 1.0 PROGRAMMING THE PIC16F87XA

PIC16F877A. FLASH Memory Programming Specification 1.0 PROGRAMMING THE PIC16F87XA M PIC16F87XA FLASH Memory Programming Specification This document includes programming specifications for the following devices: Pin Diagrams PDIP, SOIC PIC16F873A PIC16F874A PIC16F876A PIC16F877A 1.0

More information

AN1199. 1-Wire Communication with PIC Microcontroller INTRODUCTION. OVERVIEW OF THE 1-Wire BUS. 1-Wire Protocol. Prerequisites

AN1199. 1-Wire Communication with PIC Microcontroller INTRODUCTION. OVERVIEW OF THE 1-Wire BUS. 1-Wire Protocol. Prerequisites 1-Wire Communication with PIC Microcontroller Author: INTRODUCTION This application note introduces the user to the 1-Wire communication protocol and describes how a 1-Wire device can be interfaced to

More information

AN1142. USB Mass Storage Class on an Embedded Host INTRODUCTION. USB Mass Storage Class. Overview

AN1142. USB Mass Storage Class on an Embedded Host INTRODUCTION. USB Mass Storage Class. Overview USB Mass Storage Class on an Embedded Host Author: INTRODUCTION With the introduction of Microchip's microcontrollers with the USB OTG peripheral, microcontroller applications can easily support USB Embedded

More information

Timers: Timer0 Tutorial (Part 1)

Timers: Timer0 Tutorial (Part 1) Timers: Timer0 Tutorial (Part 1) 2007 Microchip Technology Inc. DS51682A Note the following details of the code protection feature on Microchip devices: Microchip products meet the specification contained

More information

Installing and Licensing MPLAB XC C Compilers

Installing and Licensing MPLAB XC C Compilers Installing and Licensing MPLAB XC C Compilers DS50002059G Note the following details of the code protection feature on Microchip devices: Microchip products meet the specification contained in their particular

More information

Analog-to-Digital Converters

Analog-to-Digital Converters Analog-to-Digital Converters In this presentation we will look at the Analog-to-Digital Converter Peripherals with Microchip s midrange PICmicro Microcontrollers series. 1 Analog-to-Digital Converters

More information

Recommended Usage of Microchip 23X256/23X640 SPI Serial SRAM Devices RECOMMENDED CONNECTIONS FOR 23X256,23X640 SERIES DEVICES VCC 23X256/ HOLD.

Recommended Usage of Microchip 23X256/23X640 SPI Serial SRAM Devices RECOMMENDED CONNECTIONS FOR 23X256,23X640 SERIES DEVICES VCC 23X256/ HOLD. Recommended Usage of Microchip 23X256/23X640 SPI Serial SRAM Devices Author: INTRODUCTION Martin Bowman Microchip Technology Inc. This document details recommended usage of the Microchip 23X256 and 23X640

More information

AN687. Precision Temperature-Sensing With RTD Circuits RTD OVERVIEW INTRODUCTION EQUATION 1:

AN687. Precision Temperature-Sensing With RTD Circuits RTD OVERVIEW INTRODUCTION EQUATION 1: Precision Temperature-Sensing With RTD Circuits Author: INTRODUCTION Bonnie C. Baker Microchip Technology Inc. The most widely measured phenomena in the process control environment is temperature. Common

More information

TC4421/TC4422. Functional Block Diagram. TC4421 Inverting. TC4422 Non-Inverting V DD. 300 mv Output. Input 4.7V. GND Effective. Input.

TC4421/TC4422. Functional Block Diagram. TC4421 Inverting. TC4422 Non-Inverting V DD. 300 mv Output. Input 4.7V. GND Effective. Input. 9A High-Speed MOSFET Drivers Features High Peak Output Current: 9A Wide Input Supply Voltage Operating Range: - 4.5V to 18V High Continuous Output Current: 2A Max Fast Rise and Fall Times: - 3 ns with

More information

AN1156. Battery Fuel Measurement Using Delta-Sigma ADC Devices INTRODUCTION REVIEW OF BATTERY CHARGING AND DISCHARGING CHARACTERISTICS

AN1156. Battery Fuel Measurement Using Delta-Sigma ADC Devices INTRODUCTION REVIEW OF BATTERY CHARGING AND DISCHARGING CHARACTERISTICS Battery Fuel Measurement Using Delta-Sigma ADC Devices Author: INTRODUCTION Youbok Lee, Ph.D. Microchip Technology Inc. The battery fuel status indicator is a common feature of the battery-supported handheld

More information

How To Improve Electromagnetic Compatibility

How To Improve Electromagnetic Compatibility Introducing the EMC Newsletter What is EMC? Issue 1, November 2004 NOVEMBER 2004 Rodger Richey Senior Applications Manager Welcome to the first issue of the EMC Newsletter created by the Application Engineers

More information

Section 27. Device Configuration Bits

Section 27. Device Configuration Bits M Section 27. Device Configuration Bits HIGHLIGHTS This section of the manual contains the following major topics: 27.1 Introduction...27-2 27.2 Configuration Word Bits...27-4 27.3 Program Verification/Code

More information

Universal Programming Module 2

Universal Programming Module 2 Universal Programming Module OVERVIEW The Universal Programming Module (UPM) is a handy, low-cost board that supports the programming of Microchip devices using MPLAB in-circuit emulators and debuggers.

More information

AN709. System Level Design Considerations When Using I 2 C TM Serial EEPROM Devices INTRODUCTION INSURING BUS-FREE DURING POWER-UP

AN709. System Level Design Considerations When Using I 2 C TM Serial EEPROM Devices INTRODUCTION INSURING BUS-FREE DURING POWER-UP M AN709 System Level Design Considerations When Using I 2 C TM Serial EEPROM Devices Author: INTRODUCTION Rick Stoneking Developing systems that implement the I 2 C protocol for communicating with serial

More information

PICkit 2 Microcontroller Programmer USER S GUIDE

PICkit 2 Microcontroller Programmer USER S GUIDE PICkit 2 Microcontroller Programmer USER S GUIDE 2007 Microchip Technology Inc. DS51553D Note the following details of the code protection feature on Microchip devices: Microchip products meet the specification

More information

MCRF202. 125 khz Passive RFID Device with Sensor Input. Not recommended for new designs. Package Type. Features. Description. Applications PDIP/SOIC

MCRF202. 125 khz Passive RFID Device with Sensor Input. Not recommended for new designs. Package Type. Features. Description. Applications PDIP/SOIC Not recommended for new designs. MCRF202 125 khz Passive RFID Device with Sensor Input Features External Sensor input Data polarity changes with Sensor input condition Read-only data transmission 96 or

More information

AN1325. mtouch Metal Over Cap Technology THEORY OF OPERATION INTRODUCTION CROSS SECTION OF METAL OVER CAPACITIVE (UNPRESSED)

AN1325. mtouch Metal Over Cap Technology THEORY OF OPERATION INTRODUCTION CROSS SECTION OF METAL OVER CAPACITIVE (UNPRESSED) mtouch Metal Over Cap Technology AN1325 Authors: INTRODUCTION Keith Curtis Dieter Peter Microchip Technology Inc. As a user interface, capacitive touch has several advantages: it is low power, low cost,

More information

TC1047/TC1047A. Precision Temperature-to-Voltage Converter. General Description. Applications. Block Diagram. Features.

TC1047/TC1047A. Precision Temperature-to-Voltage Converter. General Description. Applications. Block Diagram. Features. Precision Temperature-to-Voltage Converter Features Supply Voltage Range: - TC147: 2.7V to 4.4V - TC147A: 2.V to.v Wide Temperature Measurement Range: - -4 o C to +12 o C High Temperature Converter Accuracy:

More information

How To Use Microchip.Com

How To Use Microchip.Com PICkit 2 Programmer/Debugger User s Guide 2008 Microchip Technology Inc. DS51553E Note the following details of the code protection feature on Microchip devices: Microchip products meet the specification

More information

TCP/IP Networking: Web-Based Status Monitoring

TCP/IP Networking: Web-Based Status Monitoring TCP/IP Networking: Web-Based Status Monitoring Microchip TCP/IP Stack HTTP2 Module 2007 Microchip Technology Incorporated. All Rights Reserved. Web-Based Status Monitoring Slide 1 Welcome to the first

More information

AN1470. Manchester Decoder Using the CLC and NCO ABSTRACT INTRODUCTION MANCHESTER ENCODED DATA (AS PER G.E. THOMAS)

AN1470. Manchester Decoder Using the CLC and NCO ABSTRACT INTRODUCTION MANCHESTER ENCODED DATA (AS PER G.E. THOMAS) Manchester Decoder Using the CLC and NCO Authors: ABSTRACT A Manchester decoder can be built using Microchip s award winning CLC (Configurable Logic Cell) blocks and NCO (Numerically Controlled Oscillator)

More information

AN990. Analog Sensor Conditioning Circuits An Overview INTRODUCTION SENSOR APPLICATIONS. Target Audience. Goals. Description.

AN990. Analog Sensor Conditioning Circuits An Overview INTRODUCTION SENSOR APPLICATIONS. Target Audience. Goals. Description. Analog Conditioning Circuits An Overview Author: INTRODUCTION Target Audience This application note is intended for hardware design engineers that need to condition the output of common analog sensors.

More information

MCP1701A. 2 µa Low-Dropout Positive Voltage Regulator. Features. General Description. Applications. Package Types

MCP1701A. 2 µa Low-Dropout Positive Voltage Regulator. Features. General Description. Applications. Package Types 2 µa Low-Dropout Positive Voltage Regulator Features 2.0 µa Typical Quiescent Current Input Operating Voltage Range up to 10.0V Low-Dropout Voltage (LDO): - 120 mv (typical) @ 100 ma - 380 mv (typical)

More information

AN1265. KEELOQ with AES Microcontroller-Based Code Hopping Encoder INTRODUCTION DUAL ENCODER OPERATION BACKGROUND FUNCTIONAL INPUTS AND

AN1265. KEELOQ with AES Microcontroller-Based Code Hopping Encoder INTRODUCTION DUAL ENCODER OPERATION BACKGROUND FUNCTIONAL INPUTS AND KEELOQ with AES Microcontroller-Based Code Hopping Encoder Authors: INTRODUCTION This application note describes the design of a microcontroller-based KEELOQ Hopping Encoder using the AES encryption algorithm.

More information

Uninstalling Incorrect USB Device Drivers

Uninstalling Incorrect USB Device Drivers DEVELOPMENT SYSTEMS Uninstalling Incorrect USB Device Drivers RECOMMENDED UNINSTALL METHODS When using Microchip development tools, trouble may be experienced as a result of incorrect device drivers being

More information

AN1275. KEELOQ with Advanced Encryption Standard (AES) Receiver/Decoder KEY FEATURES OVERVIEW. Microchip Technology Inc.

AN1275. KEELOQ with Advanced Encryption Standard (AES) Receiver/Decoder KEY FEATURES OVERVIEW. Microchip Technology Inc. KEELOQ with Advanced Encryption Standard (AES) Receiver/Decoder Author: OVERVIEW Enrique Aleman Microchip Technology Inc. This application note describes a KEELOQ with AES code hopping decoder implemented

More information

PICmicro DC Motor Control Tips n Tricks

PICmicro DC Motor Control Tips n Tricks PICmicro DC Motor Control Tips n Tricks M Table of Contents Tips n Tricks Tips N Tricks Introduction TIP #1: Brushed DC Motor Drive Circuits...2 TIP #2: Brushless DC Motor Drive Circuits...5 TIP #3: Stepper

More information

PICkit TM 2 Microcontroller Programmer USER S GUIDE

PICkit TM 2 Microcontroller Programmer USER S GUIDE PICkit TM 2 Microcontroller Programmer USER S GUIDE 2006 Microchip Technology Inc. DS51553B Note the following details of the code protection feature on Microchip devices: Microchip products meet the specification

More information

AN1095. Emulating Data EEPROM for PIC18 and PIC24 Microcontrollers and dspic Digital Signal Controllers INTRODUCTION THEORY OF OPERATION

AN1095. Emulating Data EEPROM for PIC18 and PIC24 Microcontrollers and dspic Digital Signal Controllers INTRODUCTION THEORY OF OPERATION A1095 Emulating Data EEPROM for PIC18 and PIC24 Microcontrollers and dspic Digital Signal Controllers Author: ITRODUCTIO Microchip Technology has expanded its product portfolio to include a wide variety

More information

TB056. Demonstrating the Set_Report Request With a PS/2 to USB Keyboard Translator Example INTRODUCTION. The Set_Report Request.

TB056. Demonstrating the Set_Report Request With a PS/2 to USB Keyboard Translator Example INTRODUCTION. The Set_Report Request. Demonstrating the Set_Report Request With a PS/2 to USB Keyboard Translator Example Author: INTRODUCTION This Technical Brief details the translation of a PS/2 keyboard to a USB keyboard using the PIC16C745/

More information

In-Circuit Serial Programming (ICSP ) Guide

In-Circuit Serial Programming (ICSP ) Guide In-Circuit Serial Programming (ICSP ) Guide 2003 Microchip Technology Inc. May 2003 DS30277D te the following details of the code protection feature on Microchip devices: Microchip products meet the specification

More information

AN688. Layout Tips for 12-Bit A/D Converter Application GETTING A GOOD START INTRODUCTION. Microchip Technology Inc. / 2 MCP602

AN688. Layout Tips for 12-Bit A/D Converter Application GETTING A GOOD START INTRODUCTION. Microchip Technology Inc. / 2 MCP602 Layout Tips for 12-Bit A/D Converter Application Author: INTRODUCTION Bonnie C. Baker Microchip Technology Inc. This Application Note originally started as a cook book for a true 12-bit layout. The assumption

More information

Section 15. Input Capture

Section 15. Input Capture Section 15. Input Capture HIGHLIGHTS This section of the manual contains the following topics: 15.1 Introduction...15-2 15.2 Input Capture Registers...15-4 15.3 Timer Selection...15-8 15.4 Input Capture

More information

PICkit 3 Programmer/Debugger User s Guide

PICkit 3 Programmer/Debugger User s Guide PICkit 3 Programmer/Debugger User s Guide 2009 Microchip Technology Inc. DS51795A Note the following details of the code protection feature on Microchip devices: Microchip products meet the specification

More information

Designing A Li-Ion Battery Charger and Load Sharing System With Microchip s Stand-Alone Li-Ion Battery Charge Management Controller

Designing A Li-Ion Battery Charger and Load Sharing System With Microchip s Stand-Alone Li-Ion Battery Charge Management Controller Designing A Li-Ion Battery Charger and Load Sharing System With Microchip s Stand-Alone Li-Ion Battery Charge Management Controller Author: INTRODUCTION Brian Chu Microchip Technology Inc. Batteries often

More information

Features, Value and Benefits of Digital Control for Power Supplies

Features, Value and Benefits of Digital Control for Power Supplies Author: INTRODUCTION Sagar Khare Microchip Technology Inc. Control of Switch Mode Power Supplies (SMPSs) has traditionally been a purely analog domain. The advent of low-cost, high-performance Digital

More information

TC4420/TC4429. 6A High-Speed MOSFET Drivers. General Description. Features. Applications. Package Types (1)

TC4420/TC4429. 6A High-Speed MOSFET Drivers. General Description. Features. Applications. Package Types (1) 6A High-Speed MOSFET Drivers Features atch-up Protected: Will Withstand >1.5A Reverse Output Current ogic Input Will Withstand Negative Swing Up To 5V ESD Protected: 4 kv Matched Rise and Fall Times: -

More information

Uninstalling Incorrect USB Device Drivers

Uninstalling Incorrect USB Device Drivers DEVELOPMENT SYSTEMS Uninstalling Incorrect USB Device Drivers RECOMMENDED UNINSTALL METHODS When using the Microchip development tools listed below, trouble may be experienced as a result of incorrect

More information

LIN Serial Analyzer User s Guide Rev2.0

LIN Serial Analyzer User s Guide Rev2.0 LIN Serial Analyzer User s Guide Rev2.0 2008 Microchip Technology Inc. DS51675B Note the following details of the code protection feature on Microchip devices: Microchip products meet the specification

More information

M Floating Point to ASCII Conversion

M Floating Point to ASCII Conversion M Floating Point to ASCII Conversion AN670 Authors: INTRODUCTION It is often necessary to output a floating point number to a display. For example, to check calculations, one might want to output floating

More information

Selecting the MCU Memory Technology That s Right for You

Selecting the MCU Memory Technology That s Right for You ROM Microcontrollers Selecting the MCU Memory Technology That s Right for You Seamless Migration From To ROM www.microchip.com Many Applications Require Flexible Solutions Selecting only one microcontroller

More information

AN964. Software PID Control of an Inverted Pendulum Using the PIC16F684 INTRODUCTION. Ruan Lourens Microchip Technology Inc.

AN964. Software PID Control of an Inverted Pendulum Using the PIC16F684 INTRODUCTION. Ruan Lourens Microchip Technology Inc. Software PID Control of an Inverted Pendulum Using the PIC6F68 Author: John Charais Ruan Lourens Microchip Technology Inc. INTRODUCTION The purpose of this application note is to describe how a PIC6F68

More information

Section 28. In-Circuit Serial Programming (ICSP )

Section 28. In-Circuit Serial Programming (ICSP ) M Section 28. In-Circuit Serial Programming (ICSP ) HIGHLIGHTS This section of the manual contains the following major topics: 28. Introduction...28-2 28.2 Entering In-Circuit Serial Programming Mode...28-3

More information

Integrated Development Environment

Integrated Development Environment Development Tools Integrated Development Environment Transforming Ideas Into Realities The typical product development life cycle is comprised of smaller cycles each representing an iterative process toward

More information

TC1270/TC1271. 4-Pin µp Reset Monitors. Features. Package Type. General Description. Applications. Device Selection Table. Typical Operating Circuit

TC1270/TC1271. 4-Pin µp Reset Monitors. Features. Package Type. General Description. Applications. Device Selection Table. Typical Operating Circuit 查 询 TC1270FERC 供 应 商 TC1270/TC1271 4-Pin µp Reset Monitors Features Precision Monitor for 1.8V, 2.7V, 3.0V, 3.3V and 5.0V Nominal Supplies Manual Reset Input 140msec Minimum RESET, RESET Output Duration

More information

TC7660. Charge Pump DC-to-DC Voltage Converter. Package Types. Features. General Description. Applications. Functional Block Diagram TC7660

TC7660. Charge Pump DC-to-DC Voltage Converter. Package Types. Features. General Description. Applications. Functional Block Diagram TC7660 Charge Pump DC-to-DC Voltage Converter Features Wide Input Voltage Range:.V to V Efficient Voltage Conversion (99.9%, typ) Excellent Power Efficiency (9%, typ) Low Power Consumption: µa (typ) @ V IN =

More information

PACKAGE OUTLINE DALLAS DS2434 DS2434 GND. PR 35 PACKAGE See Mech. Drawings Section

PACKAGE OUTLINE DALLAS DS2434 DS2434 GND. PR 35 PACKAGE See Mech. Drawings Section PRELIMINARY DS2434 Battery Identification Chip FEATURES Provides unique ID number to battery packs PACKAGE OUTLINE Eliminates thermistors by sensing battery temperature on chip DALLAS DS2434 1 2 3 256

More information

TC4423A/TC4424A/TC4425A

TC4423A/TC4424A/TC4425A 3A Dual High-Speed Power MOSFET Drivers Features High Peak Output Current: 4.5A (typical) Wide Input Supply Voltage Operating Range: - 4.5V to 18V High Capacitive Load Drive Capability: - 18 pf in 12 ns

More information

PIC10F200/202/204/206 Data Sheet

PIC10F200/202/204/206 Data Sheet Data Sheet 6-Pin, 8-bit Flash Microcontrollers 2007 Microchip Technology Inc. DS41239D Note the following details of the code protection feature on Microchip devices: Microchip products meet the specification

More information

AN1332. Current Sensing Circuit Concepts and Fundamentals CURRENT SENSING RESISTOR INTRODUCTION. Description. Microchip Technology Inc.

AN1332. Current Sensing Circuit Concepts and Fundamentals CURRENT SENSING RESISTOR INTRODUCTION. Description. Microchip Technology Inc. Current Sensing Circuit Concepts and Fundamentals Author: INTRODUCTION Yang Zhen Microchip Technology Inc. Current sensing is a fundamental requirement in a wide range of electronic applications. Typical

More information

TB055. PS/2 to USB Mouse Translator IMPLEMENTATION OVERVIEW. Hardware FIGURE 1: PS/2 TO USB MOUSE TRANSLATOR HARDWARE DIAGRAM (1)

TB055. PS/2 to USB Mouse Translator IMPLEMENTATION OVERVIEW. Hardware FIGURE 1: PS/2 TO USB MOUSE TRANSLATOR HARDWARE DIAGRAM (1) PS/2 to USB Mouse Translator TB55 Author: OVERVIEW Reston Condit Microchip Technology Inc. This Technical Brief details the translation of a PS/2 mouse to a USB mouse using the PIC16C745/765. The PIC16C745/765

More information

DS1821 Programmable Digital Thermostat and Thermometer

DS1821 Programmable Digital Thermostat and Thermometer ma www.maxim-ic.com FEATURES Requires no external components Unique 1-Wire interface requires only one port pin for communication Operates over a -55 C to +125 C (67 F to +257 F) temperature range Functions

More information

Bootloader for dspic30f/33f and PIC24F/24H Devices

Bootloader for dspic30f/33f and PIC24F/24H Devices Bootloader for dspic30f/33f and PIC24F/24H Devices Author: Leonard Elevich and Veena Kudva Microchip Technology, Inc INTRODUCTION The bootloader for dspic30f/33f and PIC24H/24F devices is used to load

More information

AN873. Using the MCP2515 CAN Developer s Kit INTRODUCTION. PC Node. PICmicro Node BLOCK DIAGRAM OF MCP2515 DEVELOPMENT BOARD

AN873. Using the MCP2515 CAN Developer s Kit INTRODUCTION. PC Node. PICmicro Node BLOCK DIAGRAM OF MCP2515 DEVELOPMENT BOARD M Using the MCP2515 CAN Developer s Kit AN873 Author: INTRODUCTION The MCP2515 eases software development and shortens the learning curve for the MCP2515 by providing three PC software templates with different

More information

AN905. Brushed DC Motor Fundamentals INTRODUCTION PRINCIPLES OF OPERATION. Stator. Rotor SIMPLE TWO-POLE BRUSHED DC MOTOR. Microchip Technology Inc.

AN905. Brushed DC Motor Fundamentals INTRODUCTION PRINCIPLES OF OPERATION. Stator. Rotor SIMPLE TWO-POLE BRUSHED DC MOTOR. Microchip Technology Inc. Brushed DC Motor Fundamentals AN905 Author: Reston Condit Microchip Technology Inc. INTRODUCTION Brushed DC motors are widely used in applications ranging from toys to push-button adjustable car seats.

More information

TABLE 1: BUCK REGULATOR

TABLE 1: BUCK REGULATOR A Digital Constant Current Power LED Driver Author: INTRODUCTION Stephen Bowling Microchip Technology Inc. This document describes a power LED driver solution using the PIC12HV615 microcontroller (MCU).

More information

AN1212. Using USB Keyboard with an Embedded Host INTRODUCTION. USB Keyboard Overview. USB Keyboard with an Embedded Host USB KEYBOARD OUTPUT REPORT

AN1212. Using USB Keyboard with an Embedded Host INTRODUCTION. USB Keyboard Overview. USB Keyboard with an Embedded Host USB KEYBOARD OUTPUT REPORT Using USB Keyboard with an Embedded Host Author: INTRODUCTION Amardeep Gupta Microchip Technology Inc. Microcontroller applications can easily support USB embedded host functionality with the introduction

More information

AN1857. RGBW Color Mixing DALI Control Gear. COLOR MIXING USING RED, GREEN, BLUE AND WHITE LEDs INTRODUCTION HARDWARE

AN1857. RGBW Color Mixing DALI Control Gear. COLOR MIXING USING RED, GREEN, BLUE AND WHITE LEDs INTRODUCTION HARDWARE RGBW Color Mixing DALI Control Gear AN1857 Author: INTRODUCTION Mihai Cuciuc Microchip Technology Inc. This application note provides an example of obtaining custom colors by combining the spectra of the

More information

MCP3004/3008. 2.7V 4-Channel/8-Channel 10-Bit A/D Converters with SPI Serial Interface. Features. Description. Applications.

MCP3004/3008. 2.7V 4-Channel/8-Channel 10-Bit A/D Converters with SPI Serial Interface. Features. Description. Applications. 2.7V 4-Channel/8-Channel 10-Bit A/D Converters with SPI Serial Interface Features 10-bit resolution ± 1 LSB max DNL ± 1 LSB max INL 4 (MCP3004) or 8 (MCP3008) input channels Analog inputs programmable

More information

AN680. Passive RFID Basics INTRODUCTION DEFINITIONS. Modulation. Reader. Tag. Carrier. Microchip Technology Inc.

AN680. Passive RFID Basics INTRODUCTION DEFINITIONS. Modulation. Reader. Tag. Carrier. Microchip Technology Inc. Passive RFID Basics Author: INTRODUCTION Radio Frequency Identification (RFID) systems use radio frequency to identify, locate and track people, assets, and animals. Passive RFID systems are composed of

More information

PIC16F5X Data Sheet. Flash-Based, 8-Bit CMOS Microcontroller Series. 2007 Microchip Technology Inc. DS41213D

PIC16F5X Data Sheet. Flash-Based, 8-Bit CMOS Microcontroller Series. 2007 Microchip Technology Inc. DS41213D Data Sheet Flash-Based, 8-Bit CMOS Microcontroller Series 2007 Microchip Technology Inc. DS41213D Note the following details of the code protection feature on Microchip devices: Microchip products meet

More information

How to Implement ICSP Using PIC12C5XX OTP MCUs VDD. GP3/MCLR/VPP ICSP Connector. To application circuit Isolation circuits

How to Implement ICSP Using PIC12C5XX OTP MCUs VDD. GP3/MCLR/VPP ICSP Connector. To application circuit Isolation circuits TB017 How to Implement ICSP Using PIC12C5XX OTP MCUs Author: Thomas Schmidt custom orders for your products. IN-CIRCUIT SERIAL PROGRAMMING INTRODUCTION The technical brief describes how to implement in-circuit

More information

PIC18F1230/1330 Data Sheet

PIC18F1230/1330 Data Sheet Data Sheet 18/20/28-Pin, Enhanced Flash Microcontrollers with nanowatt Technology, High-Performance PWM and A/D 2006 Microchip Technology Inc. Advance Information DS39758B te the following details of the

More information

MSOP, PDIP, SOIC, TSSOP

MSOP, PDIP, SOIC, TSSOP 2.7V Dual Channel 10-Bit A/D Converter with SPI Serial Interface Features 10-bit resolution ±1 LSB max DNL ±1 LSB max INL Analog inputs programmable as single-ended or pseudo-differential pairs On-chip

More information

Getting Started with dspic30f Digital Signal Controllers User s Guide

Getting Started with dspic30f Digital Signal Controllers User s Guide Getting Started with dspic30f Digital Signal Controllers User s Guide 2005 Microchip Technology Inc. DS70151A Note the following details of the code protection feature on Microchip devices: Microchip products

More information

MCP73811/2. Simple, Miniature Single-Cell, Fully Integrated Li-Ion / Li-Polymer Charge Management Controllers. Description. Features.

MCP73811/2. Simple, Miniature Single-Cell, Fully Integrated Li-Ion / Li-Polymer Charge Management Controllers. Description. Features. Simple, Miniature Single-Cell, Fully Integrated Li-Ion / Li-Polymer Charge Management Controllers Features Complete Linear Charge Management Controller - Integrated Pass Transistor - Integrated Current

More information

TCM809/TCM810. 3-Pin Microcontroller Reset Monitors. General Description. Features. Applications. Pin Configurations. Typical Application Circuit

TCM809/TCM810. 3-Pin Microcontroller Reset Monitors. General Description. Features. Applications. Pin Configurations. Typical Application Circuit M TCM809/TCM810 3-Pin Microcontroller Reset Monitors Features Precision Monitor for 2.5V, 3.0V, 3.3V, 5.0V Nominal System Voltage Supplies 140 msec Minimum RESET Timeout Period RESET Output to = 1.0V (TCM809)

More information

MCP73X23 Lithium Iron Phosphate (LiFePO 4 ) Battery Charger Evaluation Board User s Guide

MCP73X23 Lithium Iron Phosphate (LiFePO 4 ) Battery Charger Evaluation Board User s Guide MCP73X23 Lithium Iron Phosphate (LiFePO 4 ) Battery Charger Evaluation Board User s Guide 2009 Microchip Technology Inc. DS51850A Note the following details of the code protection feature on Microchip

More information

MCP3204/3208. 2.7V 4-Channel/8-Channel 12-Bit A/D Converters with SPI Serial Interface. Features. Description. Applications.

MCP3204/3208. 2.7V 4-Channel/8-Channel 12-Bit A/D Converters with SPI Serial Interface. Features. Description. Applications. 2.7V 4-Channel/8-Channel 12-Bit A/D Converters with SPI Serial Interface Features 12-bit resolution ± 1 LSB max DNL ± 1 LSB max INL (MCP3204/3208-B) ± 2 LSB max INL (MCP3204/3208-C) 4 (MCP3204) or 8 (MCP3208)

More information

HT1632C 32 8 &24 16 LED Driver

HT1632C 32 8 &24 16 LED Driver 328 &216 LED Driver Features Operating voltage: 2.V~5.5V Multiple LED display 32 ROW /8 COM and 2 ROW & 16 COM Integrated display RAM select 32 ROW & 8 COM for 6 display RAM, or select 2 ROW & 16 COM for

More information

PIC18F1220/1320 Data Sheet

PIC18F1220/1320 Data Sheet Data Sheet 18/20/28-Pin High-Performance, Enhanced Flash Microcontrollers with 10-Bit A/D and nanowatt Technology 2007 Microchip Technology Inc. DS39605F te the following details of the code protection

More information

microid 125 khz RFID System Design Guide

microid 125 khz RFID System Design Guide microid 125 khz RFID System Design Guide 2004 Microchip Technology Inc. DS51115F DATA SHEET MARKINGS Microchip uses various data sheet markings to designate each document phase as it relates to the product

More information

Code Hopping Decoder Using a PIC16C56

Code Hopping Decoder Using a PIC16C56 Code Hopping Decoder Using a PIC6C56 AN66 Author: OVERVIEW Steven Dawson Microchip Technology Inc. This application note fully describes the working of a code hopping decoder implemented on a Microchip

More information

MCP2515 CAN Bus Monitor Demo Board User s Guide

MCP2515 CAN Bus Monitor Demo Board User s Guide MCP2515 CAN Bus Monitor Demo Board User s Guide 2008 Microchip Technology Inc. DS51757A Note the following details of the code protection feature on Microchip devices: Microchip products meet the specification

More information

Features. Instruction. Decoder Control Logic, And Clock Generators. Address Compare amd Write Enable. Protect Register V PP.

Features. Instruction. Decoder Control Logic, And Clock Generators. Address Compare amd Write Enable. Protect Register V PP. February 1999 NM9366 (MICROWIRE Bus Interface) 4096-Bit Serial EEPROM General Description The NM9366 devices are 4096 bits of CMOS non-volatile electrically erasable memory divided into 256 16-bit registers.

More information

AN874. Buck Configuration High-Power LED Driver INTRODUCTION. Voltage and Current. High-Power LEDs. Microchip Technology Inc.

AN874. Buck Configuration High-Power LED Driver INTRODUCTION. Voltage and Current. High-Power LEDs. Microchip Technology Inc. Buck Configuration High-Power LED Driver AN874 Author: INTRODUCTION The circuit and firmware described in this application note demonstrates a minimal parts count driver/controller for a high-power (1W

More information

dspic33e/pic24e dspic33e/pic24e Flash Programming Specification 1.0 DEVICE OVERVIEW 2.0 PROGRAMMING OVERVIEW OF THE dspic33e/pic24e

dspic33e/pic24e dspic33e/pic24e Flash Programming Specification 1.0 DEVICE OVERVIEW 2.0 PROGRAMMING OVERVIEW OF THE dspic33e/pic24e dspic33e/pic24e dspic33e/pic24e Flash Programming Specification 1.0 DEVICE OVERVIEW This document defines the programming specification for the dspic33e 16-bit Digital Signal Controller (DSC) and PIC24E

More information

AN1492. Microchip Capacitive Proximity Design Guide INTRODUCTION CAPACITIVE SENSING BASICS SENSING

AN1492. Microchip Capacitive Proximity Design Guide INTRODUCTION CAPACITIVE SENSING BASICS SENSING Microchip Capacitive Proximity Design Guide Author: INTRODUCTION Xiang Gao Microchip Technology Inc. Proximity detection provides a new way for users to interact with electronic devices without having

More information

HCS301. KEELOQ Code Hopping Encoder DESCRIPTION FEATURES PACKAGE TYPES HCS301 BLOCK DIAGRAM. Security. Operating. Other. Typical Applications

HCS301. KEELOQ Code Hopping Encoder DESCRIPTION FEATURES PACKAGE TYPES HCS301 BLOCK DIAGRAM. Security. Operating. Other. Typical Applications KEELOQ Code Hopping Encoder HCS301 FEATURES Security Programmable 28-bit serial number Programmable 64-bit encryption key Each transmission is unique 66-bit transmission code length 32-bit hopping code

More information

AN1256. Microchip s Power MOSFET Driver Simulation Models INTRODUCTION MODEL DESCRIPTION. Using The Power MOSFET Simulation Models

AN1256. Microchip s Power MOSFET Driver Simulation Models INTRODUCTION MODEL DESCRIPTION. Using The Power MOSFET Simulation Models Microchip s Power MOSFET Driver Simulation Models Author: INTRODUCTION Cliff Ellison (Microchip Technology Inc.) Ron Wunderlich (Innovative Ideas and Design) The simulation models for Microchip s power

More information

MCP3021. Low Power 10-Bit A/D Converter With I 2 C Interface. Description. Features. Applications. Functional Block Diagram.

MCP3021. Low Power 10-Bit A/D Converter With I 2 C Interface. Description. Features. Applications. Functional Block Diagram. M MCP321 Low Power 1-Bit A/D Converter With I 2 C Interface Features 1-bit resolution ±1 LSB DNL, ±1 LSB INL max. 25 µa max conversion current 5 na typical standby current, 1 µa max. I 2 C compatible serial

More information

MCP2120. Infrared Encoder/Decoder. Features. Pin Diagrams. Block Diagram. CMOS Technology PDIP, SOIC

MCP2120. Infrared Encoder/Decoder. Features. Pin Diagrams. Block Diagram. CMOS Technology PDIP, SOIC Infrared Encoder/Decoder MCP2120 Features Supports with IrDA Physical Layer Specification (version 1.3) UART to IR Encoder/Decoder - Interfaces with IrDA Compliant Transceivers - Used with any UART, including

More information

MPLAB IDE USER S GUIDE

MPLAB IDE USER S GUIDE MPLAB IDE USER S GUIDE 2005 Microchip Technology Inc. DS51519A Note the following details of the code protection feature on Microchip devices: Microchip products meet the specification contained in their

More information

AN1066. Microchip MiWi Wireless Networking Protocol Stack INTRODUCTION CONSIDERATIONS TERMINOLOGY FEATURES

AN1066. Microchip MiWi Wireless Networking Protocol Stack INTRODUCTION CONSIDERATIONS TERMINOLOGY FEATURES Microchip MiWi Wireless Networking Protocol Stack Author: INTRODUCTION Implementing applications with wireless networking is now common. From consumer devices to industrial applications, there is a growing

More information

MCP3004/3008. 2.7V 4-Channel/8-Channel 10-Bit A/D Converters with SPI Serial Interface. Features. Description. Applications. Functional Block Diagram

MCP3004/3008. 2.7V 4-Channel/8-Channel 10-Bit A/D Converters with SPI Serial Interface. Features. Description. Applications. Functional Block Diagram 2.7V 4-Channel/8-Channel 1-Bit A/D Converters with SPI Serial Interface Features 1-bit resolution ± 1 LSB max DNL ± 1 LSB max INL 4 (MCP34) or 8 (MCP38) input channels Analog inputs programmable as single-ended

More information

ZENA Wireless Network Analyzer User s Guide

ZENA Wireless Network Analyzer User s Guide ZENA Wireless Network Analyzer User s Guide 2007 Microchip Technology Inc. DS51606B Note the following details of the code protection feature on Microchip devices: Microchip products meet the specification

More information

AN1543. Using MRF24W with PIC32 Internal Program Flash Memory For EZ_CONFIG_STORE ALTERNATIVE LOW-COST SOLUTIONS OVERVIEW SCOPE

AN1543. Using MRF24W with PIC32 Internal Program Flash Memory For EZ_CONFIG_STORE ALTERNATIVE LOW-COST SOLUTIONS OVERVIEW SCOPE Using MRF24W with PIC32 Internal Program Flash Memory For EZ_CONFIG_STORE Author: OVERVIEW This application note describes the EZ_CONFIG_STORE feature used in the Wi-Fi G Demo Board and TCPIP-WiFi EZConfig

More information

Flexible Active Shutter Control Interface using the MC1323x

Flexible Active Shutter Control Interface using the MC1323x Freescale Semiconductor Document Number: AN4353 Application Note Rev. 0, 9/2011 Flexible Active Shutter Control Interface using the MC1323x by: Dennis Lui Freescale Hong Kong 1 Introduction This application

More information

CAT28C64B F R E E. 64K-Bit CMOS PARALLEL EEPROM L E A D FEATURES DESCRIPTION BLOCK DIAGRAM

CAT28C64B F R E E. 64K-Bit CMOS PARALLEL EEPROM L E A D FEATURES DESCRIPTION BLOCK DIAGRAM 64K-Bit CMOS PARALLEL EEPROM FEATURES Fast read access times: 90/120/150ns Low power CMOS dissipation: Active: 25 ma max. Standby: 100 µa max. Simple write operation: On-chip address and data latches Self-timed

More information

M25P05-A. 512-Kbit, serial flash memory, 50 MHz SPI bus interface. Features

M25P05-A. 512-Kbit, serial flash memory, 50 MHz SPI bus interface. Features 512-Kbit, serial flash memory, 50 MHz SPI bus interface Features 512 Kbits of flash memory Page program (up to 256 bytes) in 1.4 ms (typical) Sector erase (256 Kbits) in 0.65 s (typical) Bulk erase (512

More information

AN905. Brushed DC Motor Fundamentals INTRODUCTION PRINCIPLES OF OPERATION. Stator. Rotor SIMPLE TWO-POLE BRUSHED DC MOTOR. Microchip Technology Inc.

AN905. Brushed DC Motor Fundamentals INTRODUCTION PRINCIPLES OF OPERATION. Stator. Rotor SIMPLE TWO-POLE BRUSHED DC MOTOR. Microchip Technology Inc. Brushed DC Motor Fundamentals AN905 Author: Reston Condit Microchip Technology Inc. INTRODUCTION Brushed DC motors are widely used in applications ranging from toys to push-button adjustable car seats.

More information