PIC16C715-04/P Microchip Technology Inc., PIC16C715-04/P Datasheet

no-image

PIC16C715-04/P

Manufacturer Part Number
PIC16C715-04/P
Description
18 PIN, 3.5 KB OTP, 128 RAM, 13 I/O
Manufacturer
Microchip Technology Inc.
Datasheet

Specifications of PIC16C715-04/P

A/d Inputs
4-Channel, 8-Bit
Cpu Speed
5 MIPS
Eeprom Memory
0 Bytes
Input Output
13
Memory Type
OTP
Number Of Bits
8
Package Type
18-pin PDIP
Programmable Memory
3.5K Bytes
Ram Size
128 Bytes
Speed
4 MHz
Timers
1-8-bit
Voltage, Range
2.5-5.5 V
Lead Free Status / Rohs Status
RoHS Compliant part Electrostatic Device
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 PIC16C715-04/P

PIC16C715-04/P Summary of contents

Page 1

... Wide operating voltage range: 2.5V to 6.0V • High Sink/Source Current 25/25 mA • Commercial, Industrial and Extended temperature ranges • Program Memory Parity Error Checking Circuitry with Parity Error Reset (PER) (PIC16C715) • Low-power consumption: - < 5V, 4 MHz - 15 A typical @ 3V, 32 kHz - < typical standby current 1997 Microchip Technology Inc ...

Page 2

... 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.0 DC and AC Characteristics Graphs and Tables for PIC16C71 .............................................................................................. 147 17 ...

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

... TMR1, TMR1, TMR2 TMR2 SPI/I C, USART SPI/I C, USART — Yes 2.5-6.0 2.5-6.0 Yes Yes Yes 28-pin SDIP, 40-pin DIP; SOIC 44-pin PLCC, MQFP, TQFP (1) PIC16C715 PIC16C72 PIC16CR72 — — 2K 128 128 TMR0, TMR0, TMR1, TMR1, TMR2 TMR2 SPI/I C SPI/I C — — ...

Page 5

... The OTP devices, packaged in plastic packages, per- mit the user to program them once. In addition to the program memory, the configuration bits must also be programmed. 1997 Microchip Technology Inc. 2.3 Quick-Turnaround-Production (QTP) Devices Microchip offers a QTP Programming Service for fac- tory production orders ...

Page 6

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

Page 7

... 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- metrical) instruction set that makes it possible to carry out any operation on any register using any addressing mode. This symmetrical nature and lack of ‘ ...

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

... PC<12:0> 13 Stack Level 1 Stack Level 8 Reset Vector 0000h Interrupt Vector 0004h 0005h On-chip Program Memory 03FFh 0400h 1FFFh PIC16C715 PROGRAM MEMORY MAP AND STACK PC<12:0> 13 Stack Level 1 Stack Level 8 Reset Vector 0000h Interrupt Vector 0004h 0005h On-chip Program Memory 07FFh 0800h ...

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

... FFh 1Ch 1Dh 1Eh 1Fh 20h 7Fh Unimplemented data memory locations, read as '0'. Note 1: Not a physical register. PIC16C71X PIC16C715 REGISTER FILE MAP File Address (1) (1) 80h INDF INDF TMR0 OPTION 81h PCL PCL 82h STATUS STATUS ...

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

Page 16

... The upper byte of the program counter is not directly accessible. PCLATH is a holding register for the PC<12:8> whose contents are transferred to the upper byte of the program counter. 3: 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. DS30272A-page 16 Bit 5 ...

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

... Those devices with brown-out detection circuitry con- tain an additional bit to differentiate a Brown-out Reset (BOR) condition from a Power-on Reset condition. For the PIC16C715 the PCON register also contains status bits MPEEN and PER. MPEEN reflects the value of the MPEEN bit in the configuration word. PER indicates a parity error reset has occurred ...

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

