Electronic Components Datasheet Search
  English  ▼

X  

16F628 Datasheet(PDF) 111 Page - Microchip Technology

Part # 16F628
Description  FLASH-Based 8-Bit CMOS Microcontrollers
PDF  168 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

16F628 Datasheet(HTML) 111 Page - Microchip Technology

Back Button 16F628 Datasheet HTML 107Page - Microchip Technology 16F628 Datasheet HTML 108Page - Microchip Technology 16F628 Datasheet HTML 109Page - Microchip Technology 16F628 Datasheet HTML 110Page - Microchip Technology 16F628 Datasheet HTML 111Page - Microchip Technology 16F628 Datasheet HTML 112Page - Microchip Technology 16F628 Datasheet HTML 113Page - Microchip Technology 16F628 Datasheet HTML 114Page - Microchip Technology 16F628 Datasheet HTML 115Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 111 / 168 page
background image
 2002 Microchip Technology Inc.
Preliminary
DS40044A-page 109
PIC16F627A/628A/648A
14.11 In-Circuit Serial Programming
The PIC16F627A/628A/648A microcontrollers can be
serially programmed while in the end application circuit.
This is simply done with two lines for clock and data,
and three other lines for power, ground, and the pro-
gramming voltage. This allows customers to manufac-
ture boards with unprogrammed devices and then
program the microcontroller just before shipping the
product. This also allows the most recent firmware, or
a custom firmware to be programmed.
The device is placed into a Program/Verify mode by
holding the RB6 and RB7 pins low while raising the
MCLR (V
PP) pin from VIL to VIHH (see programming
specification). RB6 becomes the programming clock
and RB7 becomes the programming data. Both RB6
and RB7 are Schmitt Trigger inputs in this mode.
After RESET, to place the device into Programming/
Verify mode, the program counter (PC) is at location
00h. A 6-bit command is then supplied to the device.
Depending on the command, 14 bits of program data
are then supplied to or from the device, depending if
the command was a load or a read. For complete
details of serial programming, please refer to the Pro-
gramming Specifications (DS41196).
A typical In-Circuit Serial Programming connection is
shown in Figure 14-18.
FIGURE 14-18:
TYPICAL IN-CIRCUIT
SERIAL PROGRAMMING
CONNECTION
14.12 Low Voltage Programming
The LVP bit of the configuration word, enables the low
voltage programming. This mode allows the microcon-
troller to be programmed via ICSP using only a 5V
source. This mode removes the requirement of V
IHH to
be placed on the MCLR pin. The LVP bit is normally
erased to '1' which enables the low voltage program-
ming. In this mode, the RB4/PGM pin is dedicated to
the programming function and ceases to be a general
purpose I/O pin. The device will enter Programming
mode when a '1' is placed on the RB4/PGM pin. The
HV Programming mode is still available by placing V
IHH
on the MCLR pin.
If Low-voltage Programming mode is not used, the LVP
bit should be programmed to a '0' so that RB4/PGM
becomes a digital I/O pin. To program the device, V
IHH
must be placed onto MCLR during programming. The
LVP bit may only be programmed when programming
is entered with V
IHH on MCLR. The LVP bit cannot be
programmed when programming is entered with RB4/
PGM.
It should be noted, that once the LVP bit is programmed
to 0, only high voltage Programming mode can be used
to program the device.
External
Connector
Signals
To Normal
Connections
To Normal
Connections
PIC16F627A/628A/648A
V
DD
V
SS
RA5/MCLR/V
PP
RB6/PGC
RB7/PGD
+5V
0V
V
PP
CLK
Data I/O
V
DD
Note 1: While in this mode the RB4 pin can no
longer be used as a general purpose I/O
pin.
2: V
DD must be 5.0V +10% during erase
operations.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com