PIC16C745/JW Microchip Technology, PIC16C745/JW Datasheet - Page 112
![IC MCU EPROM8KX14 USB A/D 28CDIP](/photos/7/29/72984/150-28-cdip_sml.jpg)
PIC16C745/JW
Manufacturer Part Number
PIC16C745/JW
Description
IC MCU EPROM8KX14 USB A/D 28CDIP
Manufacturer
Microchip Technology
Series
PIC® 16Cr
Datasheets
1.PIC16F616T-ISL.pdf
(8 pages)
2.PIC16C745-ISP.pdf
(165 pages)
3.PIC16C745-ISP.pdf
(6 pages)
4.PIC16C745-ISP.pdf
(6 pages)
Specifications of PIC16C745/JW
Core Processor
PIC
Core Size
8-Bit
Speed
24MHz
Connectivity
SCI, UART/USART, USB
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
22
Program Memory Size
14KB (8K x 14)
Program Memory Type
EPROM, UV
Ram Size
256 x 8
Voltage - Supply (vcc/vdd)
4.35 V ~ 5.25 V
Data Converters
A/D 5x8b
Oscillator Type
External
Operating Temperature
0°C ~ 70°C
Package / Case
28-CDIP (0.300", 7.62mm) Window
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Eeprom Size
-
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
PIC16C745/JW
Manufacturer:
MICROCHIP
Quantity:
51
Part Number:
PIC16C745/JW
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
PIC16C745/765
FIGURE 13-8: WAKE-UP FROM SLEEP THROUGH INTERRUPT
13.10
If the code protection bit(s) have not been pro-
grammed, the on-chip program memory can be read
out for verification purposes.
13.11
Four memory locations (2000h - 2003h) are designated
as ID locations where the user can store checksum or
other code-identification numbers. These locations are
not accessible during normal execution but are read-
able and writable during program/verify. It is recom-
mended that only the four least significant bits of the ID
location are used.
13.12
PIC16CXX microcontrollers can be serially pro-
grammed 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 programming
voltage. This allows customers to manufacture boards
with unprogrammed devices, and then program the
microcontroller just before shipping the product. This
also allows the most recent firmware, or a custom firm-
ware to be programmed.
DS41124C-page 112
Note 1:
Note:
INTF flag
(INTCON<1>)
GIE bit
(INTCON<7>)
INSTRUCTION FLOW
Instruction
fetched
Instruction
executed
CLKOUT
INT pin
2:
3:
4:
OSC1
Program Verification/Code Protection
ID Locations
PC
In-Circuit Serial Programming
HS oscillator mode assumed.
T
GIE = ’1’ assumed. After wake-up, the processor jumps to the interrupt routine. If GIE = ’0’, execution will continue in-line.
CLKOUT is not available in these osc modes, but shown here for timing reference.
(4)
Microchip does not recommend code pro-
tecting windowed devices. Devices that are
code protected may be erased, but not pro-
grammed again.
OST
Inst(PC) = SLEEP
Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1
= 1024T
Inst(PC - 1)
PC
OSC
(drawing not to scale). This delay is not present in EC osc mode.
Inst(PC + 1)
SLEEP
PC+1
Processor in
SLEEP
PC+2
Preliminary
T
OST
(2)
Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4
Inst(PC + 2)
Inst(PC + 1)
The device is placed into a program/verify mode by
holding the RB6 and RB7 pins low, while raising the
MCLR (V
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
PIC16C6X/7X Programming Specifications (Literature
#DS30228).
FIGURE 13-9: TYPICAL IN-CIRCUIT SERIAL
PC+2
External
Connector
Signals
Data I/O
Interrupt Latency
CLK
+5V
V
0V
PP
PP
Dummy cycle
) pin from V
PC + 2
PROGRAMMING
CONNECTION
(2)
To Normal
Connections
To Normal
Connections
IL
2000 Microchip Technology Inc.
Inst(0004h)
Dummy cycle
to V
0004h
IHH
(see programming
V
V
MCLR/V
RB6
RB7
DD
SS
Inst(0005h)
PIC16CXX
Inst(0004h)
0005h
V
PP
DD