... PIC16C71X FIGURE 7-2: ADCON0 REGISTER (ADDRESS 1Fh), PIC16C715 R/W-0 R/W-0 R/W-0 R/W-0 ADCS1 ADCS0 — CHS1 bit7 bit 7-6: ADCS1:ADCS0: A/D Conversion Clock Select bits OSC OSC /32 OSC (clock derived from an RC oscillation) RC bit 5: Unused bit 6-3: CHS1:CHS0: Analog Channel Select bits ...

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. TABLE 7-2: T vs. DEVICE OPERATING FREQUENCIES, PIC16C710/711, PIC16C715 AD AD Clock Source ( Operation ...

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

... PORTA — — 85h TRISA — — Legend unknown unchanged unimplemented read as '0'. Shaded cells are not used for A/D conversion. TABLE 7-4: REGISTERS/BITS ASSOCIATED WITH A/D, PIC16C715 Address Name Bit 7 Bit 6 Bit 5 0Bh/8Bh INTCON GIE PEIE T0IE PIR1 — ...

Page 47

... Oscillator selection • Reset - Power-on Reset (POR) - Power-up Timer (PWRT) - Oscillator Start-up Timer (OST) - Brown-out Reset (BOR) (PIC16C710/711/715) - Parity Error Reset (PER) (PIC16C715) • Interrupts • Watchdog Timer (WDT) • SLEEP • Code protection • ID locations • In-circuit serial programming The PIC16CXX has a Watchdog Timer which can be shut off only through confi ...

Page 48

... Note 1: Enabling Brown-out Reset automatically enables Power-up Timer (PWRT) regardless of the value of bit PWRTE. Ensure the Power-up Timer is enabled anytime Brown-out Reset is enabled. 2: All of the CP0 bits have to be given the same value to enable the code protection scheme listed. FIGURE 8-3: CONFIGURATION WORD, PIC16C715 CP1 CP0 CP1 ...

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

... RC OSC Note 1: This is a separate oscillator from the RC oscillator of the CLKIN pin. 2: Brown-out Reset is implemented on the PIC16C710/711/715. 3: Parity Error Reset is implemented on the PIC16C715. DS30272A-page 52 WDT Reset, on MCLR reset during SLEEP, and Brown- out Reset (BOR). They are not affected by a WDT Wake-up, which is viewed as the resumption of normal operation ...

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

... Bit1 is POR (Power-on Reset Status bit cleared on a Power-on Reset and unaffected otherwise. The user must set this bit following a Power-on Reset. For the PIC16C715, bit2 is PER (Parity Error Reset cleared on a Parity Error Reset and must be set by user software. It will also be set on a Power-on Reset. ...

Page 55

... POR BOR TO PD Power-on Reset Illegal set on POR Illegal set on POR Brown-out Reset WDT Reset WDT Wake- MCLR Reset during normal operation MCLR Reset during SLEEP or interrupt wake-up from SLEEP TABLE 8-9: STATUS BITS AND THEIR SIGNIFICANCE, PIC16C715 PER POR BOR ...

Page 56

... Legend unchanged unknown unimplemented bit read as '0'. Note 1: When the wake-up is due to an interrupt and the GIE bit is set, the PC is loaded with the interrupt vector (0004h). TABLE 8-11: RESET CONDITION FOR SPECIAL REGISTERS, PIC16C715 Condition Power-on Reset MCLR Reset during normal operation ...

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

... PIC16C71X TABLE 8-13: INITIALIZATION CONDITIONS FOR ALL REGISTERS, PIC16C715 Register Power-on Reset, Brown-out Reset Parity Error Reset W xxxx xxxx INDF N/A TMR0 xxxx xxxx PCL 0000 0000 STATUS 0001 1xxx FSR xxxx xxxx PORTA ---x 0000 PORTB xxxx xxxx PCLATH ---0 0000 INTCON ...

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

... PIC16C71X FIGURE 8-17: INTERRUPT LOGIC, PIC16C710, 71, 711 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 ...

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

... A typ Freq: 4 MHz max. Freq: 10 MHz max 4. 52.5 A typ kHz, 4.0V Not recommended for 0.9 A typ. at 4.0V use in LP mode PD Freq: 200 kHz max. 1997 Microchip Technology Inc. Applicable Devices (except V , MCLR, and RA4).......................................... -0. > PIC16C710-20 PIC16C711- ...

Page 90

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

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

... Conditions For entire V range DD 4.5 V 5.5V DD Note1 4.5 V 5.5V DD For entire V range DD For entire V range DD Note1 = 5V PIN Pin at hi- PIN DD impedance V V PIN XT, HS and LP PIN DD osc configuration 1997 Microchip Technology Inc. ...

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

... FIGURE 12-1: TYPICAL I vs 2.5 3.0 FIGURE 12-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 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

... ELECTRICAL CHARACTERISTICS FOR PIC16C715 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 to +7. Voltage on MCLR with respect to V ................................................................................................................0 to +14V SS Voltage on RA4 with respect to Vss ...................................................................................................................0 to +14V Total power dissipation (Note 1) ...

Page 112

... DD Do not use in HS mode I : 1.5 A typ. at 4.5V PD Freq: 20 MHz max 2. max kHz, 3. not use in LP mode I : 5.0 A max. at 3.0V PD Freq: 200 kHz max. PIC16C715/ 4. max max Freq: 4 MHz max 4. max max ...

Page 113

... See section on Power-on Reset for details POR V/ms See section on Power-on Reset for details VDD 3.7 4.0 4.3 V BODEN configuration bit is enabled VDD XT, RC osc configuration (PIC16C715-04 OSC - 13 osc configuration (PIC16C715-20) F OSC I - 300* 500 A BOR enabled V BOR I - 10.5 ...

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

... DC Characteristics: PIC16C715-04 (Commercial, Industrial, Extended) PIC16C715-10 (Commercial, Industrial, Extended) PIC16C715-20 (Commercial, Industrial, Extended) PIC16LC715-04 (Commercial, Industrial)) DC CHARACTERISTICS Param Characteristic No. Input Low Voltage I/O ports D030 with TTL buffer D031 with Schmitt Trigger buffer D032 MCLR, RA4/T0CKI,OSC1 (in RC mode) D033 OSC1 (in XT, HS and LP) ...

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

... 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 PIC16C715. DS30272A-page 118 ...

Page 119

... Note 1: Measurements are taken in RC Mode where CLKOUT output 1997 Microchip Technology Inc. Applicable Devices 20, 21 Min — — — — — 0.25T + — TBD TBD PIC16C715 — PIC16LC715 — PIC16C715 — PIC16LC715 — OSC PIC16C71X 710 71 711 715 new value Typ† Max Units Conditions Note Note Note 1 ...

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

... PIC16C71X Applicable Devices 710 71 711 715 TABLE 13-6: A/D CONVERTER CHARACTERISTICS: PIC16C715-04 (COMMERCIAL, INDUSTRIAL, EXTENDED) PIC16C715-10 (COMMERCIAL, INDUSTRIAL, EXTENDED) PIC16C715-20 (COMMERCIAL, INDUSTRIAL, EXTENDED) Parameter Sym Characteristic No. N Resolution R N Integral error INT N Differential error DIF N Full scale error FS N Offset error OFF — ...

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

... DC AND AC CHARACTERISTICS GRAPHS AND TABLES FOR PIC16C715 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 specified range ...

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 9447CBA Example Example PIC16C710 20I/SS025 9517SBP Microchip part number information Customer specifi ...

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

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

Page 165

... 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 ........................................................................ 22, 54 Port RB Interrupt ...

Page 166

... 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) ..... 19 Figure 4-10: PIE1 Register (Address 8Ch) ...

Page 167

... External Brown-out Protection Circuit 1 .... 60 Figure 8-16: External Brown-out Protection Circuit 2 .... 60 Figure 8-17: Interrupt Logic, PIC16C710, 71, 711......... 62 Figure 8-18: Interrupt Logic, PIC16C715....................... 62 Figure 8-19: INT Pin Interrupt Timing ............................ 63 Figure 8-20: Watchdog Timer Block Diagram ............... 65 Figure 8-21: Summary of Watchdog Timer Registers ... 65 Figure 8-22: Wake-up from Sleep Through Interrupt ...

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

... Table 1-1: PIC16C71X Family of Devices.................... 4 Table 3-1: PIC16C710/71/711/715 Pinout Description .................................................. 9 Table 4-1: PIC16C710/71/711 Special Function Register Summary .................................... 14 Table 4-2: PIC16C715 Special Function Register Summary................................................... 15 Table 5-1: PORTA Functions ..................................... 26 Table 5-2: Summary of Registers Associated with PORTA...................................................... 26 Table 5-3: PORTB Functions ..................................... 28 Table 5-4: Summary of Registers Associated with PORTB ...

Page 170

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

Page 171

... 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. 1997 Microchip Technology Inc. PIC16C71X The procedure to connect will vary slightly from country to country. Please check with your local CompuServe agent for details if you have a problem ...

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

... Use of Microchip’s products as critical com- ponents in life support systems is not authorized except with express written approval by Microchip. No licenses are con- veyed, implicitly or otherwise, under any intellectual property rights.  2002 Microchip Technology Inc. ® MCUs. Trademarks The Microchip name and logo, the Microchip logo, FilterLab, ...

Page 177

... Palazzo Taurus Colleoni 1 20041 Agrate Brianza Milan, Italy Tel: 39-039-65791-1 Fax: 39-039-6899883 United Kingdom Arizona Microchip Technology Ltd. 505 Eskdale Road Winnersh Triangle Wokingham Berkshire, England RG41 5TU Tel: 44 118 921 5869 Fax: 44-118 921-5820 01/18/02  2002 Microchip Technology Inc. ...

Related keywords