PIC16HV540/JW Microchip Technology, PIC16HV540/JW Datasheet

IC MCU EPROM 512X12 18CDIP

PIC16HV540/JW

Manufacturer Part Number
PIC16HV540/JW
Description
IC MCU EPROM 512X12 18CDIP
Manufacturer
Microchip Technology
Series
PIC® 16Cr

Specifications of PIC16HV540/JW

Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Peripherals
Brown-out Detect/Reset, POR, WDT
Number Of I /o
12
Program Memory Size
768B (512 x 12)
Program Memory Type
EPROM, UV
Ram Size
25 x 8
Voltage - Supply (vcc/vdd)
3.5 V ~ 15 V
Oscillator Type
External
Operating Temperature
0°C ~ 70°C
Package / Case
18-CDIP (0.300", 7.62mm) Window
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Eeprom Size
-
Data Converters
-
Connectivity
-

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16HV540/JW
Manufacturer:
TI
Quantity:
3
High-Performance RISC CPU:
• Only 33 single word instructions to learn
• All instructions are single cycle (200 ns) except for
• Operating speed: DC - 20 MHz clock input
• 12-bit wide instructions
• 8-bit wide data path
• Seven special function hardware registers
• Four-level deep hardware stack
• Direct, indirect and relative addressing modes for
Peripheral Features:
• 8-bit real time clock/counter (TMR0) with 8-bit pro-
• Power-On Reset (POR)
• Brown-Out Protection
• Device Reset Timer (DRT) with short RC oscilla-
• Programmable Watchdog Timer (WDT) with its
• Sleep Timer
• 8 High Voltage I/O
• 4 Regulated I/O
• Wake up from SLEEP on-pin change
• Programmable code protection
• Power saving SLEEP mode
• Selectable oscillator options:
• Glitch filtering on MCLR and pin change inputs
program branches which are two-cycle
data and instructions
grammable prescaler
tor start-up time
own on-chip RC oscillator for reliable operation
- RC:
- XT:
- HS:
- LP:
2000 Microchip Technology Inc.
Enhanced PIC16C54 EPROM-Based 8-Bit CMOS Microcontroller
Low-cost RC oscillator
Standard crystal/resonator
High speed crystal/resonator
Power saving, low frequency crystal
DC - 200 ns instruction cycle
With On-Chip Voltage Regulator
Preliminary
Pin Configurations
CMOS Technology:
• Selectable on-chip 3V/5V Regulator
• Low-power, high-speed CMOS EPROM technol-
• Fully static design
• Wide-operating voltage range:
• Temperature range:
• Low-power consumption
PIC16HV540
MCLR/V
MCLR/V
PDIP, SOIC, Windowed CERDIP
SSOP
ogy
- 3.5V to 15V
- Commercial: 0 C to 70 C
- Industrial: -40 C to 85 C
- < 2 mA typical @ 5V, 4 MHz
- 15 A typical @ 3V, 32 kHz
- < 4.5 A typical standby current @ 15V (with
WDT disabled), 0 C to 70 C
T0CKI
T0CKI
RA2
RA3
RB0
RB1
RB2
RB3
RA2
RA3
RB0
RB1
RB2
RB3
V
V
V
PP
SS
PP
SS
SS
2
3
4
5
6
7
8
9
2
3
4
5
6
7
8
9
10
1
1
18
17
16
15
14
13
12
11
10
20
19
18
17
16
15
14
13
12
11
DS40197B-page 1
RA1
RA0
OSC1/CLKIN
OSC2/CLKOUT
V
RB7
RB6
RB5
RB4
RA1
RA0
OSC1/CLKIN
OSC2/CLKOUT
V
V
RB7
RB6
RB5
RB4
DD
DD
DD

Related parts for PIC16HV540/JW

PIC16HV540/JW Summary of contents

Page 1

... Power saving SLEEP mode • Selectable oscillator options: - RC: Low-cost RC oscillator - XT: Standard crystal/resonator - HS: High speed crystal/resonator - LP: Power saving, low frequency crystal • Glitch filtering on MCLR and pin change inputs 2000 Microchip Technology Inc. PIC16HV540 Pin Configurations PDIP, SOIC, Windowed CERDIP RA2 1 RA3 2 T0CKI 3 MCLR/V ...

Page 2

... However, we realize that we may have missed a few things. If you find any information that is missing or appears in error, please: • Fill out and mail in the reader response form in the back of this data sheet. • E-mail us at webmaster@microchip.com. We appreciate your assistance in making this a better document. DS40197B-page 2 To Our Valued Customers Preliminary 2000 Microchip Technology Inc. ...

Page 3

... GENERAL DESCRIPTION The PIC16HV540 from Microchip Technology is a low- cost, high-performance, 8-bit, fully-static, EPROM- based CMOS microcontroller pin and software compatible with the PIC16C5X family of devices. It employs a RISC architecture with only 33 single word/ single cycle instructions. All instructions are single cycle except for program branches, which take two cycles ...

Page 4

... Timer Module(s) Packages I/O Pins Voltage Range (Volts) Number of Instructions Packages All PICmicro devices have Power-on Reset, selectable WDT, selectable code protect and high I/O current capability. Preliminary PIC16HV540 20 512 25 TMR0 12 3.5V-15V 33 18-pin DIP SOIC 20-pin SSOP 2000 Microchip Technology Inc. ...

Page 5

... EPROM locations and configuration bit options already programmed by the factory. Certain code and prototype verification procedures apply before produc- tion shipments are available. (Please contact your Microchip Technology sales office for more details.) 2.4 Serialized Quick-Turnaround- Production (SQTP) Devices ...

Page 6

... PIC16HV540 NOTES: DS40197B-page 6 Preliminary 2000 Microchip Technology Inc. ...

Page 7

... This symmetrical nature and lack of ‘special optimal situations’ make programming with the PIC16HV540 simple yet efficient. In addition, the learn- ing curve is reduced significantly. 2000 Microchip Technology Inc. PIC16HV540 The PIC16HV540 device contains an 8-bit ALU and working register. The ALU is a general purpose arith- metic unit ...

Page 8

... TRISB PORTB TRISA PORTA 4 RA<3:0> HIGH VOLTAGE TRANSLATION RB<7:0> Preliminary OSC1 OSC2 MCLR “OSC SELECT” 2 “CODE OSCILLATOR/ PROTECT” TIMING & CONTROL CLKOUT “SLEEP” “OPTION” GENERAL PURPOSE REGISTER FILE 5-7 (SRAM) 25 Bytes FSR 2000 Microchip Technology Inc. ...

Page 9

... Legend input output, I/O = input/output power, — = Not Used, TTL = TTL input Schmitt Trigger input. Note 1: V during programming mode can not exceed parameter PD1 called out in the PIC16C5X Programming DD Specification (Literature number DS30190). 2000 Microchip Technology Inc. I/O/P Input Type Levels ...

Page 10

... Q2, Q3, and Q4 cycles. Data memory is read during Q2 (operand read) and written during Q4 (destination write PC+1 Fetch INST (PC+1) Execute INST (PC) Execute 1 Fetch 2 Execute 2 Fetch 3 Execute 3 Fetch 4 Preliminary Internal phase clock PC+2 (1) CLKIN/8 Fetch INST (PC+2) Execute INST (PC+1) Flush Fetch SUB_1 Execute SUB_1 2000 Microchip Technology Inc. ...

Page 11

... For the PIC16HV540, the register file is composed of 10 special function registers and 25 general purpose registers (Figure 4-2). 2000 Microchip Technology Inc. 4.2.1 GENERAL PURPOSE REGISTER FILE The register file is accessed either directly or indirectly through the file select register FSR (Section 4.8). ...

Page 12

... Pin Change Reset 1111 1111 1111 1111 --11 1111 --11 1111 --uu uuuu --xx xxxx uuuu uuuu xxxx xxxx uuuu uuuu xxxx xxxx 1111 1111 1111 1111 000u uuuu x00x xxxx 111u uuuu 111x xxxx ---- uuuu ---- xxxx uuuu uuuu xxxx xxxx 2000 Microchip Technology Inc. ...

Page 13

... C: Carry/borrow bit (for ADDWF, SUBWF and RRF, RLF instructions) ADDWF carry occurred carry did not occur 2000 Microchip Technology Inc. For example, CLRF STATUS will clear the upper three bits and set the Z bit. This leaves the STATUS register as 000u u1uu (where u = unchanged). ...

Page 14

... W register will be transferred to the OPTION regis- ter. A RESET sets the OPTION<5:0> bits. Example 4-1 illustrates how to initialize the OPTION register. W-1 W-1 W-1 W-1 PSA PS2 PS1 PS0 128 Preliminary W = Writable bit U = Unimplemented bit Value at POR reset 2000 Microchip Technology Inc. ...

Page 15

... SL: Sleep Voltage Level Select bit bit setting volt bit 1: BODL: Brown-out Voltage Level Select bit bit setting, but SL during SLEEP volt bit 0: BODEN: Brown-out Enabled 1 = Disabled 0 = Enabled 2000 Microchip Technology Inc. W-1 W-1 W-1 W BODL BODEN 0 Preliminary PIC16HV540 W = Writable bit ...

Page 16

... Note 1: There are no STATUS bits to indicate stack overflows or stack underflow condi- tions. Note 2: There are no instructions mnemonics called PUSH or POP. These are actions 0 that occur from the execution of the CALL and RETLW instructions. Preliminary 2000 Microchip Technology Inc. ...

Page 17

... DIRECT/INDIRECT ADDRESSING Direct Addressing (FSR) 4 (opcode (Note 1) location select Data Memory Note 1: 2: 2000 Microchip Technology Inc. EXAMPLE 4-4: movlw movwf NEXT clrf incf btfsc goto CONTINUE : The FSR is a 5-bit (PIC16HV540) wide register used in conjunction with the INDF register to indirectly address the data memory area. The FSR< ...

Page 18

... PIC16HV540 NOTES: DS40197B-page 18 Preliminary 2000 Microchip Technology Inc. ...

Page 19

... For pin RB7, the pin state must be driven to logic 0 and allowed to ramp to a logic 1 for correct operation. 2000 Microchip Technology Inc. 5.3 TRIS Registers The output driver control registers are loaded with the contents of the W register by executing the TRIS f instruction ...

Page 20

... FIGURE 5-2: BLOCK DIAGRAM OF PORTB<0:3> PINS DATA BUS D Q Data WR Latch PORTB REG D Q TRIS TRIS Latch PORTB PORTB WAKE-UP ON PIN CHANGE DS40197B-page PORTA Step-up P Circuit Step-down Preliminary IO RA0-RA3 pins RB0-RB3 pins V SS Circuit “SLEEP” RD PORTB 2000 Microchip Technology Inc. ...

Page 21

... D Q TRIS TRIS Latch PORTB PORTB FIGURE 5-4: BLOCK DIAGRAM OF PORTB<7> PIN DATA BUS D Q Data WR Latch PORTB REG D Q TRIS TRIS Latch PORTB PORTB 2000 Microchip Technology Inc Step-up P Circuit Step-down Step-up P Circuit Step-down Circuit WAKE-UP ON PIN CHANGE Preliminary PIC16HV540 V ...

Page 22

... READ-MODIFY-WRITE INSTRUCTIONS ON AN I/O PORT PORT latch PORT pins ---------- ---------- ;01pp pppp 11pp pppp ;10pp pppp 11pp pppp ; ;10pp pppp 10pp pppp 2000 Microchip Technology Inc. ...

Page 23

... SUCCESSIVE I/O OPERATION Instruction fetched MOVWF PORTB MOVF PORTB,W RB7:RB0 Port pin written here Instruction executed MOVWF PORTB (Write to PORTB) 2000 Microchip Technology Inc NOP NOP Port pin sampled here MOVF PORTB,W NOP (Read PORTB) Preliminary PIC16HV540 This example shows a write to PORTB followed by a read from PORTB ...

Page 24

... PIC16HV540 NOTES: DS40197B-page 24 Preliminary 2000 Microchip Technology Inc. ...

Page 25

... The prescaler is shared with the Watchdog Timer (Figure 6-6). 3: Bit 0 of TMR0 will be output on OSC2/CLKOUT pin when RC oscillator mode is selected. 2000 Microchip Technology Inc. Counter mode is selected by setting the T0CS bit (OPTION<5>). In this mode, Timer0 will increment either on every rising or falling edge of pin T0CKI. The incrementing edge is determined by the source edge select bit T0SE (OPTION< ...

Page 26

... NT0 + 1 reads NT0 + 2 PC+4 PC+5 PC+6 NT0+1 T0 Read TMR0 Read TMR0 reads NT0 reads NT0 + 1 Value on Value on Value on MCLR and Wake-up on Brown-out WDT Reset Pin Change Reset uuuu uuuu uuuu uuuu xxxx xxxx --11 1111 --11 1111 --11 1111 2000 Microchip Technology Inc. ...

Page 27

... External clock if no prescaler selected, Prescaler output otherwise. 3: The arrows indicate the points in time where sampling occurs. 2000 Microchip Technology Inc. When a prescaler is used, the external clock input is divided by the asynchronous ripple counter-type pres- caler so that the prescaler output is symmetrical. For ...

Page 28

... TMR0,0 instruction is used. The T0CKI pin should be pulled high or low to prevent false state changes on the CLKOUT pin. Preliminary CHANGING PRESCALER (WDT TIMER0) ;Clear WDT and ;prescaler ;Select TMR0, new ;prescale value and ;clock source CLKIN/8 125 kHz 250 kHz 375 kHz 500 kHz 2000 Microchip Technology Inc. ...

Page 29

... T0SE T0CS Watchdog Timer (1) PSA (2) WDTEN SWDTEN bit Configuration bit Note 1: T0CS, T0SE, PSA, PS<2:0> are bits in the OPTION register. 2: SWDTEN is a bit in the OPTION2 register. 2000 Microchip Technology Inc Sync Cycles (1) (1) PSA 8-bit Prescaler 8 (1) PS<2:0> Internal Oscillator 1MUX ...

Page 30

... PIC16HV540 NOTES: DS40197B-page 30 Preliminary 2000 Microchip Technology Inc. ...

Page 31

... LP oscillator Note 1: Refer to the PIC16C5X Programming Specification (Literature number DS30190) to determine how to access the configuration word. 2000 Microchip Technology Inc. The SLEEP mode is designed to offer a very low cur- rent power-down mode. The user can wake up from SLEEP through external reset or through a Watchdog Timer time-out ...

Page 32

... Preliminary OSC1 PIC16HV540 OSC2 Cap. Range Cap. Range C1 C2 68-100 pF 68-100 pF 15-33 pF 15-33 pF 10-22 pF 10-22 pF 10-22 pF 10- Cap.Range Cap. Range 15-30 pF 200-300 pF 15-30 pF 100-200 pF 15-30 pF 15-100 pF 15-30 pF 15- > 4.5V 2000 Microchip Technology Inc. ...

Page 33

... This circuit is also designed to use the fundamental fre- quency of the crystal. The inverter performs a 180- degree phase shift in a series resonant oscillator cir- cuit. The 330 resistors provide the negative feedback to bias the inverters in their linear region. 2000 Microchip Technology Inc. FIGURE 7-4: 330 74AS04 0.1 F XTAL ...

Page 34

... PIC16HV540 ferent reset conditions (Section 7.9). These bits may be used to determine the nature of the reset. Table 7-4 lists a full description of reset states of all reg- isters. Figure 7-6 shows a simplified block diagram of the on-chip reset circuit. Preliminary 2000 Microchip Technology Inc. ...

Page 35

... FIGURE 7-6: SIMPLIFIED BLOCK DIAGRAM OF ON-CHIP RESET CIRCUIT Power-up Detect V DD MCLR/V pin PP WDT On-chip RC OSC 2000 Microchip Technology Inc. PCL Addr: 02h 1111 1111 1111 1111 1111 1111 1111 1111 1111 1111 1111 1111 1111 1111 MCLR or WDT Power-On Reset ...

Page 36

... MCLR from external capacitor C in the event of DD MCLR pin breakdown due to Electrostatic Dis- charge (ESD) or Electrical Overstress (EOS). DD (min) value and Preliminary EXTERNAL POWER-ON RESET CIRCUIT (FOR SLOW V POWER-UP MCLR PIC16HV540 C powers will limit any current flowing into 2000 Microchip Technology Inc. ...

Page 37

... DD MCLR INTERNAL POR T DRT DRT TIME-OUT INTERNAL RESET When V rises slowly, the T DD this example, the chip will reset properly if, and only if, V1 2000 Microchip Technology Inc. T DRT V1 time-out expires long before V has reached its final value. In DRT DD V min. DD Preliminary ...

Page 38

... B , REG VDD supply voltage but rather the DD parameters has an intended opera- setting, the minimum B parameter VDD voltage is below the part VDD > 5.5V. DD setting, the minimum B parameter VDD voltage is below the part VDD is nominally 0.5V greater than DD 2000 Microchip Technology Inc. ...

Page 39

... These periods vary with temperature, V and part-to-part process DD variations (see DC specs). Under worst case conditions (V = Min., Temperature DD = Max., max. WDT prescaler), it may take several sec- onds before a WDT time-out occurs. 2000 Microchip Technology Inc. PIC16HV540 ( ( ( ( ...

Page 40

... Bit 2 Bit 1 Bit 0 Power-On Reset T0SE PSA PS2 PS1 PS0 --11 1111 --11 1111 --11 1111 --11 1111 RL SL BODL BODEN --UU UUU --uu uuuu --uu uuuu --xx xxxx Preliminary PS<2:0> To TMR0 PSA Value on Value on Value on Wake-up MCLR and Brown-out on Pin WDT Reset Reset Change 2000 Microchip Technology Inc. ...

Page 41

... Table 7-3 lists the reset conditions for the special func- tion registers, while Table 7-4 lists the reset conditions for all the registers. 2000 Microchip Technology Inc. 7.10 Power-down Mode (SLEEP) A device may be powered down (SLEEP) and later powered up (Wake-up from SLEEP) ...

Page 42

... Use only the lower 4 bits of the ID locations and always program the upper 8 bits as ‘1’s. Note: Microchip will assign a unique pattern number for QTP and SQTP requests and for ROM devices. This pattern number will be unique and traceable to the submitted code. DS40197B-page 42 Preliminary 2000 Microchip Technology Inc. ...

Page 43

... Register bit field In the set of i User defined term (font is courier) talics 2000 Microchip Technology Inc. PIC16HV540 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. In this case, the execution takes two instruction cycles. ...

Page 44

... Notes Affected C,DC,Z 1,2 2,4 None 2,4 Z 2,4 None 2,4 Z 2,4 Z 2,4 None 1,4 None C 2,4 C 2,4 C,DC,Z 1,2,4 None 2,4 Z 2,4 None 2,4 None 2,4 None None Z None None Z None None None TO PD,PCWUF , None 3 Z 2000 Microchip Technology Inc. ...

Page 45

... AND’ed with the eight-bit literal 'k'. The result is placed in the W register Words: 1 Cycles: 1 Example: ANDLW 0x5F Before Instruction W = 0xA3 After Instruction W = 0x03 2000 Microchip Technology Inc. ANDWF Syntax: Operands: Operation: Status Affected: Z Encoding: Description: . Words: Cycles: Example: Before Instruction W = FSR = After Instruction ...

Page 46

... If bit ’b’ is ’1’, then the next instruction fetched during the current instruction execution, is discarded and an NOP is executed instead, making this a 2 cycle instruction. 1 1(2) HERE BTFSS FLAG,1 FALSE GOTO PROCESS_CODE TRUE = address (HERE address (FALSE address (TRUE) 2000 Microchip Technology Inc. ...

Page 47

... Z bit is set. Words: 1 Cycles: 1 Example: CLRF FLAG_REG Before Instruction FLAG_REG = 0x5A After Instruction FLAG_REG = 0x00 2000 Microchip Technology Inc. PIC16HV540 CLRW Clear W Syntax: [ label ] CLRW Operands: None Operation: 00h (W Status Affected: Z Encoding: 0000 Description: The W register is cleared. Zero bit (Z) is set. ...

Page 48

... The upper bits of PC are loaded from STATUS<6:5>. GOTO is a two cycle instruction. Words: 1 Cycles: 2 Example: GOTO THERE After Instruction PC = address (THERE) Preliminary d; skip if result = 0 11df ffff DECFSZ CNT, 1 GOTO LOOP • • GOTO k PC<10:9> kkkk kkkk 2000 Microchip Technology Inc. ...

Page 49

... CONTINUE • • • Before Instruction PC = address (HERE) After Instruction CNT = CNT + 1; if CNT = address (CONTINUE); if CNT address (HERE +1) 2000 Microchip Technology Inc. IORLW Syntax: Operands: Operation: Status Affected: Z Encoding: Description: Words: Cycles: Example: Before Instruction W = After Instruction IORWF Syntax: Operands: ...

Page 50

... Before Instruction TEMP_REG = W = After Instruction TEMP_REG = W = NOP No Operation Syntax: [ label ] Operands: None Operation: No operation Status Affected: None Encoding: 0000 Description: No operation. Words: 1 Cycles: 1 Example: NOP Preliminary MOVWF f 001f ffff TEMP_REG 0xFF 0x4F 0x4F 0x4F NOP 0000 0000 2000 Microchip Technology Inc. ...

Page 51

... RETLW k1 ;Begin table RETLW k2 ; • • • RETLW kn ; End of table Before Instruction W = 0x07 After Instruction W = value of k8 2000 Microchip Technology Inc. PIC16HV540 RLF Rotate Left f through Carry Syntax: [ label ] Operands [0,1] Operation: See description below Status Affected: C Encoding: 0011 Description: The contents of register ’ ...

Page 52

... Words: 1 Cycles: 1 Example 1: SUBWF Before Instruction REG1 = After Instruction REG1 = Example 2: Before Instruction REG1 = After Instruction REG1 = Example 3: Before Instruction REG1 = After Instruction REG1 = Preliminary SUBWF f,d dest) 10df ffff REG1 result is positive ; result is zero ; result is negative 2000 Microchip Technology Inc. ...

Page 53

... Words: 1 Cycles: 1 Example TRIS PORTA Before Instruction W = 0XA5 After Instruction TRISA = 0XA5 *A TRIS 7 operation will update the OPTION2 SFR. 2000 Microchip Technology Inc. PIC16HV540 XORLW Exclusive OR literal with W Syntax: [label] Operands 255 Operation: (W) .XOR. k Status Affected: Z Encoding: 1111 Description: The contents of the W register are XOR’ ...

Page 54

... PIC16HV540 NOTES: DS40197B-page 54 Preliminary 2000 Microchip Technology Inc. ...

Page 55

... A full featured editor • A project manager • Customizable tool bar and key mapping • A status bar • On-line help 2000 Microchip Technology Inc. PIC16HV540 MPLAB allows you to: • Edit your source files (either assembly or ‘C’) • One touch assemble (or compile) and download ...

Page 56

... PICmicro MCU. 9.7 PICMASTER/PICMASTER CE The PICMASTER system from Microchip Technology is a full-featured, professional quality emulator system. This flexible in-circuit emulator provides a high-quality, universal platform for emulating Microchip 8-bit PICmicro microcontrollers (MCUs). PICMASTER sys- tems are sold worldwide, with a CE compliant model available for European Union (EU) countries ...

Page 57

... SIMICE is an entry-level hardware development sys- tem designed to operate in a PC-based environment with Microchip’s simulator MPLAB-SIM. Both SIMICE and MPLAB-SIM run under Microchip Technology’s MPLAB Integrated Development Environment (IDE) software. Specifically, SIMICE provides hardware sim- ulation for Microchip’s PIC12C5XX, PIC12CE5XX, and PIC16C5X families of PICmicro 8-bit microcontrollers ...

Page 58

... Programming Tools K L evaluation and programming tools support EE OQ Microchips HCS Secure Data Products. The HCS eval- uation kit includes an LCD display to show changing codes, a decoder to decode transmissions, and a pro- gramming interface to program test transmitters. DS40197B-page 58 PIC17C756, Preliminary 2000 Microchip Technology Inc. ...

Page 59

... PIC16C6X á á á á PIC16C5X á á á á PIC14000 á á á á PIC12CXXX Tools Software Emulators 2000 Microchip Technology Inc. á á á á á á á á á á á á á á á á á á ...

Page 60

... PIC16HV540 NOTES: DS40197B-page 60 Preliminary 2000 Microchip Technology Inc. ...

Page 61

... This is a stress rating only and functional operation of the device at those or any other conditions above those indi- cated in the operation listings of this specification is not implied. Exposure to maximum rating conditions for extended periods may affect device reliability. 2000 Microchip Technology Inc. ................................................................................. –0. ...

Page 62

... REG = 15V sleep timer enable, REG = 15V sleep timer disabled, REG = 15V sleep timer disabled, REG = 15V 5V, BOD enabled REG (7) = 15V 5V* REG (7) = 15V 3V* REG = 15V 3V, Unloaded outputs, REG = 15V 5V, Unloaded outputs, REG and 2000 Microchip Technology Inc. ...

Page 63

... Higher leakage current may be measured at different input voltage. 3: Negative current is defined as coming out of the pin. 4: For the RC option, the OSC1/CLKIN pin is a Schmitt Trigger input not recommended that the PIC16HV540 be driven with external clock in RC mode. 2000 Microchip Technology Inc +70 C (commercial) A – ...

Page 64

... FIGURE 10-1: LOAD CONDITIONS - PIC16HV540 Pin DS40197B-page 64 T Time mc MCLR osc oscillator os OSC1 t0 T0CKI wdt watchdog timer P Period R Rise V Valid Z Hi-impedance for all pins except OSC2 for OSC2 in XT options clock is used to drive OSC1 V SS Preliminary when external 2000 Microchip Technology Inc. ...

Page 65

... When an external clock input is used, the “max” cycle time limit is “DC” (no clock) for all devices. 3: Instruction cycle period (T ) equals four times the input oscillator time base period. CY 2000 Microchip Technology Inc ...

Page 66

... TBD TBD (3) — (3) — 9V, 25°C unless otherwise stated. These parame- REG DD OSC Preliminary New Value (1) Typ Max Units 15 30 30** ns 5.0 15** ns 5.0 15** ns — 40** ns — 100* ns — — ns — — 25 25 2000 Microchip Technology Inc. ...

Page 67

... FIGURE 10-4: RESET, WATCHDOG TIMER, AND DEVICE RESET TIMER TIMING - PIC16HV540 V DD MCLR Internal POR 32 DRT Time-out Internal RESET Watchdog Timer RESET I/O pin (Note 1) Note 1: I/O pins must be taken out of hi-impedance mode by enabling the output drivers in software. FIGURE 10-5: BROWN-OUT DETECT TIMING V REG 2000 Microchip Technology Inc. PIC16HV540 Preliminary 32 DS40197B-page 67 ...

Page 68

... T + 20* — With Prescaler 10* — 40* — Preliminary Units Conditions µ 15V REG 15V REG 15V 5V, DD REG RC mode ns µs µ REG VDD (1) Max Units Conditions — ns — ns — ns — ns — ns Whichever is greater Prescale Value (1, 2, 4,..., 256) 2000 Microchip Technology Inc. ...

Page 69

... Note 1: This combination and V much current and prohibits oscillator operation. 2000 Microchip Technology Inc. FIGURE 11-2: TYPICAL RC OSCILLATOR 6000.0 5000.0 4000.0 3000.0 2000.0 1000 0 FIGURE 11-3: TYPICAL RC OSCILLATOR ...

Page 70

... FIGURE 11-8: MAXIMUM FIGURE 11-9: TYPICAL 4.50 4.00 3.50 3.00 o - 2. 0.50 0.00 3.5 15 Preliminary vs WATCHDOG TIMER ENABLED ( ( WATCHDOG TIMER ENABLED ( ( WATCHDOG TIMER DISABLED ( (V) DD 2000 Microchip Technology Inc. ...

Page 71

... C 2.50 2.500 2.00 2.000 1.50 1.500 1.00 1.000 3 (V) DD 2000 Microchip Technology Inc. , FIGURE 11-13: MAXIMUM -40 C 1000 900 800 700 600 500 400 300 200 15 100 0 0 FIGURE 11-14: MAXIMUM 1000 900 800 ...

Page 72

... PIC16HV540 FIGURE 11-15 PORTA 15V ( -10 - (V) OH Note: Current being applied is being applied simultaneously to all 4 PORTA pins. FIGURE 11-16 PORTA 5V -10 - (V) OH Note: Current being applied is being applied simultaneously to all 4 PORTA pins. DS40197B-page Preliminary 2000 Microchip Technology Inc. ...

Page 73

... Mold Draft Angle Bottom * Controlling Parameter § Significant Characteristic Notes: Dimensions D and E1 do not include mold flash or protrusions. Mold flash or protrusions shall not exceed .010” (0.254mm) per side. JEDEC Equivalent: MS-001 Drawing No. C04-007 2000 Microchip Technology Inc Units INCHES* MIN ...

Page 74

... Preliminary A2 MILLIMETERS MIN NOM MAX 18 1.27 2.36 2.50 2.64 2.24 2.31 2.39 0.10 0.20 0.30 10.01 10.34 10.67 7.39 7.49 7.59 11.33 11.53 11.73 0.25 0.50 0.74 0.41 0.84 1. 0.23 0.27 0.30 0.36 0.42 0. 2000 Microchip Technology Inc. ...

Page 75

... Ceramic Pkg. Width Overall Length Tip to Seating Plane Lead Thickness Upper Lead Width Lower Lead Width Overall Row Spacing § Window Width Window Length * Controlling Parameter § Significant Characteristic JEDEC Equivalent: MO-036 Drawing No. C04-010 2000 Microchip Technology Inc Units INCHES* MIN NOM MAX ...

Page 76

... Preliminary A2 MILLIMETERS MIN NOM MAX 20 0.65 1.73 1.85 1.98 1.63 1.73 1.83 0.05 0.15 0.25 7.59 7.85 8.18 5.11 5.25 5.38 7.06 7.20 7.34 0.56 0.75 0.94 0.10 0.18 0.25 0.00 101.60 203.20 0.25 0.32 0. 2000 Microchip Technology Inc. ...

Page 77

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

Page 78

... PIC16HV540 NOTES: DS40197B-page 78 Preliminary 2000 Microchip Technology Inc. ...

Page 79

... Load Conditions ............................................................ 16 Loading MCLR ................................................................................. 35 ............................................................. 11 Memory Map ..................................... 11 PIC16C54s/CR54s/C55s ................................................. 11 Memory Organization ..................................................... 11 Data Memory ................................................ 11 Program Memory MPLAB Integrated Development Environment Software 2000 Microchip Technology Inc. O One-Time-Programmable (OTP) Devices OPTION Register ............................................................ 31 OSC selection Oscillator Configurations Oscillator Types .................................................................... 32 HS ..................................................................... 32 LP .................................................................... 32 RC ..................................................................... Package Marking Information Packaging Information ...

Page 80

... PIC16HV540 ................................................................ 39 Period ............................... 39 Programming Considerations ................................................ 2 WWW, On-Line Support Z ....................................................................... 7 Zero bit DS40197B-page 80 Preliminary 2000 Microchip Technology Inc. ...

Page 81

... Microchip Products • Conferences for products, Development Systems, technical information and more • Listing of seminars and events 2000 Microchip Technology Inc. PIC16HV540 Systems Information and Upgrade Hot Line The Systems Information and Upgrade Line provides system users a listing of the latest versions of all of Microchip's development systems software products ...

Page 82

... Is there any incorrect or misleading information (what and where How would you improve our software, systems, and silicon products? DS40197B-page 82 Total Pages Sent FAX: (______) _________ - _________ N Literature Number: DS40197B What are the best features of this document? How would you improve this document? Preliminary 2000 Microchip Technology Inc. ...

Page 83

... Please specify which device, revision of silicon and Data Sheet (include Literature #) you are using. New Customer Notification System Register on our web site (www.microchip.com/cn) to receive the most current information on our products. 2000 Microchip Technology Inc. Pattern: QTP,SQTP, Code or Special Requirements JW = Windowed CERDIP ...

Page 84

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

... 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-6334-8870 Fax: 65-6334-8850 Taiwan Microchip Technology Taiwan 11F-3, No. 207 ...

Related keywords