PIC16C642-04/SO Microchip Technology, PIC16C642-04/SO Datasheet

IC MCU OTP 4KX14 COMP 28SOIC

PIC16C642-04/SO

Manufacturer Part Number
PIC16C642-04/SO
Description
IC MCU OTP 4KX14 COMP 28SOIC
Manufacturer
Microchip Technology
Series
PIC® 16Cr
Datasheets

Specifications of PIC16C642-04/SO

Core Size
8-Bit
Program Memory Size
7KB (4K x 14)
Core Processor
PIC
Speed
4MHz
Peripherals
Brown-out Detect/Reset, LED, POR, WDT
Number Of I /o
22
Program Memory Type
OTP
Ram Size
176 x 8
Voltage - Supply (vcc/vdd)
4 V ~ 6 V
Oscillator Type
External
Operating Temperature
0°C ~ 70°C
Package / Case
28-SOIC (7.5mm Width)
Controller Family/series
PIC16C
No. Of I/o's
22
Ram Memory Size
176Byte
Cpu Speed
4MHz
No. Of Timers
1
Processor Series
PIC16C
Core
PIC
Data Bus Width
8 bit
Data Ram Size
176 B
Interface Type
RS- 232
Maximum Clock Frequency
4 MHz
Number Of Programmable I/os
33
Number Of Timers
8
Operating Supply Voltage
3 V to 6 V
Maximum Operating Temperature
+ 70 C
Mounting Style
SMD/SMT
3rd Party Development Tools
52715-96, 52716-328, 52717-734
Development Tools By Supplier
ICE2000, DM163022
Minimum Operating Temperature
0 C
On-chip Adc
10 bit
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Data Converters
-
Connectivity
-
Lead Free Status / Rohs Status
 Details
Devices included in this data sheet:
• PIC16C641
• PIC16C642
• PIC16C661
• PIC16C662
High Performance RISC CPU:
• Only 35 instructions to learn
• All single-cycle instructions (200 ns), except for
• Operating speed:
• Interrupt capability
• 8-level deep hardware stack
• Direct, Indirect and Relative addressing modes
Peripheral Features:
• Up to 33 I/O pins with individual direction control
• High current sink/source for direct LED drive
• Analog comparator module with:
• Timer0: 8-bit timer/counter with 8-bit
Special Microcontroller Features:
• Power-on Reset (POR)
• Power-up Timer (PWRT) and
• Brown-out Reset
• Watchdog Timer (WDT) with its own on-chip RC
• Programmable code protection
• Power saving SLEEP mode
• Selectable oscillator options
• Serial in-circuit programming (via two pins)
Device
PIC16C641
PIC16C642
PIC16C661
PIC16C662
1996 Microchip Technology Inc.
program branches which are two-cycle
- DC - 20 MHz clock input
- DC - 200 ns instruction cycle
- Two analog comparators
- Programmable on-chip voltage reference
- Programmable input multiplexing from device
- Comparator outputs can be output signals
programmable prescaler
Oscillator Start-up Timer (OST)
oscillator for reliable operation
8-Bit EPROM Microcontrollers with Analog Comparators
(V
inputs and internal voltage reference
REF
) module
Memory x14
Program
2K
4K
2K
4K
This document was created with FrameMaker 4 0 4
Memory x8
Data
128
176
128
176
PIC16C64X & PIC16C66X
Preliminary
Pin Diagrams
• Four user programmable ID locations
• Program Memory Parity Error checking circuitry
• CMOS Technology:
• Low-power, high-speed CMOS EPROM technology
• Fully static design
• Wide operating voltage range: 3.0V to 6.0V
• Commercial, Industrial and Automotive
• Low power consumption
OSC2/CLKOUT
RA2/AN2/V
with Parity Error Reset (PER)
temperature ranges
- < 2.0 mA @ 5.0V, 4.0 MHz
- 15 A typical @ 3.0V, 32 kHz
- < 1.0 A typical standby current @ 3.0V
OSC1/CLKIN
OSC2/CLKOUT
RA2/AN2/V
RA4/T0CKI
RD0/PSP0
RD1/PSP1
MCLR/V
PDIP, SOIC, Windowed CERDIP
OSC1/CLKIN
RA0/AN0
RA1/AN1
RA3/AN3
RE1/WR
RA4/T0CKI
RE0/RD
RE2/CS
MCLR/V
RA0/AN0
RA1/AN1
RA3/AN3
RA5
RC0
RC1
RC2
RC3
V
V
REF
DD
PP
SS
RC0
RC1
RA5
RC2
RC3
V
REF
SS
PDIP, Windowed CERDIP
PP
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
2
3
4
5
6
7
8
9
10
11
12
13
14
1
28
27
26
25
24
23
22
21
20
19
18
17
16
15
40
39
38
37
36
35
34
33
32
31
30
29
28
27
26
25
24
23
22
21
DS30559A-page 1
RB7
RB6
RB5
RB4
RB3
RB2
RB1
RB0/INT
V
V
RC7
RC6
RC5
RC4
DD
SS
RB7
RB6
RB5
RB4
RB3
RB2
RB1
RB0/INT
V
V
RD7/PSP7
RD6/PSP6
RD4/PSP4
RC7
RC6
RC5
RC4
RD3/PSP3
RD2/PSP2
RD5/PSP5
DD
SS

Related parts for PIC16C642-04/SO

PIC16C642-04/SO Summary of contents

Page 1

... EPROM Microcontrollers with Analog Comparators Devices included in this data sheet: • PIC16C641 • PIC16C642 • PIC16C661 • PIC16C662 High Performance RISC CPU: • Only 35 instructions to learn • All single-cycle instructions (200 ns), except for program branches which are two-cycle • Operating speed: ...

Page 2

... RB3 RA4/T0CKI RE0/RD RE1/WR RE2/CS OSC1/CLKIN OSC2/CLKOUT DS30559A-page 2 TQFP PIC16C66X 1314 1819 PLCC RA5 PIC16C66X RC0 2223 24 2526 27 28 Preliminary NC RC0 OSC2/CLKOUT OSC1/CLKIN RE2/CS RE1/WR RE0/RD RA5 RA4/T0CKI RB3 RB2 RB1 RB0/INT RD7/PSP7 RD6/PSP6 RD5/PSP5 RD4/PSP4 RC7 1996 Microchip Technology Inc. ...

Page 3

... However, we realize that we may have missed a few things. If you find any information that is missing or appears in error, please use the reader response form in the back of this data sheet to inform us. We appreciate your assistance in making this a better document. 1996 Microchip Technology Inc. PIC16C64X & PIC16C66X Preliminary ...

Page 4

... PIC16C64X & PIC16C66X NOTES: DS30559A-page 4 Preliminary 1996 Microchip Technology Inc. ...

