PIC16F54-I/P Microchip Technology, PIC16F54-I/P Datasheet
PIC16F54-I/P
Specifications of PIC16F54-I/P
Available stocks
Related parts for PIC16F54-I/P
PIC16F54-I/P Summary of contents
Page 1
... ICSPDAT MCLR/V Program/Verify mode Legend Input Output Power Note 1: In the PIC16F54, the programming high voltage is internally generated. To activate the Program/Verify mode, high voltage of I IHH © 2007 Microchip Technology Inc. Pin Diagrams PDIP, SOIC RA2 RA3 T0CKI MCLR RB0 RB1 ...
Page 2
... PIC16F54 2.0 PROGRAM MODE ENTRY 2.1 Program Memory Map The user memory space extends from 0x000 to 0x1FF. In Program/Verify mode, the program memory space extends from 0x000 to 0x3FF, with the first half (0x000- 0x1FF) being user program memory and the second half (0x200-0x3FF) being configuration memory. The PC will increment from 0x000 to 0x1FF, then to 0x200 (not to 0x0000) ...
Page 3
... The data must adhere to the setup (T and hold (T 1) times with respect to the falling edge HLD of the clock (see Table 5-1). TABLE 2-1: COMMAND MAPPING FOR PIC16F54 Command Load Data for Program Memory Read Data from Program Memory Increment Address Begin Programming ...
Page 4
... PIC16F54 FIGURE 2-3: LOAD DATA COMMAND (PROGRAM/VERIFY ICSPCLK ICSPDAT SET T 2.4.2.2 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 ...
Page 5
... End PROG Programming command. This command programs the current location, no erase is performed. FIGURE 2-6: BEGIN PROGRAMMING (EXTERNALLY TIMED) 1 ICSPCLK ICSPDAT 0 © 2007 Microchip Technology Inc. T DLY SET T 1 HLD SET HLD Preliminary PIC16F54 2 Next Command PROG End Programming Command DS41207D-page 5 ...
Page 6
... PIC16F54 2.4.2.5 End Programming The End Programming command terminates the program process by removing the high programming voltage from the memory cells. A delay of T Table 5-1) is required before the next command to allow the internal programming voltage to discharge (see Figure 2-7). FIGURE 2-7: ...
Page 7
... FIGURE 2-9: ONE-WORD PROGRAM FLOWCHART – PIC16F54 PROGRAM MEMORY Start Enter Program Mode PC = 0x3FF (Config Word) Increment Address Bulk Erase Device One Word Program Cycle Read Data from Program Memory Data Correct? Yes Increment No All Locations Address Done? Command Yes Exit Program ...
Page 8
... PIC16F54 FIGURE 2-10: PROGRAM FLOWCHART – PIC16F54 CONFIGURATION MEMORY Start Enter Program Mode PC = 0x3FF (Config Word) One-Word Programming Cycle (see Figure 2-9) Read Data Command Data No Correct? Yes Increment Address Command No Address = 0x200 Yes Load Data Command One-Word Programming Cycle (see Figure 2-9) ...
Page 9
... AND USER ID Increment PC © 2007 Microchip Technology Inc. Start Enter Program/Verify mode PC = 0x3FF (Config Word) Bulk Erase Device Wait T ERA Done Start Enter Program/Verify mode PC = 0x3FF (Config Word 0x200? (First user ID) Yes Bulk Erase Device Wait T ERA Done Preliminary PIC16F54 DS41207D-page 9 ...
Page 10
... PIC16F54 3.0 CONFIGURATION WORD The PIC16F54 has several Configuration bits. These bits can be programmed (reads ‘0’), or left unchanged (reads ‘1’), to select various device configurations. REGISTER 3-1: CONFIGURATION WORD — — — — bit 11 Legend Readable bit W = Writable bit -n = Value at POR ‘ ...
Page 11
... CODE PROTECTION For the PIC16F54, once code protection is enabled, all program memory locations above 0x3F read all ‘0’s. Program memory locations 0x00-0x3F are always unprotected. The ID locations and the Configuration Word read out in an unprotected fashion possible to program the ID locations and the Configuration Word after code-protect is enabled ...
Page 12
... PIC16F54 5.0 PROGRAM/VERIFY MODE ELECTRICAL CHARACTERISTICS TABLE 5-1: AC/DC CHARACTERISTICS TIMING REQUIREMENTS FOR PROGRAM/VERIFY MODE AC/DC CHARACTERISTICS Sym. Characteristics General V V level for programming operations, DDPROG DD program memory V V level for Bulk Erase operations, DDERA DD program memory I level for programming operations, ...
Page 13
... PowerTool, REAL ICE, rfLAB, Select Mode, Total Endurance, UNI/O, WiperLock and ZENA 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. ...
Page 14
... Taiwan - Kaohsiung Tel: 886-7-536-4818 Fax: 886-7-536-4803 Taiwan - Taipei Tel: 886-2-2500-6610 Fax: 886-2-2508-0102 Thailand - Bangkok Tel: 66-2-694-1351 Fax: 66-2-694-1350 Preliminary © 2008 Microchip Technology Inc. EUROPE Austria - Wels Tel: 43-7242-2244-39 Fax: 43-7242-2244-393 Denmark - Copenhagen Tel: 45-4450-2828 Fax: 45-4485-2829 France - Paris Tel: 33-1-69-53-63-20 ...