PIC16C711-04/P Microchip Technology, PIC16C711-04/P Datasheet

IC MCU OTP 1KX14 A/D 18DIP

PIC16C711-04/P

Manufacturer Part Number
PIC16C711-04/P
Description
IC MCU OTP 1KX14 A/D 18DIP
Manufacturer
Microchip Technology
Series
PIC® 16Cr
Datasheets

Specifications of PIC16C711-04/P

Program Memory Type
OTP
Program Memory Size
1.75KB (1K x 14)
Package / Case
18-DIP (0.300", 7.62mm)
Core Processor
PIC
Core Size
8-Bit
Speed
4MHz
Peripherals
Brown-out Detect/Reset, POR, WDT
Number Of I /o
13
Ram Size
68 x 8
Voltage - Supply (vcc/vdd)
4 V ~ 6 V
Data Converters
A/D 4x8b
Oscillator Type
External
Operating Temperature
0°C ~ 70°C
Processor Series
PIC16C
Core
PIC
Data Bus Width
8 bit
Data Ram Size
68 B
Maximum Clock Frequency
4 MHz
Number Of Programmable I/os
13
Number Of Timers
1
Maximum Operating Temperature
+ 70 C
Mounting Style
Through Hole
3rd Party Development Tools
52715-96, 52716-328, 52717-734
Development Tools By Supplier
ICE2000
Minimum Operating Temperature
0 C
On-chip Adc
4-ch x 8-bit
Package
18PDIP
Device Core
PIC
Family Name
PIC16
Maximum Speed
4 MHz
Operating Supply Voltage
5 V
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
ISPICR1 - ADAPTER IN-CIRCUIT PROGRAMMING309-1059 - ADAPTER 18 ZIF BD W/18SO PLUGSDVA16XP180 - ADAPTER DEVICE FOR MPLAB-ICEAC164010 - MODULE SKT PROMATEII DIP/SOIC
Eeprom Size
-
Connectivity
-
Lead Free Status / Rohs Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16C711-04/P
Manufacturer:
TI
Quantity:
9
Part Number:
PIC16C711-04/P
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Devices included in this data sheet:
• PIC16C710
• PIC16C71
• PIC16C711
• PIC16C715
PIC16C71X Microcontroller Core Features:
• High-performance RISC CPU
• Only 35 single word instructions to learn
• All single cycle instructions except for program
• Operating speed: DC - 20 MHz clock input
• Up to 2K x 14 words of Program Memory,
• Interrupt capability
• Eight level deep hardware stack
• Direct, indirect, and relative addressing modes
• Power-on Reset (POR)
• Power-up Timer (PWRT) and
• Watchdog Timer (WDT) with its own on-chip RC
• Programmable code-protection
• Power saving SLEEP mode
• Selectable oscillator options
• Low-power, high-speed CMOS EPROM
• Fully static design
• Wide operating voltage range: 2.5V to 6.0V
• High Sink/Source Current 25/25 mA
• Commercial, Industrial and Extended temperature
• Program Memory Parity Error Checking Circuitry
• Low-power consumption:
1997 Microchip Technology Inc.
branches which are two cycle
up to 128 x 8 bytes of Data Memory (RAM)
Oscillator Start-up Timer (OST)
oscillator for reliable operation
technology
ranges
with Parity Error Reset (PER) (PIC16C715)
8-Bit CMOS Microcontrollers with A/D Converter
- < 2 mA @ 5V, 4 MHz
- 15 A typical @ 3V, 32 kHz
- < 1 A typical standby current
DC - 200 ns instruction cycle
PIC16C71X Peripheral Features:
• Timer0: 8-bit timer/counter with 8-bit prescaler
• 8-bit multichannel analog-to-digital converter
• Brown-out detection circuitry for
• 13 I/O Pins with Individual Direction Control
Pin Diagrams
Program Memory (EPROM)
x 14
Data Memory (Bytes) x 8
I/O Pins
Timer Modules
A/D Channels
In-Circuit Serial Programming
Brown-out Reset
Interrupt Sources
Brown-out Reset (BOR)
RA3/AN3/V
PIC16C7X Features
RA3/AN3/V
PIC16C71X
RA4/T0CKI
PDIP, SOIC, Windowed CERDIP
RA4/T0CKI
MCLR/V
SSOP
MCLR/V
RA2/AN2
RA2/AN2
RB0/INT
RB0/INT
RB1
RB2
RB3
V
RB1
RB2
RB3
REF
V
V
REF
PP
SS
PP
SS
SS
• 1
2
3
4
5
6
7
8
9
• 1
2
3
4
5
6
7
8
9
10
18
17
16
15
14
13
12
10
11
20
19
18
17
16
15
14
13
12
11
710
512 1K
Yes Yes Yes Yes
Yes
36
13
1
4
4
DS30272A-page 1
71
36
13
1
4
4
RA1/AN1
RA0/AN0
OSC1/CLKIN
OSC2/CLKOUT
V
RB7
RB6
RB5
RB4
RA1/AN1
RA0/AN0
OSC1/CLKIN
OSC2/CLKOUT
V
V
RB7
RB6
RB5
RB4
DD
DD
DD
711 715
Yes Yes
1K
68
13
1
4
4
128
2K
13
1
4
4

Related parts for PIC16C711-04/P

PIC16C711-04/P Summary of contents

Page 1

... CMOS Microcontrollers with A/D Converter Devices included in this data sheet: • PIC16C710 • PIC16C71 • PIC16C711 • PIC16C715 PIC16C71X Microcontroller Core Features: • High-performance RISC CPU • Only 35 single word instructions to learn • All single cycle instructions except for program branches which are two cycle • ...

Page 2

... Instruction Set Summary .......................................................................................................................................................... 69 10.0 Development Support ............................................................................................................................................................... 85 11.0 Electrical Characteristics for PIC16C710 and PIC16C711 ....................................................................................................... 89 12.0 DC and AC Characteristics Graphs and Tables for PIC16C710 and PIC16C711.................................................................. 101 13.0 Electrical Characteristics for PIC16C715................................................................................................................................ 111 14.0 DC and AC Characteristics Graphs and Tables for PIC16C715 ............................................................................................ 125 15.0 Electrical Characteristics for PIC16C71.................................................................................................................................. 135 16 ...

Page 3

... The PIC16C710/71 devices have 36 bytes of RAM, the PIC16C711 has 68 bytes of RAM and the PIC16C715 has 128 bytes of RAM. Each device has 13 I/O pins. In addition a timer/counter is available. Also a 4-channel high-speed 8-bit A/D is provided. The 8-bit resolution is ideally suited for applications requiring low-cost analog interface, e ...

Page 4

... All PIC16/17 Family devices have Power-on Reset, selectable Watchdog Timer, selectable code protect and high I/O current capabil- ity. All PIC16C7XX Family devices use serial programming with clock pin RB6 and data pin RB7. Note 1: Please contact your local Microchip sales office for availability of these devices. DS30272A-page 4 PIC16C710 PIC16C71 PIC16C711 512 ...

Page 5

... EPROM locations and configuration options already programmed by the factory. Certain code and prototype verification procedures apply before produc- tion shipments are available. Please contact your local Microchip Technology sales office for more details. 2.4 Serialized Quick-Turnaround Production (SQTP Microchip offers a unique programming service where a few user-defi ...

Page 6

... PIC16C71X NOTES: DS30272A-page 6 1997 Microchip Technology Inc. ...

Page 7

... PIC16C71X device. Program Device Memory PIC16C710 512 x 14 PIC16C71 PIC16C711 PIC16C715 The PIC16CXX can directly or indirectly address its register files or data memory. All special function regis- ters, including the program counter, are mapped in the data memory. The PIC16CXX has an orthogonal (sym- ...

Page 8

... PIC16C71X FIGURE 3-1: PIC16C71X BLOCK DIAGRAM Device Program Memory Data Memory (RAM) PIC16C710 512 x 14 PIC16C71 PIC16C711 PIC16C715 EPROM Program Memory Program 14 Bus Instruction reg 8 Instruction Decode & Control Timing Generation OSC1/CLKIN OSC2/CLKOUT Note 1: Higher order bits are from the STATUS register. ...

Page 9

... Note 1: This buffer is a Schmitt Trigger input when configured as the external interrupt. 2: This buffer is a Schmitt Trigger input when used in serial programming mode. 3: This buffer is a Schmitt Trigger input when configured in RC oscillator mode and a CMOS input otherwise. 4: The PIC16C71 is not available in SSOP package. 1997 Microchip Technology Inc. I/O/P Buffer Description ...

Page 10

... Q4 (destination write PC+1 Fetch INST (PC+1) Execute INST (PC) Tcy1 Tcy2 Tcy3 Execute 1 Fetch 2 Execute 2 Fetch 3 Execute 3 Fetch Internal phase clock PC+2 Fetch INST (PC+2) Execute INST (PC+1) Tcy4 Tcy5 Flush Fetch SUB_1 Execute SUB_1 1997 Microchip Technology Inc. ...

Page 11

... Device Address Range Memory PIC16C710 512 x 14 0000h-01FFh PIC16C71 0000h-03FFh PIC16C711 0000h-03FFh PIC16C715 0000h-07FFh For those devices with less than 8K program memory, accessing a location above the physically implemented address will cause a wraparound. The reset vector is at 0000h and the interrupt vector is at 0004h ...

Page 12

... TMR0 OPTION PCL PCL 82h STATUS 83h 84h FSR FSR TRISA 85h TRISB 86h (2) PCON 87h ADCON1 88h ADRES 89h PCLATH 8Ah INTCON 8Bh 8Ch General Purpose Register Mapped (3) in Bank 0 AFh B0h FFh Bank 1 1997 Microchip Technology Inc. ...

Page 13

... FIGURE 4-5: PIC16C711 REGISTER FILE MAP File Address (1) (1) 00h INDF INDF 01h TMR0 OPTION 02h PCL PCL 03h STATUS STATUS 04h FSR FSR 05h PORTA TRISA 06h PORTB TRISB 07h PCON ADCON0 ADCON1 08h ADRES ADRES 09h 0Ah PCLATH PCLATH ...

Page 14

... DC C 0001 1xxx 000q quuu xxxx xxxx uuuu uuuu ---1 1111 ---1 1111 1111 1111 1111 1111 POR BOR ---- --qq ---- --uu PCFG1 PCFG0 ---- --00 ---- --00 xxxx xxxx uuuu uuuu ---0 0000 ---0 0000 INTF RBIF 0000 000x 0000 000u 1997 Microchip Technology Inc. ...

Page 15

... Other (non power-up) resets include external reset through MCLR and Watchdog Timer Reset. 4: The IRP and RP1 bits are reserved on the PIC16C715, always maintain these bits clear. 1997 Microchip Technology Inc. Bit 5 Bit 4 ...

Page 16

... PCFG1 PCFG0 ---- --00 ---- --00 1997 Microchip Technology Inc. ...

Page 17

... 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. 1997 Microchip Technology Inc recommended, therefore, that only BCF, BSF, SWAPF and MOVWF instructions are used to alter the STATUS register because these instructions do not affect the bits from the STATUS register ...

Page 18

... To achieve a 1:1 prescaler assignment for the TMR0 register, assign the prescaler to the Watchdog Timer by setting bit PSA (OPTION<3>). R/W-1 R/W-1 R/W-1 R/W-1 PSA PS2 PS1 PS0 128 R = Readable bit W = Writable bit bit0 U = Unimplemented bit, read as ‘0’ Value at POR reset 1997 Microchip Technology Inc. ...

Page 19

... Interrupt flag bits get set when an interrupt condition occurs regardless of the state of its corresponding enable bit or the global enable bit, GIE (INTCON<7>). User software should ensure the appropriate interrupt flag bits are clear prior to enabling an interrupt. 1997 Microchip Technology Inc. Note: Interrupt flag bits get set when an interrupt ...

Page 20

... Unimplemented: Read as '0' DS30272A-page 20 Note: Bit PEIE (INTCON<6>) must be set to enable any peripheral interrupt. U-0 U-0 U-0 U-0 — — — — bit0 R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’ Value at POR reset 1997 Microchip Technology Inc. ...

Page 21

... ADIF: A/D Converter Interrupt Flag bit A/D conversion completed 0 = The A/D conversion is not complete bit 5-0: Unimplemented: Read as '0' 1997 Microchip Technology Inc. Note: Interrupt flag bits get set when an interrupt condition occurs regardless of the state of its corresponding enable bit or the global enable bit, GIE (INTCON< ...

Page 22

... POR BOR bit0 U-0 R/W-1 R/W-0 R/W-q (1) — PER POR BOR bit0 R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’ Value at POR reset R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’ Value at POR reset 1997 Microchip Technology Inc. ...

Page 23

... GOTO method, care should be exercised if the table location crosses a PCL memory boundary (each 256 byte block). Refer to the application note “Implementing a Table Read" (AN556). 1997 Microchip Technology Inc. 4.3.2 STACK The PIC16CXX family has an 8 level deep x 13-bit wide hardware stack ...

Page 24

... Not Used FFh 17Fh 1FFh Bank 1 Bank 2 Bank 3 INDIRECT ADDRESSING 0x20 ;initialize pointer FSR ;to RAM INDF ;clear INDF register FSR,F ;inc pointer FSR,4 ;all done? NEXT ;no clear next ;yes continue Indirect Addressing (1) 7 FSR register 0 location select 1997 Microchip Technology Inc. ...

Page 25

... BSF STATUS, RP0 ; Select Bank 1 MOVLW 0xCF ; Value used to ; initialize data ; direction MOVWF TRISA ; Set RA<3:0> as inputs ; RA<4> as outputs ; TRISA<7:5> are always ; read as '0'. 1997 Microchip Technology Inc. PIC16C71X FIGURE 5-1: BLOCK DIAGRAM OF RA3:RA0 PINS Data bus Port CK Q Data Latch ...

Page 26

... Output is open drain type Bit 5 Bit 4 Bit 3 Bit 2 — RA4 RA3 RA2 — PORTA Data Direction Register — — — — PCFG1 Value on: Value on all Bit 1 Bit 0 POR, other resets BOR RA1 RA0 ---x 0000 ---u 0000 ---1 1111 ---1 1111 PCFG0 ---- --00 ---- --00 1997 Microchip Technology Inc. ...

Page 27

... Note 1: I/O pins have diode protection TRISB = ’1’ enables weak pull-up if RBPU = ’0’ (OPTION<7>). 1997 Microchip Technology Inc. Four of PORTB’s pins, RB7:RB4, have an interrupt on change feature. Only pins configured as inputs can cause this interrupt to occur (i.e. any RB7:RB4 pin con- fi ...

Page 28

... Input/output pin (with interrupt on change). Internal software programmable weak pull-up. Serial programming data. BLOCK DIAGRAM OF RB7:RB4 PINS (PIC16C710/711/715 weak P pull-up Data Latch D Q I/O (1) CK pin TRIS Latch D Q TTL CK Input Buffer ST Buffer RD TRIS Latch Port Port EN Q3 and 1997 Microchip Technology Inc. ...

Page 29

... PORTB RB7 RB6 86h, 186h TRISB PORTB Data Direction Register 81h, 181h OPTION RBPU INTEDG Legend unknown unchanged. Shaded cells are not used by PORTB. 1997 Microchip Technology Inc. Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 RB5 RB4 RB3 RB2 RB1 ...

Page 30

... Therefore, at higher clock frequencies, NOP a write followed by a read may be MOVF PORTB,W problematic. 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 1997 Microchip Technology Inc. ...

Page 31

... Fetch T0 T0+1 TMR0 Instruction Executed 1997 Microchip Technology Inc. bit T0SE selects the rising edge. Restrictions on the external clock input are discussed in detail in Section 6.2. The prescaler is mutually exclusively shared between the Timer0 module and the Watchdog Timer. The pres- caler assignment is controlled in software by control bit PSA (OPTION< ...

Page 32

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

Page 33

... 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. 1997 Microchip Technology Inc. caler so that the prescaler output is symmetrical. For the external clock to meet the sampling requirement, the ripple-counter must be taken into account ...

Page 34

... Writing to TMR0 when the prescaler is assigned to Timer0 will clear the prescaler count, but will not change the prescaler assignment SYNC Cycles PSA 8-bit Prescaler 1MUX PS2:PS0 PSA WDT Time-out Data Bus 8 TMR0 reg Set flag bit T0IF on Overflow 1997 Microchip Technology Inc. ...

Page 35

... TRISA — — Legend unknown unchanged unimplemented locations read as '0'. Shaded cells are not used by Timer0. 1997 Microchip Technology Inc. Note: To avoid an unintended device RESET, the following instruction sequence (shown in Example 6-1) must be executed when changing the prescaler assignment from Timer0 to the WDT ...

Page 36

... PIC16C71X NOTES: DS30272A-page 36 1997 Microchip Technology Inc. ...

Page 37

... A/D converter module is shutoff and consumes no operating current Note 1: Bit5 of ADCON0 is a General Purpose R/W bit for the PIC16C710/711 only. For the PIC16C71, this bit is unimplemented, read as '0'. 1997 Microchip Technology Inc. The A/D converter has a unique feature of being able to operate while the device is in SLEEP mode. To oper- ate in sleep, the A/D conversion clock must be derived from the A/D’ ...

Page 38

... R/W-0 R/W-0 — — PCFG1 PCFG0 RA2 RA3 V REF RA3 REF Readable bit W = Writable bit bit0 U = Unimplemented bit, read as ‘0’ Value at POR reset R = Readable bit W = Writable bit bit0 U = Unimplemented bit, read as ‘0’ =Value at POR reset 1997 Microchip Technology Inc. ...

Page 39

... Turn on A/D module (ADCON0) FIGURE 7-4: A/D BLOCK DIAGRAM A/D Converter V REF (Reference voltage) 1997 Microchip Technology Inc. 2. Configure A/D interrupt (if desired): • Clear ADIF bit • Set ADIE bit • Set GIE bit 3. Wait the required acquisition time. 4. ...

Page 40

... C)(0.05 s/ C)] ACQ 10.747 s + 1.25 s 11.997 Sampling Switch leakage V = 0.6V T 500 has no REF ) is HOLD delay must complete before acqui- AD CALCULATING THE MINIMUM REQUIRED AQUISITION TIME + [(Temp - 25 C)(0.05 s/ C)] CAP ( ln(1/511 HOLD = DAC capacitance = 51 Sampling Switch ( k ) 1997 Microchip Technology Inc. ...

Page 41

... For faster conversion times, the selection of another clock source is recommended. 4: When device frequency is greater than 1 MHz, the RC A/D conversion clock source is recommended for sleep operation only. 5: For extended voltage devices (LC), please refer to Electrical Specifications section. 1997 Microchip Technology Inc. 7.3 Configuring Analog Port Pins . The ...

Page 42

... Select Bank 1 ; Configure A/D inputs ; Select Bank Clock, A/D is on, Channel 0 is selected ; ; Enable A/D Interrupt ; Enable all interrupts ; Start A/D Conversion ; The ADIF bit will be set and the GO/DONE bit ; is cleared upon completion of the A/D Conversion. wait AD 1997 Microchip Technology Inc. ...

Page 43

... AD AD OSC Note 1: The PIC16C71 has a minimum T All other PIC16C71X devices have a minimum T 1997 Microchip Technology Inc. Since the T AD user must use some method (a timer, software loop, etc.) to determine when the A/D oscillator may be changed. Example 7-3 shows a comparison of time required for a conversion with 4-bits of resolution, ver- sus the 8-bit resolution conversion ...

Page 44

... kept away from on-chip OSC recommended specification. Any 1997 Microchip Technology Inc ...

Page 45

... RC? 1 Instruction Cycle No Yes Abort Conversion Device SLEEP? ADIF = 0 No Finish Conversion SLEEP Power-down A ADIF = 1 Wait 1997 Microchip Technology Inc. PIC16C71X FIGURE 7-6: A/D TRANSFER FUNCTION FFh FEh 04h 03h 02h 01h 00h Analog input voltage Yes Finish Conversion SLEEP Instruction ...

Page 46

... Value on: Value on Bit 0 POR, all other BOR Resets RBIF 0000 000x 0000 000u — — -0-- ---- -0-- ---- — — -0-- ---- -0-- ---- xxxx xxxx uuuu uuuu — ADON 0000 00-0 0000 00-0 PCFG0 ---- --00 ---- --00 ---x 0000 ---u 0000 RA1 RA0 1997 Microchip Technology Inc. ...

Page 47

... FOSC1:FOSC0: Oscillator Selection bits oscillator oscillator oscillator oscillator 1997 Microchip Technology Inc. fixed delay (nominal) on power-up only, designed to keep the part in reset while the power sup- ply stabilizes. With these two timers on-chip, most applications need no external reset circuitry. SLEEP mode is designed to offer a very low current power-down mode ...

Page 48

... All of the CP1:CP0 pairs have to be given the same value to enable the code protection scheme listed. DS30272A-page 48 CP0 BODEN CP0 CP0 PWRTE WDTE FOSC1 FOSC0 (1) (1) CP1 CP0 PWRTE WDTE FOSC1 FOSC0 (2) (1) (1) Register: CONFIG Address 2007h bit0 Register: CONFIG Address 2007h bit0 1997 Microchip Technology Inc. ...

Page 49

... The buffer is on the OSC2 pin. FIGURE 8-5: EXTERNAL CLOCK INPUT OPERATION (HS OSC CONFIGURATION) OSC1 Clock from ext. system PIC16CXXX OSC2 Open 1997 Microchip Technology Inc. TABLE 8-1: Ranges Tested: Mode XT 455 kHz 2.0 MHz 4.0 MHz HS 8.0 MHz 16.0 MHz These values are for design guidance only ...

Page 50

... MHz EPSON CA-301 8.000M-C 20 MHz EPSON CA-301 20.000M-C CAPACITOR SELECTION FOR CRYSTAL OSCILLATOR, PIC16C710/711/715 Cap. Range Cap. Range Freq 47-68 pF 47- MHz MHz MHz MHz 15-33 pF 15-33 pF 15-33 pF 15-33 pF Crystals Used 20 PPM 20 PPM 50 PPM 50 PPM 30 PPM 30 PPM 1997 Microchip Technology Inc. ...

Page 51

... F XTAL 1997 Microchip Technology Inc. 8.2.4 RC OSCILLATOR For timing insensitive applications the “RC” device option offers additional cost savings. The RC oscillator frequency is a function of the supply voltage, the resis- tor (Rext) and capacitor (Cext) values, and the operat- ing temperature ...

Page 52

... The PIC16C710/711/715 have a MCLR noise filter in the MCLR reset path. The filter will detect and ignore small pulses. It should be noted that a WDT Reset does not drive MCLR pin low. Enable PWRT See Table 8-6 for time-out situations. Enable OST 1997 Microchip Technology Inc. S Chip_Reset Q R ...

Page 53

... Reset V DD Internal Reset V DD Internal Reset 1997 Microchip Technology Inc. The power-up time delay will vary from chip to chip due temperature, and process variation. See DC DD parameters for details. 8.4.3 OSCILLATOR START-UP TIMER (OST) Applicable Devices The Oscillator Start-up Timer (OST) provides 1024 oscillator cycle (from OSC1 input) delay after the PWRT delay is over ...

Page 54

... If left unprogrammed (read as ‘1’), parity is enabled. Power-up PWRTE = 1 PWRTE = 1024T 1024T OSC OSC 72 ms — Power-up Brown-out PWRTE = 1 1024T 1024T OSC OSC — 710 71 711 715 Wake-up from SLEEP 1024 T OSC — Wake-up from SLEEP 1024T OSC OSC — 1997 Microchip Technology Inc. ...

Page 55

... Microchip Technology Inc. PD Power-on Reset 1 Illegal set on POR x Illegal set on POR 0 Brown-out Reset x WDT Reset 1 WDT Wake-up 0 MCLR Reset during normal operation u MCLR Reset during SLEEP or interrupt wake-up from SLEEP 0 Parity Error Reset 1 Illegal, PER is set on POR x Illegal, PER is set on BOR ...

Page 56

... Register 000h 0001 1xxx 000h 000u uuuu 000h 0001 0uuu 000h 0000 1uuu uuu0 0uuu 000h 0001 1uuu 000h uuu1 0uuu ( uuu1 0uuu 1997 Microchip Technology Inc. PCON Register PIC16C710/711 ---- --0x ---- --uu ---- --uu ---- --uu ---- --uu ---- --u0 ---- --uu PCON Register u--- -10x u--- -uuu u--- -uuu u--- -uuu u--- -uuu u--- -uu0 ...

Page 57

... 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 8-10 for reset value for specific condition. 4: The PCON register is not implemented on the PIC16C71. 5: Brown-out reset is not implemented on the PIC16C71. 1997 Microchip Technology Inc. MCLR Resets (5) WDT Reset uuuu uuuu ...

Page 58

... Wake-up via WDT or Interrupt uuuu uuuu N/A uuuu uuuu ( (3) uuuq quuu uuuu uuuu ---u uuuu uuuu uuuu ---u uuuu (1) uuuu uuuu (1) -u-- ---- uuuu uu-u uuuu uuuu ---u uuuu uuuu uuuu -u-- ---- ---- -1uu ---- --uu 1997 Microchip Technology Inc. ...

Page 59

... FIGURE 8-12: TIME-OUT SEQUENCE ON POWER-UP (MCLR NOT TIED MCLR INTERNAL POR PWRT TIME-OUT OST TIME-OUT INTERNAL RESET FIGURE 8-13: TIME-OUT SEQUENCE ON POWER-UP (MCLR TIED MCLR INTERNAL POR PWRT TIME-OUT OST TIME-OUT INTERNAL RESET 1997 Microchip Technology Inc. PIC16C71X T PWRT T OST T PWRT T OST ) DD T PWRT T OST ...

Page 60

... Internal brown-out detection on the PIC16C710/711/715 should be disabled when using this circuit. 3: Resistors should be adjusted for the characteristics of the transistor. PROTECTION CIRCUIT 10k MCLR 40k PIC16CXX DD PROTECTION CIRCUIT MCLR 40k PIC16CXX is below a certain level 0.7V V • 1997 Microchip Technology Inc. ...

Page 61

... The interrupt flag bit(s) must be cleared in software before re-enabling interrupts to avoid recursive interrupts. 1997 Microchip Technology Inc. PIC16C71X For external interrupt events, such as the INT pin or PORTB change interrupt, the interrupt latency will be three or four instruction cycles ...

Page 62

... T0IF T0IE INTF INTE RBIF RBIE ADIF ADIE GIE FIGURE 8-18: INTERRUPT LOGIC, PIC16C715 ADIF ADIE DS30272A-page 62 Wakeup (If in SLEEP mode) Interrupt to CPU Wakeup T0IF (If in SLEEP mode) T0IE INTF INTE RBIF RBIE ADIF GIE Interrupt to CPU 1997 Microchip Technology Inc. ...

Page 63

... 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. 1997 Microchip Technology Inc. 8.5.2 TMR0 INTERRUPT An overflow (FFh fl ...

Page 64

... DS30272A-page 64 ;Copy W to TEMP register, could be bank one or zero ;Swap status to be saved into W ;Save status to bank zero STATUS_TEMP register ;Swap STATUS_TEMP register into W ;(sets bank to original state) ;Move W into STATUS register ;Swap W_TEMP ;Swap W_TEMP into W 1997 Microchip Technology Inc. ...

Page 65

... RBPU Legend: Shaded cells are not used by the Watchdog Timer. Note 1: See Figure 8-1, Figure 8-2 and Figure 8-3 for operation of these bits. 1997 Microchip Technology Inc. assigned to the WDT under software control by writing to the OPTION register. Thus, time-out periods ...

Page 66

... SLEEP instruction completes. To determine whether a SLEEP instruction executed, test the PD bit. If the PD bit is set, the SLEEP instruction was executed as a NOP. To ensure that the WDT is cleared, a CLRWDT instruc- tion should be executed before a SLEEP instruction. 1997 Microchip Technology Inc. ...

Page 67

... 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. 1997 Microchip Technology Inc (2) OST ...

Page 68

... PIC16C71X NOTES: DS30272A-page 68 1997 Microchip Technology Inc. ...

Page 69

... 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: 1997 Microchip Technology Inc. PIC16C71X • Byte-oriented operations • Bit-oriented operations • Literal and control operations All instructions are executed within one single instruc- tion cycle, unless a conditional test is true or the pro- gram counter is changed as a result of an instruction ...

Page 70

... TO 00 0000 0110 0011 1 C,DC,Z 11 110x kkkk kkkk 1010 kkkk kkkk 1997 Microchip Technology Inc. Notes 1,2 1,2 2 1,2 1,2 1,2,3 1,2 1,2,3 1,2 1,2 1,2 1,2 1,2 1,2 1,2 1,2 1 ...

Page 71

... Q Cycle Activity Decode Read register 'f' Example ADDWF FSR, 0 Before Instruction W = 0x17 FSR = 0xC2 After Instruction W = 0xD9 FSR = 0xC2 1997 Microchip Technology Inc. ANDLW Syntax: Operands: Operation: Status Affected: Encoding: kkkk kkkk Description: . Words: Cycles: Q Cycle Activity Process Write to data W Example ANDWF ...

Page 72

... CY . instruction 1 1( Decode Read Process NOP register 'f' data (2nd Cycle NOP NOP NOP NOP HERE BTFSC FLAG,1 FALSE GOTO PROCESS_CODE • TRUE • • Before Instruction PC = address HERE After Instruction if FLAG<1> address TRUE if FLAG<1>= address FALSE 1997 Microchip Technology Inc. ...

Page 73

... NOP NOP Example HERE BTFSC FALSE GOTO • TRUE • • Before Instruction PC = address HERE After Instruction if FLAG<1> FLAG<1> 1997 Microchip Technology Inc. CALL Syntax: Operands: Operation: Status Affected: bfff ffff Encoding: Description: instruction. CY Words Cycles: Process NOP Q Cycle Activity: data ...

Page 74

... CLRWDT instruction resets the Watch- dog Timer. It also resets the prescaler of the WDT. Status bits TO and PD are set Decode NOP Process Clear data WDT Counter CLRWDT Before Instruction WDT counter = ? After Instruction WDT counter = 0x00 WDT prescaler 1997 Microchip Technology Inc. ...

Page 75

... Cycles Cycle Activity Decode Read register 'f' Example DECF CNT, 1 Before Instruction CNT = Z = After Instruction CNT = Z = 1997 Microchip Technology Inc. DECFSZ Syntax: Operands: Operation: Status Affected: dfff ffff Encoding: Description Words: Process Write to Cycles: data dest Q Cycle Activity: 0x13 If Skip: 0x13 0xEC ...

Page 76

... Z 00 1010 dfff ffff The contents of register 'f' are incre- mented the result is placed in the W register the result is placed back in register 'f Decode Read Process Write to register data dest 'f' INCF CNT, 1 Before Instruction CNT = 0xFF After Instruction CNT = 0x00 1997 Microchip Technology Inc. ...

Page 77

... CONTINUE • • • Before Instruction PC = address HERE After Instruction CNT = CNT + 1 if CNT address CONTINUE if CNT address HERE +1 1997 Microchip Technology Inc. IORLW Syntax: Operands: Operation: Status Affected: Encoding: dfff ffff Description: Words: Cycles Cycle Activity Example Process Write to data dest ...

Page 78

... After Instruction W = 0x5A Move label ] MOVWF 127 (W) (f) None 00 0000 1fff ffff Move data from W register to register . ' Decode Read Process Write register data register 'f' 'f' MOVWF OPTION_REG Before Instruction OPTION = 0xFF W = 0x4F After Instruction OPTION = 0x4F W = 0x4F 1997 Microchip Technology Inc. ...

Page 79

... PIC16C5X products. Since OPTION is a readable/writable register, the user can directly address it. Words: 1 Cycles: 1 Example To maintain upward compatibility with future PIC16CXX products, do not use this instruction. 1997 Microchip Technology Inc. RETFIE Syntax: Operands: Operation: Status Affected: 0xx0 0000 Encoding: Description ...

Page 80

... Return from subroutine. The stack is POPed and the top of the stack (TOS) is loaded into the program counter. This is a two cycle instruction Decode NOP NOP Pop from the Stack NOP NOP NOP NOP RETURN After Interrupt PC = TOS 1997 Microchip Technology Inc. ...

Page 81

... Words: 1 Cycles Cycle Activity Decode Read register 'f' Example RLF REG1,0 Before Instruction REG1 C After Instruction REG1 W C 1997 Microchip Technology Inc. RRF Syntax: Operands: Operation: Status Affected: Encoding: dfff ffff Description: Words: Cycles Cycle Activity: Process Write to data dest Example = 1110 0110 ...

Page 82

... The result is placed in the W register Decode Read Process Write to W literal 'k' data SUBLW 0x02 Before Instruction After Instruction result is positive Before Instruction After Instruction result is zero Before Instruction After Instruction W = 0xFF result is nega- tive 1997 Microchip Technology Inc. ...

Page 83

... Before Instruction REG1 = After Instruction REG1 = 0xFF result is negative 1997 Microchip Technology Inc. SWAPF Syntax: Operands: Operation: Status Affected: dfff ffff Encoding: Description: Words: Cycles Cycle Activity: Process Write to data dest Example TRIS Syntax: Operands: Operation: Status Affected: None Encoding: Description: ...

Page 84

... Exclusive OR the contents of the W register with register 'f the result is stored in the W register the result is stored back in register 'f Decode Read Process Write to register data dest 'f' XORWF REG 1 Before Instruction REG = 0xAF W = 0xB5 After Instruction REG = 0x1A W = 0xB5 1997 Microchip Technology Inc. ...

Page 85

... Microsoft Windows 3.x environment were chosen to best make these fea- tures available to you, the end user compliant version of PICMASTER is available for European Union (EU) countries. 1997 Microchip Technology Inc. 10.3 ICEPIC: Low-Cost PIC16CXXX In-Circuit Emulator ICEPIC is a low-cost in-circuit emulator solution for the Microchip PIC16C5X and PIC16CXXX families of 8-bit OTP microcontrollers ...

Page 86

... 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. MPASM allows full symbolic debugging from PICMASTER, Microchip’s Universal Emulator System. 1997 Microchip Technology Inc. ...

Page 87

... TECH-MP, edition for imple- menting more complex systems. Both versions include Microchip’s fuzzy LAB stration board for hands-on experience with fuzzy logic systems implementation. 1997 Microchip Technology Inc. 10.14 MP-DriveWay Generator MP-DriveWay is an easy-to-use Windows-based Appli- cation Code Generator. With MP-DriveWay you can visually confi ...

Page 88

... PIC16C71X TABLE 10-1: DEVELOPMENT TOOLS FROM MICROCHIP Products Emulator DS30272A-page 88 Tools Software Programmers Boards Demo 1997 Microchip Technology Inc. ...

Page 89

... ELECTRICAL CHARACTERISTICS FOR PIC16C710 AND PIC16C711 Absolute Maximum Ratings † Ambient temperature under bias................................................................................................................. -55 to +125˚C Storage temperature .............................................................................................................................. -65˚C to +150˚C Voltage on any pin with respect Voltage on V with respect to V ........................................................................................................... -0.3 to +7. Voltage on MCLR with respect to V ................................................................................................................0 to +14V SS Voltage on RA4 with respect to Vss ...

Page 90

... PIC16C71X Applicable Devices 710 71 711 715 11.1 DC Characteristics: PIC16C710-04 (Commercial, Industrial, Extended) PIC16C711-04 (Commercial, Industrial, Extended) PIC16C710-10 (Commercial, Industrial, Extended) PIC16C711-10 (Commercial, Industrial, Extended) PIC16C710-20 (Commercial, Industrial, Extended) PIC16C711-20 (Commercial, Industrial, Extended) DC CHARACTERISTICS Param. Characteristic No. D001 Supply Voltage V D001A D002* RAM Data Retention ...

Page 91

... For RC osc configuration, current through Rext is not included. The current through the resistor can be esti- mated by the formula The current is the additional current consumed when this peripheral is enabled. This current should be added to the base 1997 Microchip Technology Inc. Applicable Devices Standard Operating Conditions (unless otherwise stated) Operating temperature 0˚C -40˚C -40˚C Sym Min Typ† ...

Page 92

... DC Characteristics: PIC16C710-04 (Commercial, Industrial, Extended) PIC16C711-04 (Commercial, Industrial, Extended) PIC16C710-10 (Commercial, Industrial, Extended) PIC16C711-10 (Commercial, Industrial, Extended) PIC16C710-20 (Commercial, Industrial, Extended) PIC16C711-20 (Commercial, Industrial, Extended) PIC16LC710-04 (Commercial, Industrial, Extended) PIC16LC711-04 (Commercial, Industrial, Extended) DC CHARACTERISTICS Param Characteristic No. Input Low Voltage ...

Page 93

... The leakage current on the MCLR pin is strongly dependent on the applied voltage level. The specified levels represent normal operating conditions. Higher leakage current may be measured at different input voltages. 3: Negative current is defined as current sourced by the pin. 1997 Microchip Technology Inc. Applicable Devices Standard Operating Conditions (unless otherwise stated) Operating temperature 0˚ ...

Page 94

... S F Fall H High I Invalid (Hi-impedance) L Low FIGURE 11-1: LOAD CONDITIONS Load condition 1 Pin R = 464 for all pins except OSC2 for OSC2 output DS30272A-page 94 T Time osc OSC1 SCK T0CKI t1 T1CKI Period R Rise V Valid Z Hi-impedance Load condition Pin 1997 Microchip Technology Inc. ...

Page 95

... All devices are tested to operate at "min." values with an external clock applied to the OSC1/CLKIN pin. When an external clock input is used, the "Max." cycle time limit is "DC" (no clock) for all devices. OSC2 is disconnected (has no loading) for the PIC16C710/711. 1997 Microchip Technology Inc. Applicable Devices Q1 ...

Page 96

... PIC16C710/711 — PIC16LC710/711 — OSC new value Typ† Max Units Conditions Note Note Note Note 1 — 0. Note 1 CY — — ns Note 1 — — ns Note 1 — 100 ns — — ns — — — — — — ns — — ns 1997 Microchip Technology Inc. ...

Page 97

... T Brown-out Reset pulse width BOR * These parameters are characterized but not tested. † Data in "Typ" column is at 5V, 25˚C unless otherwise stated. These parameters are for design guidance only and are not tested. 1997 Microchip Technology Inc. PIC16C71X Applicable Devices Min Typ† ...

Page 98

... Typ† Max Units Conditions No Prescaler 0.5T + 20* — CY With Prescaler 10* — No Prescaler 0.5T + 20* — CY With Prescaler 10* — Greater of: — 40 2Tosc — — ns Must also meet parameter 42 — ns — ns Must also meet parameter 42 — ns — prescale value (2, 4,..., 256) 7Tosc — 1997 Microchip Technology Inc. ...

Page 99

... Note 1: When A/D is off, it will not consume any current other than minor leakage current. The power-down current spec includes any such leakage from the A/D module current is from RA3 pin or V REF 1997 Microchip Technology Inc. Applicable Devices Min Typ† Max Units — ...

Page 100

... LSb (i.e., 19 5.12V) from the last sampled voltage (as stated HOLD — If the A/D clock source is selected as RC, a time added before the CY A/D clock starts. This allows the SLEEP instruction to be executed 1997 Microchip Technology Inc. ...

Page 101

... DC AND AC CHARACTERISTICS GRAPHS AND TABLES FOR PIC16C710 AND PIC16C711 The graphs and tables provided in this section are for design guidance and are not tested or guaranteed. In some graphs or tables the data presented are outside specified operating range (i.e., outside specified V range). This is for information only and devices are guaranteed to operate properly only within the specifi ...

Page 102

... R = 100k 3.0 3.5 4.0 4.5 5.0 5.5 6.0 V (Volts) DD FREQUENCY vs Cext = 100 pF 3. 10k R = 100k 3.0 3.5 4.0 4.5 5.0 5.5 6.0 V (Volts) DD FREQUENCY vs Cext = 300 pF 3. 10k R = 100k 3.0 3.5 4.0 4.5 5.0 5.5 6.0 V (Volts) DD 1997 Microchip Technology Inc. ...

Page 103

... Device in Brown-out 400 Reset 200 4.3 0 2.5 3.0 3.5 4.0 4.5 V (Volts) DD The shaded region represents the built-in hysteresis of the brown-out reset circuitry. 1997 Microchip Technology Inc. Applicable Devices BROWN- FIGURE 12-10: TYPICAL 5.0 5.5 6.0 0 2.5 3.0 DD FIGURE 12-11: MAXIMUM I ...

Page 104

... Frequency(MHz) 6.0V 5.5V 5.0V 4.5V 4.0V 3.5V 3.0V 2.5V 3.5 4.0 4.5 Shaded area is beyond recommended range 6.0V 5.5V 5.0V 4.5V 4.0V 3.5V 3.0V 2.5V 3.5 4.0 4.5 Shaded area is beyond recommended range 1997 Microchip Technology Inc. ...

Page 105

... FREQUENCY (RC MODE @ 100 pF, - 1600 1400 1200 1000 800 600 400 200 0 0 200 400 Shaded area is beyond recommended range 1997 Microchip Technology Inc. Applicable Devices 600 800 1000 1200 Frequency(kHz) 600 800 1000 1200 Frequency(kHz) PIC16C71X 710 71 711 715 6.0V 5.5V 5 ...

Page 106

... DS30272A-page 106 200 300 400 500 Frequency(kHz) 200 300 400 500 Frequency(kHz) 6.0V 5.5V 5.0V 4.5V 4.0V 3.5V 3.0V 2.5V 600 700 6.0V 5.5V 5.0V 4.5V 4.0V 3.5V 3.0V 2.5V 600 700 1997 Microchip Technology Inc. ...

Page 107

... The percentage variation indicated here is part to part variation due to normal process distribution. The variation indicated is 3 standard deviation from average value for V = 5V. DD 1997 Microchip Technology Inc. Applicable Devices FIGURE 12-19: TRANSCONDUCTANCE(gm) 4.0 5.0V 3.5 3.0 4.0V 2.5 3 ...

Page 108

... MHz MHz MHz MHz 15-33 pF 15- MHz 15-33 pF 15-33 pF Epson C-001R32.768K-A 20 PPM STD XTL 200.000KHz 20 PPM ECS ECS-10-13-1 50 PPM ECS ECS-40-20-1 50 PPM EPSON CA-301 8.000M-C 30 PPM EPSON CA-301 20.000M-C 30 PPM 1997 Microchip Technology Inc. ...

Page 109

... MODE -40 C) 140 120 100 80 6.0V 60 5.5V 5.0V 40 4.5V 4.0V 3.5V 20 3.0V 2. 100 Frequency(kHz) 1997 Microchip Technology Inc. Applicable Devices FIGURE 12-27: TYPICAL I 1800 1600 1400 1200 1000 800 600 400 150 200 200 0 0.0 0.4 FIGURE 12-28: MAXIMUM I 1800 1600 1400 ...

Page 110

... FREQUENCY DD (HS MODE 7.0 6.0 5.0 4.0 3.0 6.0V 2.0 5.5V 5.0V 1.0 4.5V 4.0V 0 Frequency(MHz) DS30272A-page 110 FIGURE 12-30: MAXIMUM I 7.0 6.0 5.0 4.0 3.0 6.0V 2.0 5.5V 5.0V 1.0 4. vs. DD FREQUENCY (HS MODE, - Frequency(MHz) 1997 Microchip Technology Inc. ...

Page 111

... 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 specification is not implied. Exposure to maximum rating conditions for extended periods may affect device reliability. 1997 Microchip Technology Inc. Applicable Devices (except V and MCLR) ...

Page 112

OSC PIC16C715-04 PIC16C715- 4. 4. max 2.7 mA typ max ...

Page 113

... 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 1997 Microchip Technology Inc. Applicable Devices Standard Operating Conditions (unless otherwise stated) Operating temperature 0˚C -40˚C -40˚C Sym Min Typ† ...

Page 114

... A BOR enabled V can be lowered in SLEEP mode without losing RAM data. measurements in active operation mode are: /2Rext (mA) with Rext in kOhm. measurement. T +70˚C (commercial +85˚C (industrial) A Conditions = 4 MHz 3.0V (Note kHz 3.0V, WDT disabled and 1997 Microchip Technology Inc. ...

Page 115

... The leakage current on the MCLR pin is strongly dependent on the applied voltage level. The specified levels represent normal operating conditions. Higher leakage current may be measured at different input voltages. 3: Negative current is defined as coming out of the pin. 1997 Microchip Technology Inc. Applicable Devices Standard Operating Conditions (unless otherwise stated) Operating temperature 0˚ ...

Page 116

... Section 13.2. Sym Min Typ Max Units † +125 +125 XT, HS and LP modes when OSC2 external clock is used to drive OSC1 +70˚C (commercial) +85˚C (industrial) +125˚C (extended) Conditions = -3.0 mA 4.5V -2.5 mA 4.5V -1.3 mA 4.5V -1.0 mA 4.5V, DD 1997 Microchip Technology Inc. ...

Page 117

... MCLR Uppercase letters and their meanings Fall H High I Invalid (Hi-impedance) L Low FIGURE 13-1: LOAD CONDITIONS Load condition 1 Pin R = 464 for all pins except OSC2 for OSC2 output 1997 Microchip Technology Inc. Applicable Devices T Time osc OSC1 SCK T0CKI t1 T1CKI Period R Rise ...

Page 118

... HS osc mode (PIC16C715-20 osc mode ns RC osc mode ns XT osc mode ns HS osc mode (PIC16C715-04 osc mode (PIC16C715-10 osc mode (PIC16C715-20 osc mode 4/F CY OSC ns XT oscillator s LP oscillator ns HS oscillator ns XT oscillator ns LP oscillator ns HS oscillator 1997 Microchip Technology Inc. ...

Page 119

... 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 1997 Microchip Technology Inc. Applicable Devices Q1 Q2 ...

Page 120

... Units 2 — — 5V, -40˚C to +125˚ 5V, -40˚C to +125˚C DD — 1024T — — T OSC OSC 28 72 132 5V, -40˚C to +125˚C DD — — 2.1 s 100 — — — TBD — s 1997 Microchip Technology Inc Conditions = OSC1 period B (D005) VDD ...

Page 121

... Tcke2tmrI Delay from external clock edge to timer increment * These parameters are characterized but not tested. † Data in "Typ" column is at 5V, 25˚C unless otherwise stated. These parameters are for design guidance only and are not tested. 1997 Microchip Technology Inc. Applicable Devices Min Typ† ...

Page 122

... DD Conditions — REF REF — REF REF — REF REF — REF REF — REF REF — REF Average current consumption when A/D is on. (Note 1) mA During sampling A All other times 1997 Microchip Technology Inc. ...

Page 123

... Note 1: When A/D is off, it will not consume any current other than minor leakage current. The power-down current spec includes any such leakage from the A/D module current is from RA3 pin or V REF 1997 Microchip Technology Inc. Applicable Devices Min Typ† Max — ...

Page 124

... AD Note 2 20 — cycle Tcy 1 0 NEW_DATA DONE Units Conditions s V 3.0V REF s V full range REF ADCS1:ADCS0 = 11 (RC oscillator source) s PIC16LC715 3. PIC16C715 — s 1997 Microchip Technology Inc. ...

Page 125

... FIGURE 14-1: TYPICAL I vs 2.5 3.0 FIGURE 14-2: MAXIMUM I vs 10.000 1.000 0.100 0.010 0.001 2.5 3.0 1997 Microchip Technology Inc. Applicable Devices (WDT DISABLED, RC MODE) DD 3.5 4.0 4.5 5.0 V (Volts) DD (WDT DISABLED, RC MODE) DD 3.5 4.0 4.5 5.0 V (Volts) DD PIC16C71X 710 71 711 715 DD is standard deviation ...

Page 126

... R = 100k 3.0 3.5 4.0 4.5 5.0 5.5 6.0 V (Volts) DD FREQUENCY vs Cext = 100 pF 3. 10k R = 100k 3.0 3.5 4.0 4.5 5.0 5.5 6.0 V (Volts) DD FREQUENCY vs Cext = 300 pF 3. 10k R = 100k 3.0 3.5 4.0 4.5 5.0 5.5 6.0 V (Volts) DD 1997 Microchip Technology Inc. ...

Page 127

... Reset 200 4.3 0 2.5 3.0 3.5 4.0 4.5 V (Volts) DD This shaded region represents the built-in hysteresis of the brown-out reset circuitry. Shaded area is beyond recommended range. 1997 Microchip Technology Inc. Applicable Devices BROWN- FIGURE 14-10: TYPICAL 5.0 5.5 6.0 0 2.5 3.0 Shaded area is beyond recommended range ...

Page 128

... Frequency(MHz) 1.5 2.0 2.5 3.0 Frequency(MHz) 5.5V 5.0V 4.5V 4.0V 3.5V 3.0V 2.5V 3.5 4.0 4.5 Shaded area is beyond recommended range 5.5V 5.0V 4.5V 4.0V 3.5V 3.0V 2.5V 3.5 4.0 4.5 Shaded area is beyond recommended range 1997 Microchip Technology Inc. ...

Page 129

... FREQUENCY (RC MODE @ 100 pF, - 1600 1400 1200 1000 800 600 400 200 0 0 200 400 Shaded area is beyond recommended range 1997 Microchip Technology Inc. Applicable Devices 600 800 1000 1200 Frequency(kHz) 600 800 1000 1200 Frequency(kHz) PIC16C71X 710 71 711 715 5.5V 5.0V 4 ...

Page 130

... DS30272A-page 130 200 300 400 500 Frequency(kHz) 200 300 400 500 Frequency(kHz) 5.5V 5.0V 4.5V 4.0V 3.5V 3.0V 2.5V 600 700 5.5V 5.0V 4.5V 4.0V 3.5V 3.0V 2.5V 600 700 1997 Microchip Technology Inc. ...

Page 131

... The percentage variation indicated here is part to part variation due to normal process distribution. The variation indicated is 3 standard deviation from average value for V = 5V. DD 1997 Microchip Technology Inc. Applicable Devices FIGURE 14-19: TRANSCONDUCTANCE(gm) 4.0 5.0V 3.5 3.0 4.0V 2.5 3 ...

Page 132

... MHz MHz MHz MHz 15-33 pF 15- MHz 15-33 pF 15-33 pF Epson C-001R32.768K-A 20 PPM STD XTL 200.000KHz 20 PPM ECS ECS-10-13-1 50 PPM ECS ECS-40-20-1 50 PPM EPSON CA-301 8.000M-C 30 PPM EPSON CA-301 20.000M-C 30 PPM 1997 Microchip Technology Inc. ...

Page 133

... MODE -40 C) 140 120 100 80 60 5.5V 5.0V 40 4.5V 4.0V 3.5V 20 3.0V 2. 100 Frequency(kHz) 1997 Microchip Technology Inc. Applicable Devices FIGURE 14-27: TYPICAL I 1800 1600 1400 1200 1000 800 600 400 150 200 200 0 0.0 0.4 FIGURE 14-28: MAXIMUM I 1800 1600 ...

Page 134

... FIGURE 14-29: TYPICAL I vs. FREQUENCY DD (HS MODE 7.0 6.0 5.0 4.0 3.0 2.0 5.5V 5.0V 1.0 4.5V 4.0V 0 Frequency(MHz) DS30272A-page 134 FIGURE 14-30: MAXIMUM I 7.0 6.0 5.0 4.0 3.0 2.0 5.5V 5.0V 1.0 4. vs. DD FREQUENCY (HS MODE, - Frequency(MHz) 1997 Microchip Technology Inc. ...

Page 135

... Freq: 200 kHz max. The shaded sections indicate oscillator selections which are tested for functionality, but not for MIN/MAX specifications recom- mended that the user select the device type that ensures the specifications required. 1997 Microchip Technology Inc. Applicable Devices (except V , MCLR, and RA4) ...

Page 136

... OSC 1 1 can be lowered without losing RAM data. measurements in active operation mode are: /2Rext (mA) with Rext in kOhm. T +70˚C (commercial +85˚C (industrial) A Conditions = 4 MHz 5.5V (Note MHz 5. 4.0V, WDT enabled 4.0V, WDT disabled + 4.0V, WDT disabled and 1997 Microchip Technology Inc. ...

Page 137

... SLEEP mode, with all I/O pins in hi-impedance state and tied For RC osc configuration, current through Rext is not included. The current through the resistor can be esti- mated by the formula 1997 Microchip Technology Inc. Applicable Devices Standard Operating Conditions (unless otherwise stated) OOperating temperature 0˚C -40˚ ...

Page 138

... A Vss LP osc configuration RA4 pin OD +70˚C (commercial) +85˚C (industrial) Conditions range 5.5V DD range DD range PIN Pin at hi- PIN PIN XT, HS and PIN DD = 8.5mA 4.5V 1.6mA 4.5V -3.0mA 4.5V -1.3mA 4.5V, DD 1997 Microchip Technology Inc. ...

Page 139

... Negative current is defined as current sourced by the pin. 4: PIC16C71 Rev. "Ax" INT pin has a TTL input buffer. PIC16C71 Rev. "Bx" INT pin has a Schmitt Trigger input buffer. 1997 Microchip Technology Inc. Applicable Devices Standard Operating Conditions (unless otherwise stated) OOperating temperature 0˚C ...

Page 140

... Fall H High I Invalid (Hi-impedance) L Low FIGURE 15-1: LOAD CONDITIONS Load condition 1 Pin R = 464 DS30272A-page 140 T Time osc OSC1 SCK T0CKI t1 T1CKI Period R Rise V Valid Z Hi-impedance Load condition Pin V SS for all pins except OSC2/CLKOUT for OSC2 output 1997 Microchip Technology Inc. ...

Page 141

... All devices are tested to operate at "min." values with an external clock applied to the OSC1/CLKIN pin. When an external clock input is used, the "Max." cycle time limit is "DC" (no clock) for all devices. OSC2 is disconnected (has no loading) for the PIC16C71. 1997 Microchip Technology Inc. Applicable Devices Q1 ...

Page 142

... PIC16C71 — PIC16LC71 — OSC new value Max Units Conditions Note Note Note Note 1 — 0. Note 1 CY — — ns Note 1 — — ns Note 1 — 100 ns — — ns — — ns — — — — — — ns — — ns 1997 Microchip Technology Inc. ...

Page 143

... I/O High Impedance from MCLR IOZ Low * These parameters are characterized but not tested. † Data in "Typ" column is at 5V, 25˚C unless otherwise stated. These parameters are for design guidance only and are not tested. 1997 Microchip Technology Inc. PIC16C71X Applicable Devices Min Typ† ...

Page 144

... Typ† Max Units Conditions No Prescaler 0. — CY With Prescaler 10 — No Prescaler 0. — CY With Prescaler 10 — No Prescaler — CY With Prescaler Greater of — ns Must also meet parameter 42 — ns — ns Must also meet parameter 42 — ns — prescale value (2, 4,..., 256) 1997 Microchip Technology Inc. ...

Page 145

... Note 1: When A/D is off, it will not consume any current other than minor leakage current. The power-down current spec includes any such leakage from the A/D module current is from RA3 pin or V REF 3: These specifications apply if V REF 1997 Microchip Technology Inc. Applicable Devices Min Typ† — — 8 bits — ...

Page 146

... LSb (i.e., 19 5.12V) from the last sampled voltage (as stated HOLD — If the A/D clock source is selected as RC, a time added before the A/D clock starts. This allows the SLEEP instruction to be executed 1997 Microchip Technology Inc. ...

Page 147

... Rext = 10k Cext = 100 pF 1.000 0.975 0.950 V = 3.5V 0.925 DD 0.900 0.875 0.850 1997 Microchip Technology Inc. Applicable Devices FIGURE 16-2: TYPICAL RC OSCILLATOR 5.0 4.5 4.0 3.5 3.0 2.5 2.0 1.5 1.0 0.5 0.0 3.0 FIGURE 16-3: TYPICAL RC OSCILLATOR V = 5.5V DD 2.0 1 ...

Page 148

... V PD VS. DD WATCHDOG TIMER ENABLED 25 C 3.5 4.0 4.5 5.0 5.5 6.0 V (Volts) DD 1997 Microchip Technology Inc. ...

Page 149

... V (Volts) DD FIGURE 16-9: V (INPUT THRESHOLD VOLTAGE) OF I/O PINS TH 2.00 1.80 1.60 1.40 1.20 1.00 0.80 0.60 2.5 3.0 1997 Microchip Technology Inc. Applicable Devices V FIGURE 16-8: MAXIMUM 125 3.0 3 - with Watchdog Timer enabled, has two components ...

Page 150

... DS30272A-page 150 V VS. 4.0 4.5 5.0 5.5 V (Volts) DD Max (- Min (- 4.5 5.0 5.5 V (Volts Max (- Typ ( Min (- Max (- Typ ( Min (- 6.0 Min (- ( 6.0 6.5 1997 Microchip Technology Inc. ...

Page 151

... DD VS. 10,000 1,000 100 10 1 10,000 100,000 FIGURE 16-13: MAXIMUM VS. 10,000 1,000 100 10 10,000 100,000 1997 Microchip Technology Inc. Applicable Devices 1,000,000 Frequency (Hz) FREQ (EXT CLOCK, -40 TO +85 C) 1,000,000 10,000,000 Frequency (Hz) PIC16C71X 710 71 711 715 6.0 5.5 5.0 4.5 4.0 3.5 3 ...

Page 152

... FREQ WITH A/D OFF (EXT CLOCK, -55 TO +125 C) 1,000,000 10,000,000 Frequency (Hz) FIGURE 16-16: TRANSCONDUCTANCE (gm) 9000 8000 7000 6000 5000 4000 3000 2000 Typ 1000 6.0 5.5 5.0 4.5 4.0 3.5 3.0 100,000,000 OF HS OSCILLATOR V VS. DD Max, -40 C Typ Min (Volts) DD 1997 Microchip Technology Inc. ...

Page 153

... Min 3.0 3.5 4.0 4.5 5.0 V (Volts) DD FIGURE 16-18: TRANSCONDUCTANCE (gm OSCILLATOR 2500 Max, -40 C 2000 1500 1000 500 (Volts) DD 1997 Microchip Technology Inc. Applicable Devices FIGURE 16-19 VS Min -10 -15 -20 5.5 6.0 -25 0.0 0.5 FIGURE 16-20 VS -10 -15 Typ -20 Min @ 85 C -25 -30 ...

Page 154

... FIGURE 16-21 VS Max @ - 0.0 1.0 0.5 1.5 2.0 V (Volts) OL DS30272A-page 154 FIGURE 16-22 Typ @ Min @ + 2.5 3.0 0.0 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4 Max @ -40 C Typ @ 25 C Min @ + (Volts) OL 1997 Microchip Technology Inc. ...

Page 155

... A3 3.810 B 0.355 B1 1.270 C 0.203 D 22.352 D1 20.320 E 7.620 E1 5.588 e1 2.540 eA 7.366 eB 7.620 L 3.175 0.508 S1 0.381 1997 Microchip Technology Inc Max Notes Min 10 0 5.080 — 1.7780 0.015 4.699 0.150 4.445 0.150 0.585 0.014 1.651 Typical 0.050 0.381 Typical 0.008 23.622 0.880 20.320 Reference 0 ...

Page 156

... Reference 0.300 9.906 0.310 3.556 0.120 18 18 – 0.035 – 0.005 Inches Max Notes 10 0.160 – 0.150 0.022 0.060 Reference 0.015 Typical 0.925 0.800 Reference 0.325 0.280 0.102 Typical 0.300 Reference 0.390 0.140 18 – – 1997 Microchip Technology Inc. ...

Page 157

... Min 0 A 2.362 A1 0.101 B 0.355 C 0.241 D 11.353 E 7.416 e 1.270 H 10.007 h 0.381 L 0.406 – 1997 Microchip Technology Inc Base Plane Package Group: Plastic SOIC (SO) Max Notes Min 8 0 2.642 0.093 0.300 0.004 0.483 0.014 0.318 0.009 11.735 0.447 7.595 0.292 1.270 Reference ...

Page 158

... Min 8 0 1.990 0.068 0.210 0.002 0.380 0.010 0.220 0.005 7.330 0.278 5.380 0.205 0.650 Reference 0.026 7.900 0.301 0.950 0.022 20 20 0.102 - C Inches Max Notes 8 0.078 0.008 0.015 0.009 0.289 0.212 0.026 Reference 0.311 0.037 20 0.004 1997 Microchip Technology Inc. ...

Page 159

... 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. 1997 Microchip Technology Inc. Example PIC16C711-04/P 9452CBA Example PIC16C715 -20/50 ...

Page 160

... PIC16C71X NOTES: DS30272A-page 160 1997 Microchip Technology Inc. ...

Page 161

... Controlled by configuration word bit BODEN. Brown-out reset ensures the device is placed in a reset condition if V dips below a fixed set- DD point. 1997 Microchip Technology Inc. APPENDIX B: COMPATIBILITY To convert code written for PIC16C5X to PIC16CXX, the user should take the following steps: 1. Remove any program memory page select operations (PA2, PA1, PA0 bits) for CALL, GOTO ...

Page 162

... DS30272A-page 162 APPENDIX D: WHAT’S CHANGED 1. Minor changes, spelling and grammatical changes. 2. Low voltage operation on the PIC16LC710/711/ 715 has been reduced from 3.0V to 2.5V. 3. Part numbers of the PIC16C70 and PIC16C71A have changed to PIC16C710 and PIC16C711, respectively. 1997 Microchip Technology Inc. ...

Page 163

... Computed GOTO ...............................................................23 Configuration Bits ...............................................................47 CP0 bit ......................................................................... 47, 48 CP1 bit ................................................................................ bit ..................................................................................17 DC Characteristics ........................................................... 147 PIC16C71 ................................................................ 136 PIC16C710 ........................................................ 90, 101 PIC16C711 ........................................................ 90, 101 PIC16C715 ...................................................... 113, 125 Development Support .................................................... 3, 85 Development Tools .............................................................85 Diagrams - See Block Diagrams Digit Carry bit ........................................................................7 Direct Addressing ...............................................................24 E Electrical Characteristics PIC16C71 ................................................................ 135 PIC16C710 ...

Page 164

... KeeLoq Evaluation and Programming Tools ................... 87 L Loading of PC .................................................................... 23 LP ...................................................................................... 54 M MCLR ........................................................................... 52, 56 Memory Data Memory ............................................................. 12 Program Memory ....................................................... 11 Register File Maps PIC16C71 .......................................................... 12 PIC16C710 ........................................................ 12 PIC16C711 ........................................................ 13 PIC16C715 ........................................................ 13 MP-DriveWay - Application Code Generator .................. 87 MPEEN bit ................................................................... 22, 48 MPLAB C ........................................................................ 87 MPLAB Integrated Development Environment Software ............................................................................. 86 O OPCODE ........................................................................... 69 OPTION Register ............................................................... 18 Orthogonal ...

Page 165

... RB5 .............................................................................. 9 RB6 .............................................................................. 9 RB7 .............................................................................. 9 V .............................................................................. ............................................................................... 9 SS Pinout Descriptions PIC16C71 .................................................................... 9 PIC16C710 .................................................................. 9 PIC16C711 .................................................................. 9 PIC16C715 .................................................................. 9 PIR1 Register ..................................................................... 21 POP ................................................................................... 23 POR ............................................................................. 53, 54 Oscillator Start-up Timer (OST) ........................... 47, 53 Power Control Register (PCON) ................................ 54 Power-on Reset (POR) ............................ 47, 53, 57, 58 Power-up Timer (PWRT) ..................................... 47, 53 Time-out Sequence .................................................... 54 Time-out Sequence on Power-up .............................. 59 TO ........................................................................ 52, 55 POR bit ...

Page 166

... Stack .................................................. 11 Figure 4-3: PIC16C715 Program Memory Map and Stack .................................................. 11 Figure 4-4: PIC16C710/71 Register File Map ............. 12 Figure 4-5: PIC16C711 Register File Map .................. 13 Figure 4-6: PIC16C715 Register File Map .................. 13 Figure 4-7: Status Register (Address 03h, 83h).......... 17 Figure 4-8: OPTION Register (Address 81h, 181h) .... 18 Figure 4-9: INTCON Register (Address 0Bh, 8Bh) ...

Page 167

... DD Figure 12-7: Typical RC Oscillator Frequency vs. V .................................................... 102 DD Figure 12-8: Typical I vs. V Brown-out Detect PD DD Enabled (RC Mode) ................................ 103 1997 Microchip Technology Inc. PIC16C71X Figure 12-9: Maximum I vs. V Brown-out Detect PD DD Enabled ( - Mode)........ 103 Figure 12-10: Typical I vs. Timer1 Enabled PD (32 kHz, RC0/RC1 = 33 pF/33 pF, RC Mode) ...

Page 168

... Transconductance (gm Oscillator vs. V .............................. 152 DD Figure 16-17: Transconductance (gm Oscillator vs. V .............................. 153 DD Figure 16-18: Transconductance (gm Oscillator vs. V .............................. 153 DD Figure 16-19: IOH vs. VOH .......................... 153 DD Figure 16-20: IOH vs. VOH .......................... 153 DD Figure 16-21: IOL vs. VOL ........................... 154 DD Figure 16-22: IOL vs. VOL ........................... 154 DD 1997 Microchip Technology Inc. ...... 152 DD ...

Page 169

... CLKOUT and I/O Timing Requirements.... 96 Table 11-4: Reset, Watchdog Timer, Oscillator Start-up Timer, Power-up Timer, and Brown-out Reset Requirements ......... 97 Table 11-5: Timer0 External Clock Requirements ....... 98 1997 Microchip Technology Inc. PIC16C71X Table 11-6: A/D Converter Characteristics: PIC16C710/711-04 (Commercial, Industrial, Extended) PIC16C710/711-10 (Commercial, Industrial, Extended) ...

Page 170

... PIC16C71X NOTES: DS30390D-page 170 1997 Microchip Technology Inc. ...

Page 171

... Trademarks: The Microchip name, logo, PIC, PICSTART, PICMASTER and PRO MATE are registered trademarks of Microchip Technology Incorporated in the U.S.A. and other countries. Flex ROM, MPLAB and fuzzy LAB, are trademarks and SQTP is a service mark of Microchip in the U ...

Page 172

... 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? DS30272A-page 172 Total Pages Sent FAX: (______) _________ - _________ N Literature Number: DS30272A 1997 Microchip Technology Inc. ...

Page 173

... 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. 1997 Microchip Technology Inc. QTP, SQTP, Code or Special Requirements JW ...

Page 174

... PIC16C71X NOTES: DS30272A-page 174 1997 Microchip Technology Inc. ...

Page 175

... NOTES: 1997 Microchip Technology Inc. PIC16C71X DS30272A-page 175 ...

Page 176

... 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 177

... 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