Page 5

... The PIC16C641 has 128 bytes of RAM and the PIC16C642 has 176 bytes of RAM. Both devices have 22 I/O pins, and an 8-bit timer/counter with an 8-bit pro- grammable prescaler. In addition, they have two analog comparators with a programmable on-chip voltage ref- erence module ...

Page 6

... PIC16C64X & PIC16C66X TABLE 1-1: PIC16C64X & PIC16C66X DEVICE FEATURES DS30559A-page 6 Preliminary 1996 Microchip Technology Inc. ...

Page 7

... OTP devices but with all EPROM locations and config- uration options already programmed by the factory. Certain code and prototype verification procedures apply before production shipments are available. Please contact your Microchip Technology sales office for more details. erased and 2 ...

Page 8

... PIC16C64X & PIC16C66X NOTES: DS30559A-page 8 Preliminary 1996 Microchip Technology Inc. ...

Page 9

... MHz) except for program branches, which require two cycles. The PIC16C641 and PIC16C661 both address on-chip program memory while the PIC16C642 and PIC16C662 address 4K x 14. All program memory is internal. PIC16C64X & PIC16C66X devices can directly or indi- rectly address their register fi ...

Page 10

... PIC16C64X & PIC16C66X FIGURE 3-1: PIC16C641/642 BLOCK DIAGRAM PIC16C641 has Program Memory and 128 x 8 RAM PIC16C642 has Program Memory and 176 x 8 RAM 13 Program Counter EPROM Program Memory 8 Level Stack (13-bit) Program 14 Bus Instruction reg Direct Addr Power-up Timer Instruction Oscillator Decode & ...

Page 11

... Oscillator Control Start-up Timer Power-on Timing Reset Generation OSC1/CLKIN Watchdog OSC2/CLKOUT Timer Brown-out Reset Parity Error Reset MCLR 1996 Microchip Technology Inc. PIC16C64X & PIC16C66X 8 Data Bus RAM File Registers 9 RAM Bank Addr MUX Select Indirect 7 8 Addr FSR reg STATUS reg ...

Page 12

... Interrupt on change pin. Serial programming data. PORTC is a bi-directional I/O port — Ground reference for logic and I/O pins. — Positive supply for logic and I/O pins. I/O = input/output P = power — = not used ST = Schmitt Trigger input Preliminary output. REF 1996 Microchip Technology Inc. ...

Page 13

... This buffer is a Schmitt Trigger input when used in serial programming mode. 3: This buffer is a Schmitt Trigger input when configured as a general purpose I/O and a TTL input when used in the Parallel Slave Port Mode (for interfacing to a microprocessor port). 1996 Microchip Technology Inc. PIC16C64X & PIC16C66X I/O/P ...

Page 14

... RE2/CS select control for parallel slave port. P — Ground reference for logic and I/O pins. P — Positive supply for logic and I/O pins. — — Not Connected. I/O = input/output P = power — = not used ST = Schmitt Trigger input Preliminary Description 1996 Microchip Technology Inc. ...

Page 15

... All instructions are single cycle, except for any program branches. These take two cycles since the fetch instruction is “flushed” from the pipeline while the new instruction is being fetched and then executed. 1996 Microchip Technology Inc. PIC16C64X & PIC16C66X 3.2 Instruction Flow/Pipelining An “ ...

Page 16

... PIC16C64X & PIC16C66X NOTES: DS30559A-page 16 Preliminary 1996 Microchip Technology Inc. ...

Page 17

... For the PIC16C641 and PIC16C661 only the first (0000h - 07FFh) is physically implemented. For the PIC16C642 and PIC16C662 only the first (0000h - 0FFh) is physically imple- mented. Accessing a location above the boundary will cause a wrap-around. The reset vector is at 0000h and the interrupt vector is at 0004h (Figure 4- 1 and Figure 4-2) ...

Page 18

... Bank 1. 4.2.1 GENERAL PURPOSE REGISTER FILE The register file is organized as 176 x 8 for the PIC16C642/662, and 128 x8 for the PIC16C641/661. Each is accessed either directly, or indirectly through the File Select Register FSR (Section 4.5). DS30559A-page 18 FIGURE 4-3: ...

Page 19

... Bank 0 Bank 1 Unimplemented data memory loca- tions, read as '0'. Note 1: Not a physical register. 2: Not implemented on the PIC16C642. 1996 Microchip Technology Inc. PIC16C64X & PIC16C66X 4.2.2 SPECIAL FUNCTION REGISTERS The special function registers are registers used by the CPU and Peripheral Modules for controlling the desired File operation of the device (Table 4-1) ...

Page 20

... TRISE1 TRISE0 0000 -111 0000 -111 ---0 0000 ---0 0000 INTF RBIF 0000 000x 0000 000x — — 00-- ---- 00-- ---- — — POR BOR u--- -qqq u--- -uuu — — VR1 VR0 000- 0000 000- 0000 1996 Microchip Technology Inc. ...

Page 21

... Note: For borrow the polarity is reversed. A subtraction is executed by adding the two’s complement of the second operand. For rotate (RRF, RLF) instructions, this bit is loaded with either the high or low order bit of the source register. 1996 Microchip Technology Inc. PIC16C64X & PIC16C66X It is recommended, therefore, that only BCF, BSF, ...

Page 22

... DS30559A-page 22 Note: To achieve a 1:1 prescaler assignment for TMR0, assign the prescaler to the WDT. R/W-1 R/W-1 R/W-1 R/W-1 PSA PS2 PS1 PS0 bit0 128 Preliminary R= Readable bit W= Writable bit U= Unimplemented bit, read as ‘0’ Value at POR reset 1996 Microchip Technology Inc. ...

Page 23

... RBIF: RB Port Change Interrupt Flag bit 1 = When at least one of the RB7:RB4 pins changed state (See Section 5.2 to clear interrupt None of the RB7:RB4 pins have changed state 1996 Microchip Technology Inc. PIC16C64X & PIC16C66X Note: Interrupt flag bits get set when an interrupt ...

Page 24

... Unimplemented: Read as '0' Note 1: Bit PSPIE is reserved on the PIC16C641/642, always maintain this bit clear. DS30559A-page 24 U-0 U-0 U-0 U-0 — — — — bit0 Preliminary R= Readable bit W= Writable bit U= Unimplemented bit, read as ‘0’ Value at POR reset 1996 Microchip Technology Inc. ...

Page 25

... Comparator input has changed (must be cleared in software Comparator input has not changed bit 5-0: Unimplemented: Read as '0' Note 1: Bit PSPIF is reserved on the PIC16C641/642, always maintain this bit clear. 1996 Microchip Technology Inc. PIC16C64X & PIC16C66X Note: Interrupt flag bits get set when an interrupt ...

Page 26

... BODEN bit in the Configuration word). U-0 R/W-1 R/W-0 R/W-u — PER POR BOR bit0 Preliminary indicating a brown-out has R= Readable bit W= Writable bit U= Unimplemented bit, read as ‘0’ Value at POR reset 1996 Microchip Technology Inc. ...

Page 27

... Program Memory Paging GOTO, CALL PIC16C642 and PIC16C662 devices have 4K of pro- gram memory, but the CALL and GOTO instructions only Opcode <10:0> have an 11-bit address range. This 11-bit address range allows a branch within a 2K program memory page size ...

Page 28

... FSR,4 ;all done? goto CONTINUE: 0 IRP bank select 00h not used Bank 1 Bank 2 Bank 3 Preliminary INDIRECT ADDRESSING ;initialize pointer ;to RAM INDF ;clear INDF register FSR ;inc pointer NEXT ;no goto next ;yes continue Indirect Addressing ( FSR register location select 7Fh 1996 Microchip Technology Inc. ...

Page 29

... I/O PORTS The PIC16C641 and PIC16C642 have three ports, PORTA, PORTB, and PORTC. PIC16C661 and PIC16C662 devices have five ports, PORTA through PORTE. Some pins for these I/O ports are multiplexed with alternate functions for the peripheral features on the device. In general, when a peripheral is enabled, that pin may not be used as a general purpose I/O pin ...

Page 30

... BLOCK DIAGRAM OF RA3 PIN Data bus D Q Comparator Output WR Port CK Q Data Latch TRIS CK Q TRIS Latch RD TRIS RD PORT To Comparator DS30559A-page 30 RA2 Pin and Comparator Mode = 110 Input Mode Preliminary RA3 Pin Analog Schmitt Trigger Input Buffer 1996 Microchip Technology Inc. ...

Page 31

... C2OUT C1OUT 9Fh VRCON VREN VROE Legend unknown unchanged unimplemented locations read as ‘0’. Shaded cells are not used by PORTA. 1996 Microchip Technology Inc. PIC16C64X & PIC16C66X Comparator Mode = 110 Q EN Function Input/output or comparator input. Input/output or comparator input. Input/output or comparator input or V Input/output or comparator input/output ...

Page 32

... Note 1: I/O pins have diode protection TRISB = '1' enables weak pull-up if RBPU = '0' (OPTION<7>). D RD Port and Preliminary BLOCK DIAGRAM OF RB3:RB0 PINS V DD weak P pull-up Data Latch D Q I/O CK (1) pin D Q TTL Input CK Buffer RD TRIS Port ST RD Port Buffer and 1996 Microchip Technology Inc. ...

Page 33

... TRISB6 81h OPTION RBPU INTEDG Legend unknown unchanged, shaded cells are not used by PORTB. 1996 Microchip Technology Inc. PIC16C64X & PIC16C66X Function Input/output or external interrupt input. Internal software programmable weak pull-up. Input/output pin. Internal software programmable weak pull-up. Input/output pin. Internal software programmable weak pull-up. ...

Page 34

... Bit 2 Bit 1 RC5 RC4 RC3 RC2 RC1 Preliminary PORTC BLOCK DIAGRAM (IN I/O PORT MODE (1) I/O pin Schmitt CK Trigger input buffer RD TRIS and Value on: Value on all Bit 0 POR, other resets BOR RC0 xxxx xxxx uuuu uuuu 1111 1111 1996 Microchip Technology Inc. ...

Page 35

... RD6 88h TRISD TRISD7 TRISD6 TRISD5 89h TRISE IBF OBF IBOV Legend unknown unchanged unimplemented read as '0'. Shaded cells are not used by PORTD. 1996 Microchip Technology Inc. PIC16C64X & PIC16C66X FIGURE 5-8: Data bus WR PORT WR TRIS RD PORT Note 1: I/O pins have protection diodes to V ...

Page 36

... Figure 5-9 shows the TRISE register, which also con- trols the parallel slave port operation. U-0 R/W-1 R/W-1 R/W-1 — TRISE2 TRISE1 TRISE0 bit0 Preliminary R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’ Value at POR reset 1996 Microchip Technology Inc. ...

Page 37

... Address Name Bit 7 Bit 6 Bit 5 09h PORTE — — — 89h TRISE IBF OBF IBOV Legend unknown unchanged unimplemented read as '0'. Shaded cells are not used by PORTE. 1996 Microchip Technology Inc. PIC16C64X & PIC16C66X TRIS Q EN and (1) Input/output port pin or read control input in parallel slave port mode: ...

Page 38

... MOVF PORTB,W problematic. Preliminary READ-MODIFY-WRITE INSTRUCTIONS ON AN I/O PORT PORTB<3:0> Outputs PORT latch PORT pins ---------- --------- ; 01pp pppp 11pp pppp ; 10pp pppp 11pp pppp ; 10pp pppp 11pp pppp ; 10pp pppp 10pp pppp - instruction cycle propagation delay PD 1996 Microchip Technology Inc. ...

Page 39

... CMIE Legend unknown unchanged unimplemented locations read as '0'. Shaded cells are not used by the PSP. Note 1: These bits are reserved on the PIC16C641/642, always maintain these bits clear. 1996 Microchip Technology Inc. PIC16C64X & PIC16C66X An interrupt is generated and latched into flag bit PSPIF (PIR1< ...

Page 40

... PIC16C64X & PIC16C66X NOTES: DS30559A-page 40 Preliminary 1996 Microchip Technology Inc. ...

Page 41

... Fetch T0 T0+1 TMR0 Instruction Executed 1996 Microchip Technology Inc. This document was created with FrameMaker PIC16C64X & PIC16C66X (OPTION<4>). Clearing bit T0SE selects the rising edge. Restrictions on the external clock input are dis- cussed in detail in Section 6.2. The prescaler is mutually exclusively shared between the Timer0 module and the Watchdog Timer ...

Page 42

... NT0 reads NT0 FFh 00h Inst (PC+1) Dummy cycle Inst (PC) Preliminary PC+4 PC+5 PC+6 MOVF TMR0,W NT0+1 T0 Read TMR0 Read TMR0 reads NT0 reads NT0 + 01h 02h 0004h 0005h Inst (0004h) Inst (0005h) Dummy cycle Inst (0004h) 1996 Microchip Technology Inc. ...

Page 43

... Therefore, the error in measuring the interval between two edges on Timer0 input = 4Tosc max. 2: External clock if no prescaler selected, prescaler output otherwise. 3: The arrows indicate the points in time where sampling occurs. 1996 Microchip Technology Inc. PIC16C64X & PIC16C66X When a prescaler is used, the external clock input is divided by the asynchronous ripple-counter type pres- caler so that the prescaler output is symmetrical ...

Page 44

... Watchdog Timer, a CLRWDT instruction will clear the prescaler count along with the Watchdog Timer. The prescaler is not readable or writable SYNC Cycles PSA 8-bit Prescaler 1MUX PS2:PS0 PSA WDT Time-out Preliminary Data Bus 8 TMR0 reg Set flag bit T0IF on Overflow 1996 Microchip Technology Inc. ...

Page 45

... TRISA — — Legend unknown unchanged unimplemented locations read as '0'. Shaded cells are not used by Timer0. 1996 Microchip Technology Inc. PIC16C64X & PIC16C66X To change prescaler from the WDT to the Timer0 mod- ule, use the sequence shown in Example 6-2. EXAMPLE 6-2: ...

Page 46

... PIC16C64X & PIC16C66X NOTES: DS30559A-page 46 Preliminary 1996 Microchip Technology Inc. ...

Page 47

... RA1 IN bit 2-0: CM2:CM0 : Comparator mode Figure 7-2 shows the comparator modes and CM2:CM0 bit settings. 1996 Microchip Technology Inc. This document was created with FrameMaker PIC16C64X & PIC16C66X The CMCON register, shown in Figure 7-1, controls the comparator input and output multiplexers. A block ...

Page 48

... Open Drain Three Inputs Multiplexed to Two Comparators CM2:CM0 = 001 A RA0/AN0 (Read as '0') A RA3/AN3 A RA1/AN1 A RA2/AN2 Preliminary Off C1 (Read as '0 Off C2 (Read as '0 CIS = CIS = 1 C1OUT CIS = 0 IN CIS = 1 C2OUT From V Module REF C1OUT C2OUT CIS = CIS = 1 C1OUT C2OUT 1996 Microchip Technology Inc. ...

Page 49

... IN comparator is a digital high level. The shaded areas of the output of the comparator in Figure 7-3 represents the uncertainty due to input offsets and response time. 1996 Microchip Technology Inc. PIC16C64X & PIC16C66X 7.3 Comparator Reference An external or internal reference signal may be used depending on the comparator operating mode ...

Page 50

... Schmitt Trigger input specification. Note 2: Analog levels on any pin that is defined as a digital input may cause the input buffer to consume more current than is speci- fied. Port Pins MULTIPLEX CMCON EN CL NRESET Preliminary 1996 Microchip Technology Inc. ...

Page 51

... I LEAKAGE 1996 Microchip Technology Inc. PIC16C64X & PIC16C66X comparators, CM2:CM0 = 111, before entering sleep. If the device wakes up from sleep, the contents of the CMCON register are not affected. 7.8 Effects of a RESET A device reset forces the CMCON register to its reset state. This forces the comparator module the comparator ensures that all potential inputs are analog inputs ...

Page 52

... TRISA5 TRISA4 TRISA3 TRISA2 TRISA1 TRISA0 --11 1111 Preliminary Value on Value on Bit 0 POR, all other BOR resets CM0 00-- 0000 00-- 0000 VR0 000- 0000 000- 0000 RBIF 0000 000x 0000 000u — — 00-- ---- 00-- ---- — — 00-- ---- 00-- ---- --11 1111 1996 Microchip Technology Inc. ...

Page 53

... VOLTAGE REFERENCE BLOCK DIAGRAM VREN 8R V REF Note defined in Table 12-3. 1996 Microchip Technology Inc. This document was created with FrameMaker PIC16C64X & PIC16C66X The VRCON register, shown in Figure 8-1, controls the operation of the Voltage Reference Module. The block diagram is given in Figure 8-2. R/W-0 ...

Page 54

... TRISA5 TRISA4 TRISA3 TRISA2 TRISA1 TRISA0 --11 1111 Preliminary . The DD (VRCON<7>). This reset also REF enabled REF shows an example buffering V output REF Value On Value on Bit 0 POR, all other BOR resets VR0 000- 0000 000- 0000 CM0 00-- 0000 00-- 0000 --11 1111 1996 Microchip Technology Inc. ...

Page 55

... Code protection 7. ID Locations 8. In-circuit serial programming 1996 Microchip Technology Inc. This document was created with FrameMaker PIC16C64X & PIC16C66X The PIC16C64X & PIC16C66X has a Watchdog Timer which is enabled by a configuration bit (WDTE). It runs off its own RC oscillator for added reliability. There are two timers that offer necessary delays on power-up ...

Page 56

... The user will note that address 2007h is beyond the user program memory space. In fact, it belongs to the special test/configuration (2000h–3FFFh), which can be accessed only during programming. BODEN CP1 CP0 PWRTE WDTE (1) (1) Preliminary memory space FOSC1 FOSC0 CONFIG Address REGISTER: 2007h bit0 1996 Microchip Technology Inc. ...

Page 57

... EXTERNAL CLOCK INPUT OPERATION (HS OSC CONFIGURATION) clock from OSC1 ext. system PIC16CXXX OSC2 Open 1996 Microchip Technology Inc. PIC16C64X & PIC16C66X TABLE 9-1: Mode XT HS Note: Recommended values of C1 and C2 are identical to the ranges tested table. Higher capacitance increases the stability of the oscillator but also increases the start-up time ...

Page 58

... OSC2/CLKOUT pin, and can be used for test pur- poses or to synchronize other logic (see Figure 3-3 for waveform). FIGURE 9- Rext Cext PIC16CXXX V SS CLKIN Fosc/4 Preliminary for given Rext/ DD values OSCILLATOR MODE Internal OSC1 clock PIC16CXXX OSC2/CLKOUT 1996 Microchip Technology Inc. ...

Page 59

... On-chip 10-bit Ripple-counter RC OSC Note 1: This is a separate oscillator from the RC oscillator of the CLKIN pin. 1996 Microchip Technology Inc. PIC16C64X & PIC16C66X state” on Power-on reset, MCLR, WDT reset, Brown-out Reset, Parity Error Reset, and on MCLR reset during SLEEP. They are not affected by a WDT wake-up, since this is viewed as the resumption of nor- mal operation ...

Page 60

... Power-up Timer will execute time delay. The Power-up Timer should always be enabled when Brown-out Reset is enabled. Figure 9-8 shows typical Brown-out situations < Preliminary falls below 4. rises above DD drops DD rises DD BV Max Min Max Min Max Min. DD 1996 Microchip Technology Inc. ...

Page 61

... TABLE 9-3: TIME-OUT IN VARIOUS SITUATIONS Oscillator Configuration PWRTE = 0 XT, HS 1024 T RC 1996 Microchip Technology Inc. PIC16C64X & PIC16C66X 9.4.7 POWER CONTROL/STATUS REGISTER (PCON) The power control/status register, PCON (address 8Eh) has four bits. See Figure 4-10 for register. Bit0 is BOR (Brown-out Reset). BOR is unknown on a Power-on-reset ...

Page 62

... uuu0 0uuu 000h 0001 1uuu 000h 0001 1uuu (1) uuu1 0uuu unimplemented bit, reads as ‘0’. Preliminary PCON Register u--- -10x u--- -uuu u--- -uuu u--- -uuu u--- -uuu u--- -uu0 1--- -0uu u--- -uuu 1996 Microchip Technology Inc. ...

Page 63

... When the wake-up is due to an interrupt and the GIE bit is set, the PC is loaded with the interrupt vector (0004h). 3: See Table 9-5 for reset value for specific condition. 4: These registers are associated with the Parallel Slave Port and are not implemented on the PIC16C641/642. 1996 Microchip Technology Inc. PIC16C64X & PIC16C66X MCLR Reset during: - normal operation ...

Page 64

... INTERNAL POR PWRT TIME-OUT OST TIME-OUT INTERNAL RESET FIGURE 9-11: TIME-OUT SEQUENCE ON POWER-UP (MCLR TIED MCLR INTERNAL POR PWRT TIME-OUT OST TIME-OUT INTERNAL RESET DS30559A-page 64 T PWRT T OST T PWRT T OST ) DD T PWRT T OST Preliminary ): CASE CASE 2 DD 1996 Microchip Technology Inc. ...

Page 65

... Vz = Zener voltage. 2: Internal Brown-out Reset circuitry should be disabled when using this cir- cuit. 3: Resistors should be adjusted for the characteristics of the transistor. 1996 Microchip Technology Inc. PIC16C64X & PIC16C66X FIGURE 9-14: EXTERNAL BROWN-OUT Note 1: This brown-out circuit is less expensive, albeit less accurate ...

Page 66

... PIC16C64X & PIC16C66X 9.5 Interrupts The PIC16C641 and PIC16C642 have four sources of interrupt, while the PIC16C661 and PIC16C662 have five sources: • External interrupt RB0/INT • TMR0 overflow interrupt • PORTB change interrupts (pins RB7:RB4) • Comparator interrupt • Parallel Slave Port interrupt (PIC16C661/662) The interrupt control register, (INTCON), records individual core interrupt requests in fl ...

Page 67

... Latency is the same whether Inst (PC single cycle or a 2-cycle instruction. 3: CLKOUT is available only in RC oscillator mode. 4: For minimum width of INT pulse, refer to AC specs. 5: INTF is enabled to be set anytime during the Q4-Q1 cycles. 1996 Microchip Technology Inc. PIC16C64X & PIC16C66X 9.5.3 PORTB INTERRUPT An input change on any bit of PORTB< ...

Page 68

... Swap W_Temp restore original W value without affecting STATUS DS30559A-page 68 Example 9-1: • Stores the W register regardless of current bank • Stores the STATUS register in Bank 0 • Executes the ISR code • Restores the STATUS (and bank select bit register) • Restores the W register Preliminary 1996 Microchip Technology Inc. ...

Page 69

... OPTION RBPU Legend: Shaded cells are not used by the Watchdog Timer. Note 1: See Figure 9-1 for details of the operation of these bits. 1996 Microchip Technology Inc. PIC16C64X & PIC16C66X the WDT, under software control, by writing to the OPTION register. Thus, time-out periods 2.3 seconds can be realized ...

Page 70

... Interrupt Latency (Note 2) Processor in SLEEP PC+2 PC Inst( Inst( Dummy cycle Preliminary instruction is being executed, the SLEEP instruction. If the GIE bit is is not desirable, the SLEEP after the instruction. NOP SLEEP 0004h 0005h Inst(0004h) Inst(0005h) Dummy cycle Inst(0004h) 1996 Microchip Technology Inc. ...

Page 71

... These locations are not accessible during normal execution but are readable and writable during program/verify. Only the least significant 4 bits of the ID locations are used. 1996 Microchip Technology Inc. PIC16C64X & PIC16C66X 9.11 In-Circuit Serial Programming not ...

Page 72

... PIC16C64X & PIC16C66X NOTES: DS30559A-page 72 Preliminary 1996 Microchip Technology Inc. ...

Page 73

... In the set of i talics User defined term (font is courier) The instruction set is highly orthogonal and is grouped into three basic categories: 1996 Microchip Technology Inc. This document was created with FrameMaker PIC16C64X & PIC16C66X • Byte-oriented operations • Bit-oriented operations • Literal and control operations ...

Page 74

... All bit manipulation instructions are done by first read- ing the entire register, operating on the selected bit and writing the result back (read-modify-write). The user should keep this in mind when operating on special function registers, such as ports. DS30559A-page 74 PCL 1996 Microchip Technology Inc. ...

Page 75

... If this instruction is executed on the TMR0 register (and, where applicable 1), the prescaler will be cleared if assigned to the Timer0 Module Program Counter (PC) is modifi conditional test is true, the instruction requires two cycles. The second cycle is executed as a NOP. 1996 Microchip Technology Inc. PIC16C64X & PIC16C66X Cycles 14-Bit Opcode ...

Page 76

... ANDWF f 127 d (W) .AND. (f) (dest 0101 dfff ffff AND the W register with register 'f the result is stored in the W register the result is stored . back in register ' ANDWF FSR, 1 Before Instruction W = 0x17 FSR = 0xC2 After Instruction W = 0x17 FSR = 0x02 1996 Microchip Technology Inc. ...

Page 77

... Description: Bit 'b' in register 'f' is set. Words: 1 Cycles: 1 Example BSF FLAG_REG, Before Instruction FLAG_REG = 0x0A After Instruction FLAG_REG = 0x8A 1996 Microchip Technology Inc. PIC16C64X & PIC16C66X BTFSC Syntax: Operands: Operation: Status Affected: Encoding: bfff ffff . Description: Words: Cycles: Example bfff ...

Page 78

... The contents of register 'f' are cleared and the Z bit is set CLRF FLAG_REG Before Instruction FLAG_REG = 0x5A After Instruction FLAG_REG = 0x00 Clear W [ label ] CLRW None 00h ( 0001 0000 0011 W register is cleared. Zero bit (Z) is set CLRW Before Instruction W = 0x5A After Instruction W = 0x00 1996 Microchip Technology Inc. ...

Page 79

... If ' the result is stored ' the result is stored back in register 'f'. Words: 1 Cycles: 1 Example COMF REG1,0 Before Instruction REG1 = After Instruction REG1 = W = 1996 Microchip Technology Inc. PIC16C64X & PIC16C66X DECF Syntax: Operands: Operation: Status Affected: Encoding: Description: 0110 0100 Words: Cycles: Example ? 0x00 0 = ...

Page 80

... HERE +1 Inclusive OR Literal with W [ label ] IORLW 255 (W) .OR 1000 kkkk kkkk The contents of the W register is OR’ed with the eight bit literal 'k'. The . result is placed in the W register 1 1 IORLW 0x35 Before Instruction W = 0x9A After Instruction W = 0xBF 1996 Microchip Technology Inc. ...

Page 81

... The eight bit literal 'k' is loaded into W . register The don’t cares will assemble as 0’s. Words: 1 Cycles: 1 Example MOVLW 0x5A After Instruction W = 0x5A 1996 Microchip Technology Inc. PIC16C64X & PIC16C66X MOVF f,d Syntax: Operands: Operation: Status Affected: Encoding: dfff ffff Description: Words: Cycles: 0x13 Example ...

Page 82

... This is a two cycle instruction CALL TABLE ;W contains table ;offset value • ;W now has table value • • ADDWF offset RETLW k1 ;Begin table RETLW k2 ; • • • RETLW kn ; End of table Before Instruction W = 0x07 After Instruction W = value of k8 1996 Microchip Technology Inc. ...

Page 83

... C Register f Words: 1 Cycles: 1 Example RLF REG1,0 Before Instruction REG1 C After Instruction REG1 W C 1996 Microchip Technology Inc. PIC16C64X & PIC16C66X RRF Syntax: Operands: Operation: Status Affected: 0000 1000 Encoding: Description: Words: Cycles: Example SLEEP Syntax: Operands: Operation: ...

Page 84

... After Instruction REG1 W C Example 2: Before Instruction REG1 W C After Instruction REG1 W C Example 3: Before Instruction REG1 W C After Instruction REG1 W C SUBWF f,d 127 dest) 0010 dfff ffff REG1 result is positive = result is zero = 0xFF = result is negative 1996 Microchip Technology Inc. ...

Page 85

... Since TRIS registers are read- able and writable, the user can directly address them. Words: 1 Cycles: 1 Example To maintain upward compatibility with future PIC16CXX products, do not use this instruction. 1996 Microchip Technology Inc. PIC16C64X & PIC16C66X XORLW Syntax: Operands: Operation: Status Affected: Encoding: Description: dfff ffff ...

Page 86

... PIC16C64X & PIC16C66X NOTES: DS30559A-page 86 1996 Microchip Technology Inc. ...

Page 87

... Microsoft Windows 3.x environ- ment were chosen to best make these features avail- able to you, the end user compliant version of PICMASTER is available for European Union (EU) countries. 1996 Microchip Technology Inc. This document was created with FrameMaker PIC16C64X & PIC16C66X 11.3 ICEPIC: Low-cost PIC16CXX In-Circuit ...

Page 88

... PIC12C5XX, PIC14000, PIC16C5X, PIC16CXX, and PIC17CXX families. MPASM offers full featured Macro capabilities, condi- tional assembly, and several source and listing formats. It generates various object code formats to support Microchip's development tools as well as third party programmers. Preliminary 1996 Microchip Technology Inc. ...

Page 89

... MP Explorer, for designers to gain a comprehensive working knowledge of fuzzy logic system design; and a full-featured version, fuzzy TECH-MP, edition for imple- menting more complex systems. 1996 Microchip Technology Inc. PIC16C64X & PIC16C66X Both versions include Microchip’s fuzzy LAB stration board for hands-on experience with fuzzy logic systems implementation ...

Page 90

... PIC16C64X & PIC16C66X TABLE 11-1: DEVELOPMENT TOOLS FROM MICROCHIP DS30559A-page 90 Preliminary 1996 Microchip Technology Inc. ...

Page 91

... Maximum current sourced by PORTC and PORTD (combined) (Note 2).............................................................200 mA Note 1: Power dissipation is calculated as follows: P Note 2: PORTD and PORTE are not implemented on the PIC16C641 and PIC16C642. † NOTICE : Stresses above those listed under “Absolute Maximum Ratings” may cause permanent damage to the device. This is a stress rating only and functional operation of the device at those or any other conditions above those indicated in the operation listings of this specifi ...

Page 92

... MHz 5.5V, OSC DD (4) WDT disabled LP osc configuration, PIC16C64X & PIC16C66X-04 only kHz 4.0V, OSC DD WDT disabled HS osc configuration MHz 5.5V, OSC DD WDT disabled BODEN bit is clear 4.0V DD Automotive V = 4.0V, WDT disabled DD Automotive , 1996 Microchip Technology Inc. ...

Page 93

... For RC osc configuration, current through Rext is not included. The current through the resistor can be estimated by the formula The current is the additional current consumed when this peripheral is enabled. This current should be added to the base 1996 Microchip Technology Inc. PIC16C64X & PIC16C66X – +85 C for industrial and ...

Page 94

... PIC16C64X & PIC16C66X 12.3 DC Characteristics: PIC16C641/661 (Commercial, Industrial, Automotive) PIC16C642/662 (Commercial, Industrial, Automotive) PIC16LC641/661 (Commercial, Industrial) PIC16LC642/662 (Commercial, Industrial) Standard Operating Conditions (unless otherwise stated) Operating temperature Operating voltage V DD Sym Characteristic Param No. V Input Low Voltage IL I/O ports D030 with TTL buffer ...

Page 95

... The leakage current on the MCLR pin is strongly dependent on applied voltage level. The specified levels repre- sent normal operating conditions. Higher leakage current may be measured at different input voltages. 3: Negative current is defined as coming out of the pin. 1996 Microchip Technology Inc. PIC16C64X & PIC16C66X –40 C ...

Page 96

... DD < +125 C, unless otherwise stated. Current consumption is spec- A Sym Min Typ Max Preliminary Units Comments PIC16C64X/66X ns PIC16LC64X/66X s Units Comments LSb LSb Low Range (VRR = 1) LSb High Range (VRR = 0) Figure 8-2 s 1996 Microchip Technology Inc. ...

Page 97

... CLKOUT io I/O port mc MCLR Uppercase letters and their meanings Fall H High I Invalid (Hi-impedance) L Low FIGURE 12-1: LOAD CONDITIONS Load condition 1 Pin R = 464 1996 Microchip Technology Inc. PIC16C64X & PIC16C66X T Time osc OSC1 t0 T0CKI P Period R Rise V Valid Z Hi-Impedance Load condition Pin V SS ...

Page 98

... XT and RC osc mode ns HS osc mode s LP osc mode ns RC osc mode XT osc mode ns HS osc mode s LP osc mode OSC ns XT osc mode s LP osc mode ns HS osc mode ns XT osc mode ns LP osc mode ns HS osc mode 1996 Microchip Technology Inc. ...

Page 99

... Data in “Typ” column is at 5V, 25˚C unless otherwise stated. These parameters are for design guidance only and are not tested. †† These parameters are asynchronous events not related to any internal clock edges. Note 1: Measurements are taken in RC Mode where CLKOUT output 1996 Microchip Technology Inc. PIC16C64X & PIC16C66X ...

Page 100

... OSC 28 72 132 ms — — 2.1 s 100 — — s — TBD — s Preliminary 36 34 Conditions V = 5V, -40˚C to +125˚ 5V, -40˚C to +125˚ OSC1 period OSC V = 5V, -40˚C to +125˚ (D005) DD VDD 1996 Microchip Technology Inc. ...

Page 101

... Tt0L T0CKI Low Pulse Width 42* Tt0P T0CKI Period * These parameters are characterized but not tested. † Data in “Typ” column is at 5.0V unless otherwise stated. These parameters are for design guidance only and are not tested. 1996 Microchip Technology Inc. PIC16C64X & PIC16C66X Min Typ† ...

Page 102

... Data in "Typ" column is at 5V, 25˚C unless otherwise stated. These parameters are for design guidance only and are not tested. DS30559A-page 102 65 62 Min Typ† Max Units 20 20 PIC16LC66X 35 — 10 Preliminary 63 Conditions — — ns — — ns — — ns — — 1996 Microchip Technology Inc. ...

Page 103

... DEVICE CHARACTERIZATION INFORMATION NOT AVAILABLE AT THIS TIME. 1996 Microchip Technology Inc. This document was created with FrameMaker PIC16C64X & PIC16C66X Preliminary DS30559A-page 103 ...

Page 104

... PIC16C64X & PIC16C66X NOTES: DS30559A-page 104 Preliminary 1996 Microchip Technology Inc. ...

Page 105

... E1 7.112 7.493 e1 2.540 2.540 eA 7.874 7.874 eB 8.128 9.906 L 3.175 3.683 S 0.584 1.220 1996 Microchip Technology Inc. This document was created with FrameMaker PIC16C64X & PIC16C66X A1A2 A e1 Notes Min 0.143 — 0.015 0.125 0.016 Typical 0.040 4 places 0.030 4 places ...

Page 106

... BSC 0.050 10.643 0.394 0.762 0.015 1.143 0.016 0.102 — Preliminary Inches Max Notes 8 0.104 0.012 0.019 0.013 0.712 0.299 0.050 BSC 0.419 0.030 0.045 0.004 1996 Microchip Technology Inc. ...

Page 107

... B 0.406 B1 1.219 C 0.228 D 35.204 D1 32.893 E 7.620 E1 7.366 e1 2.413 eA 7.366 eB 7.594 L 3.302 S 1.143 S1 0.533 1996 Microchip Technology Inc. PIC16C64X & PIC16C66X Max Notes Min 10 0 5.030 0.155 1.524 0.040 3.506 0.115 2.388 0.076 0.508 0.016 1.321 Typical 0.048 0.305 Typical 0.009 35 ...

Page 108

... Typical 0.590 18.034 0.600 3.810 0.125 2.286 0.040 1.778 0.015 Preliminary Inches Max Notes 10 0.225 0.070 0.185 0.175 0.023 0.065 Typical 0.015 Typical 2.075 1.900 BSC 0.625 0.600 0.100 BSC 0.630 Typical 0.710 0.150 0.090 0.070 1996 Microchip Technology Inc. ...

Page 109

... A2 3.175 B 0.355 B1 1.270 C 0.203 D 51.181 D1 48.260 E 15.240 E1 13.462 e1 2.489 eA 15.240 eB 15.748 L 2.921 S 1.270 S1 0.508 1996 Microchip Technology Inc. PIC16C64X & PIC16C66X A1A2 Max Notes Min 5.080 — — 0.015 4.064 0.125 0.559 0.014 1.778 Typical 0.050 0.381 Typical 0.008 52.197 2.015 48 ...

Page 110

... A 2 Sides 1 9 0.101 Seating D .004 Plane - 0.812/0.661 3 .032/.026 Min 5 0.533/0.331 Min .021/.013 0.177 , D-E S .007 M A F-G S Inches Max Notes 0.180 0.115 0.695 0.656 0.630 0.500 BSC 0.695 0.656 0.630 0.500 BSC 0.004 0.015 1996 Microchip Technology Inc. ...

Page 111

... A — A1 0.050 A2 0.950 b 0.300 b1 0.300 D 12.0 D1 10.0 E 12.0 E1 10.0 e 0.8 L 0.450 1996 Microchip Technology Inc. PIC16C64X & PIC16C66X D1 D D/2 E E/2 A Detail B A2 Datum Plane b 0.08 A1 with Lead Finish R min. 0.09/0.16 b1 Base Metal DETAIL B Package Group: Plastic TQFP Max Notes ...

Page 112

... For OTP marking beyond this, certain price adders apply. Please check with your Microchip Sales Office. For QTP devices, any special marking adders are included in QTP price. DS30559A-page 112 Example PIC16C642-10/SP AABBCDE Example PIC16C642-10/SO 945/CAA Example PIC16C642/JW 9517CAT Preliminary 1996 Microchip Technology Inc. ...

Page 113

... OTP marking consists of Microchip part number, year code, week code, facility code, mask rev#, and assembly code. For OTP marking beyond this, certain price adders apply. Please check with your Microchip Sales Office. For QTP devices, any special marking adders are included in QTP price. 1996 Microchip Technology Inc. PIC16C64X & PIC16C66X Example ...

Page 114

... PIC16C64X & PIC16C66X NOTES: DS30559A-page 114 Preliminary 1996 Microchip Technology Inc. ...

Page 115

... PORTA inputs are now Schmitt Trigger inputs. 19. Brown-out Reset circuitry has been added. 1996 Microchip Technology Inc. This document was created with FrameMaker PIC16C64X & PIC16C66X APPENDIX B: COMPATIBILITY To convert code written for PIC16C5X to PIC16CXX, the user should take the following steps: 1 ...

Page 116

... PIC16C64X & PIC16C66X APPENDIX C: WHAT’S NEW New Data Sheet DS30559A-page 116 APPENDIX D: WHAT’S CHANGED New Data Sheet Preliminary 1996 Microchip Technology Inc. ...

Page 117

... APPENDIX E: PIC16/17 MICROCONTROLLERS E.1 PIC14000 Devices 1996 Microchip Technology Inc. This document was created with FrameMaker PIC16C64X & PIC16C66X DS30559A-page 117 ...

Page 118

... PIC16C64X & PIC16C66X E.2 PIC16C5X Family of Devices DS30559A-page 118 1996 Microchip Technology Inc. ...

Page 119

... E.3 PIC16CXXX Family of Devices 1996 Microchip Technology Inc. PIC16C64X & PIC16C66X DS30559A-page 119 ...

Page 120

... PIC16C64X & PIC16C66X E.4 PIC16C6X Family of Devices DS30559A-page 120 1996 Microchip Technology Inc. ...

Page 121

... E.5 PIC16C7X Family of Devices 1996 Microchip Technology Inc. PIC16C64X & PIC16C66X DS30559A-page 121 ...

Page 122

... PIC16C64X & PIC16C66X E.6 PIC16C8X Family of Devices DS30559A-page 122 1996 Microchip Technology Inc. ...

Page 123

... E.7 PIC16C9XX Family Of Devices 1996 Microchip Technology Inc. PIC16C64X & PIC16C66X DS30559A-page 123 ...

Page 124

... PIC16C64X & PIC16C66X E.8 PIC17CXX Family of Devices DS30559A-page 124 1996 Microchip Technology Inc. ...

Page 125

... PIC16C84, PIC16F84A, PIC16CR84 PIC16C55, PIC16C57, PIC16CR57B PIC16C62, PIC16CR62, PIC16C62A, PIC16C63, PIC16C72, PIC16C73, PIC16C73A PIC16C64, PIC16CR64, PIC16C64A, PIC16C65, PIC16C65A, PIC16C74, PIC16C74A PIC17C42, PIC17CR42, PIC17C42A, PIC17C43, PIC17CR43, PIC17C44 PIC16C923, PIC16C924 1996 Microchip Technology Inc. PIC16C64X & PIC16C66X , DD socket Package 8-pin 18-pin 20-pin 28-pin 28-pin ...

Page 126

... PIC16C64X & PIC16C66X NOTES: DS30559A-page 126 1996 Microchip Technology Inc. ...

Page 127

... External Power-on Reset Circuit ......................... 65 External Series Crystal Oscillator ........................ 58 In-circuit Serial Programming ............................... 71 Interrupt Logic ......................................................... 66 On-chip Reset Circuit ............................................ 59 Parallel Slave Port, PORTD-PORTE PIC16C641 .............................................................. 10 PIC16C642 .............................................................. 10 PIC16C661 .............................................................. 11 PIC16C662 .............................................................. 11 PORTC (In I/O Port Mode) ................................... 34 PORTD (In I/O Port Mode) ................................... 35 PORTE (In I/O Port Mode) ................................... 37 RA1:RA0 pins .......................................................... 29 RA3 pin ...

Page 128

... PIE1 Register .................................................................. 24 Pin Compatible Devices Pin Functions RD7/PSP7:RD0/PSP0 RE0/RD ....................................................... RE1/WR ...................................................... RE2/CS ....................................................... PIR1 Register .................................................................. 25 Port RB Interrupt ............................................................ 67 PORTA ............................................................................. 29 PORTB ............................................................................. 32 PORTC Register ............................................................ 34 PORTD Register ............................................................ 35 Preliminary ..................................................... 32 ..................................................... 39 ................................................... 89 ........................... 87, 89 ................... 7 ............................................... 57 ................................... 60 ............................ 112, 113 ................................................. 105 ........................................ 60, 61 ..... 87, 88 ... 87, 88 ...... 88 ......................................... 87 .................................................... 87 .............................................. 125 .......................................... 14 14, 39 14, 39 14, 39 1996 Microchip Technology Inc. ...

Page 129

... Stack.............................................................. 17 Figure 4-2: PIC16C642/662 Program Memory Map and Stack.............................................................. 17 Figure 4-3: PIC16C641/661 Data Memory Map .............. 18 Figure 4-4: PIC16C642/662 Data Memory Map .............. 19 Figure 4-5: STATUS Register (Address 03h, 83h) .......... 21 Figure 4-6: OPTION Register (address 81h) ................... 22 Figure 4-7: INTCON Register (address 0Bh, 8Bh) .......... 23 Figure 4-8: PIE1 Register (address 8Ch) ...

Page 130

... Table 12-6: Reset, Watchdog Timer, Oscillator Start-up Tim- DD er, Power-up Timer, and Brown-out Reset Re- quirements ................................................... 100 Table 12-7: Timer0 Clock Requirements ........................ 101 Table 12-8: Parallel Slave Port Requirements (PIC16C661 and PIC16C662) .......................................... 102 Table E-1: Pin Compatible Devices............................... 125 Preliminary 1996 Microchip Technology Inc. ...

Page 131

... The Microchip BBS connection does not use CompuServe membership services, therefore you do not need CompuServe membership to join Microchip's BBS. There is no charge for connecting to the Microchip BBS. 1996 Microchip Technology Inc. This document was created with FrameMaker PIC16C64X & PIC16C66X The procedure to connect will vary slightly from country to country ...

Page 132

... Is there any incorrect or misleading information (what and where)? 7. How would you improve this document? 8. How would you improve our software, systems, and silicon products? DS30559A-page 132 Total Pages Sent FAX: (______) _________ - _________ N Literature Number: DS30559A 1996 Microchip Technology Inc. ...

Page 133

... NOTES: 1996 Microchip Technology Inc. PIC16C64X & PIC16C66X DS30559A-page 133 ...

Page 134

... PIC16C64X & PIC16C66X NOTES: DS30559A-page 134 1996 Microchip Technology Inc. ...

Page 135

... The Microchip’s Bulletin Board, via your local CompuServe number (CompuServe membership NOT required). Please specify which device, revision of silicon and Data Sheet (include Literature #) you are using. For latest version information and upgrade kits for Microchip Development Tools, please call 1-800-755-2345 or 1-602-786-7302. 1996 Microchip Technology Inc. PIC16C64X & PIC16C66X Special Requirements ...

Page 136

... Serialized Quick Turn Programming (SQTP service mark of Microchip Technology Incorporated in the U.S.A. All other trademarks mentioned herein are property of their respective companies. © 2002, Microchip Technology Incorporated, Printed in the U.S.A., All Rights Reserved. Printed on recycled paper. Microchip received QS-9000 quality system ...

Page 137

... Korea Microchip Technology Korea 168-1, Youngbo Bldg. 3 Floor Samsung-Dong, Kangnam-Ku Seoul, Korea 135-882 Tel: 82-2-554-7200 Fax: 82-2-558-5934 Singapore Microchip Technology Singapore Pte Ltd. 200 Middle Road #07-02 Prime Centre Singapore, 188980 Tel: 65-334-8870 Fax: 65-334-8850 Taiwan Microchip Technology Taiwan 11F-3, No. 207 ...

Related keywords