Provision ISR PTG-01 Especificaciones

Busca en linea o descarga Especificaciones para Los Componentes Del Dispositivo De Seguridad Provision ISR PTG-01. Provision ISR PTG-01 Specifications Manual de usuario

  • Descarga
  • Añadir a mis manuales
  • Imprimir

Indice de contenidos

Pagina 1 - Data Sheet

 2002 Microchip Technology Inc. DS30325BPIC16F7XData Sheet28/40-pin, 8-bit CMOS FLASHMicrocontrollersM

Pagina 2

PIC16F7XDS30325B-page 8  2002 Microchip Technology Inc.TABLE 1-2: PIC16F73 AND PIC16F76 PINOUT DESCRIPTIONPin NameDIPSSOPSOICPin#MLFPin#I/O/PTypeBuff

Pagina 3

PIC16F7XDS30325B-page 98  2002 Microchip Technology Inc.FIGURE 12-7: TIME-OUT SEQUENCE ON POWER-UP (MCLR NOT TIED TO VDD): CASE 1 FIGURE 12-8:

Pagina 4

 2002 Microchip Technology Inc. DS30325B-page 99PIC16F7X12.11 InterruptsThe PIC16F7X family has up to 12 sources of interrupt.The interrupt control r

Pagina 5

PIC16F7XDS30325B-page 100  2002 Microchip Technology Inc.12.11.1 INT INTERRUPTExternal interrupt on the RB0/INT pin is edge triggered,either rising,

Pagina 6

 2002 Microchip Technology Inc. DS30325B-page 101PIC16F7X12.13 Watchdog Timer (WDT)The Watchdog Timer is a free running on-chip RC oscil-lator, which

Pagina 7

PIC16F7XDS30325B-page 102  2002 Microchip Technology Inc.12.14 Power-down Mode (SLEEP)Power-down mode is entered by executing a SLEEPinstruction. If

Pagina 8

 2002 Microchip Technology Inc. DS30325B-page 103PIC16F7XFIGURE 12-12: WAKE-UP FROM SLEEP THROUGH INTERRUPT12.15 Program Verification/Code Protection

Pagina 9

PIC16F7XDS30325B-page 104  2002 Microchip Technology Inc.NOTES:

Pagina 10

 2002 Microchip Technology Inc. DS30325B-page 105PIC16F7X13.0 INSTRUCTION SET SUMMARYThe PIC16 instruction set is highly orthogonal and iscomprised o

Pagina 11

PIC16F7XDS30325B-page 106  2002 Microchip Technology Inc.TABLE 13-2: PIC16F7X INSTRUCTION SET Mnemonic,OperandsDescription Cycles14-Bit OpcodeStatu

Pagina 12

 2002 Microchip Technology Inc. DS30325B-page 107PIC16F7X13.2 Instruction Descriptions ADDLW Add Literal and WSyntax: [ label ] ADDLW kOperands:

Pagina 13

 2002 Microchip Technology Inc. DS30325B-page 9PIC16F7XPORTB is a bi-directional I/O port. PORTB can be software programmed for internal weak pull-up

Pagina 14

PIC16F7XDS30325B-page 108  2002 Microchip Technology Inc.CALL Call SubroutineSyntax: [ label ] CALL kOperands: 0 ≤ k ≤ 2047Operation: (PC)+ 1→ TO

Pagina 15

 2002 Microchip Technology Inc. DS30325B-page 109PIC16F7XDECFSZ Decrement f, Skip if 0Syntax: [ label ] DECFSZ f,dOperands: 0 ≤ f ≤ 127d ∈ [0,1]O

Pagina 16

PIC16F7XDS30325B-page 110  2002 Microchip Technology Inc.MOVF Move fSyntax: [ label ] MOVF f,dOperands: 0 ≤ f ≤ 127d ∈ [0,1]Operation: (f) → (de

Pagina 17

 2002 Microchip Technology Inc. DS30325B-page 111PIC16F7XRLF Rotate Left f through CarrySyntax: [ label ] RLF f,dOperands: 0 ≤ f ≤ 127d ∈ [0,1]Ope

Pagina 18

PIC16F7XDS30325B-page 112  2002 Microchip Technology Inc.SWAPF Swap Nibbles in fSyntax: [ label ] SWAPF f,dOperands: 0 ≤ f ≤ 127d ∈ [0,1]Operation: (

Pagina 19

 2002 Microchip Technology Inc. DS30325B-page 113PIC16F7X14.0 DEVELOPMENT SUPPORTThe PICmicro® microcontrollers are supported with afull range of har

Pagina 20

PIC16F7XDS30325B-page 114  2002 Microchip Technology Inc.14.4 MPLINK Object Linker/MPLIB Object LibrarianThe MPLINK object linker combines relocatabl

Pagina 21

 2002 Microchip Technology Inc. DS30325B-page 115PIC16F7X14.8 MPLAB ICD In-Circuit DebuggerMicrochip’s In-Circuit Debugger, MPLAB ICD, is a pow-erful

Pagina 22

PIC16F7XDS30325B-page 116  2002 Microchip Technology Inc.14.13 PICDEM 3 Low Cost PIC16CXXX Demonstration BoardThe PICDEM 3 demonstration board is a s

Pagina 23

 2002 Microchip Technology Inc. DS30325B-page 117PIC16F7XTABLE 14-1: DEVELOPMENT TOOLS FROM MICROCHIPPIC12CXXXPIC14000PIC16C5XPIC16C6XPIC16CXXXPIC16F

Pagina 24

PIC16F7XDS30325B-page 10  2002 Microchip Technology Inc.TABLE 1-3: PIC16F74 AND PIC16F77 PINOUT DESCRIPTIONPin NameDIPPin#PLCCPin#QFPPin#I/O/PTypeBuf

Pagina 25

PIC16F7XDS30325B-page 118  2002 Microchip Technology Inc.NOTES:

Pagina 26

 2002 Microchip Technology Inc. DS30325B-page 119PIC16F7X15.0 ELECTRICAL CHARACTERISTICS Absolute Maximum Ratings † Ambient temperature under bias...

Pagina 27

PIC16F7XDS30325B-page 120  2002 Microchip Technology Inc.FIGURE 15-1: PIC16F7X VOLTAGE-FREQUENCY GRAPH FIGURE 15-2: PIC16LF7X VOLTAGE-FREQU

Pagina 28

 2002 Microchip Technology Inc. DS30325B-page 121PIC16F7X15.1 DC Characteristics: PIC16F73/74/76/77 (Industrial, Extended)PIC16LF73/74/76/77 (Indust

Pagina 29

PIC16F7XDS30325B-page 122  2002 Microchip Technology Inc.IDD Supply Current (Notes 2, 5)D010D010APIC16LF7X ——0.4202.048mAµAXT, RC osc configurationFO

Pagina 30

 2002 Microchip Technology Inc. DS30325B-page 123PIC16F7X15.2 DC Characteristics: PIC16F73/74/76/77 (Industrial, Extended)PIC16LF73/74/76/77 (Indust

Pagina 31

PIC16F7XDS30325B-page 124  2002 Microchip Technology Inc.VOL Output Low VoltageD080 I/O ports ——0.6 V IOL = 8.5 mA, VDD = 4.5V, -40°C to +125°CD083 O

Pagina 32

 2002 Microchip Technology Inc. DS30325B-page 125PIC16F7X15.3 Timing Parameter SymbologyThe timing parameter symbols have been createdusing one of th

Pagina 33

PIC16F7XDS30325B-page 126  2002 Microchip Technology Inc.FIGURE 15-4: EXTERNAL CLOCK TIMINGOSC1CLKOUTQ4 Q1 Q2 Q3 Q4 Q1123344TABLE 15-1: EXTERNAL CLOC

Pagina 34

 2002 Microchip Technology Inc. DS30325B-page 127PIC16F7XFIGURE 15-5: CLKOUT AND I/O TIMINGTABLE 15-2: CLKOUT AND I/O TIMING REQUIREMENTSNote: Refer

Pagina 35

 2002 Microchip Technology Inc. DS30325B-page 11PIC16F7XPORTB is a bi-directional I/O port. PORTB can be software programmed for internal weak pull-u

Pagina 36

PIC16F7XDS30325B-page 128  2002 Microchip Technology Inc.FIGURE 15-6: RESET, WATCHDOG TIMER, OSCILLATOR START-UP TIMER AND POWER-UP TIMER TIMINGFIGUR

Pagina 37

 2002 Microchip Technology Inc. DS30325B-page 129PIC16F7XFIGURE 15-8: TIMER0 AND TIMER1 EXTERNAL CLOCK TIMINGSTABLE 15-4: TIMER0 AND TIMER1 EXTERNAL

Pagina 38

PIC16F7XDS30325B-page 130  2002 Microchip Technology Inc.FIGURE 15-9: CAPTURE/COMPARE/PWM TIMINGS (CCP1 AND CCP2)TABLE 15-5: CAPTURE/COMPARE/PWM REQU

Pagina 39

 2002 Microchip Technology Inc. DS30325B-page 131PIC16F7XFIGURE 15-10: PARALLEL SLAVE PORT TIMING (PIC16F74/77 DEVICES ONLY)TABLE 15-6: PARALLEL SLAV

Pagina 40

PIC16F7XDS30325B-page 132  2002 Microchip Technology Inc.FIGURE 15-11: SPI MASTER MODE TIMING (CKE = 0, SMP = 0)FIGURE 15-12: SPI MASTER MODE TIMING

Pagina 41

 2002 Microchip Technology Inc. DS30325B-page 133PIC16F7XFIGURE 15-13: SPI SLAVE MODE TIMING (CKE = 0)FIGURE 15-14: SPI SLAVE MODE TIMING (CKE = 1)SS

Pagina 42

PIC16F7XDS30325B-page 134  2002 Microchip Technology Inc.TABLE 15-7: SPI MODE REQUIREMENTS FIGURE 15-15: I2C BUS START/STOP BITS TIMINGParam No.Sym

Pagina 43

 2002 Microchip Technology Inc. DS30325B-page 135PIC16F7XTABLE 15-8: I2C BUS START/STOP BITS REQUIREMENTSFIGURE 15-16: I2C BUS DATA TIMINGParamNo.Sym

Pagina 44

PIC16F7XDS30325B-page 136  2002 Microchip Technology Inc.TABLE 15-9: I2C BUS DATA REQUIREMENTSParam.No.Symbol Characteristic Min Max Units Conditions

Pagina 45

 2002 Microchip Technology Inc. DS30325B-page 137PIC16F7XFIGURE 15-17: USART SYNCHRONOUS TRANSMISSION (MASTER/SLAVE) TIMINGTABLE 15-10: USART SYNCHRO

Pagina 46

PIC16F7XDS30325B-page 12  2002 Microchip Technology Inc.PORTD is a bi-directional I/O port or parallel slave port when interfacing to a microprocesso

Pagina 47

PIC16F7XDS30325B-page 138  2002 Microchip Technology Inc.TABLE 15-12: A/D CONVERTER CHARACTERISTICS: PIC16F7X (INDUSTRIAL, EXTENDED)PIC16LF7X (INDUST

Pagina 48

 2002 Microchip Technology Inc. DS30325B-page 139PIC16F7XFIGURE 15-19: A/D CONVERSION TIMINGTABLE 15-13: A/D CONVERSION REQUIREMENTS131130132BSF ADCO

Pagina 49

PIC16F7XDS30325B-page 140  2002 Microchip Technology Inc.NOTES:

Pagina 50

 2002 Microchip Technology Inc. DS30325B-page 141PIC16F7X16.0 DC AND AC CHARACTERISTICS GRAPHS AND TABLES“Typical” represents the mean of the distrib

Pagina 51

PIC16F7XDS30325B-page 142  2002 Microchip Technology Inc.FIGURE 16-3: TYPICAL IDD vs. FOSC OVER VDD (XT MODE) FIGURE 16-4: MAXIMUM IDD vs. FOSC OVER

Pagina 52

 2002 Microchip Technology Inc. DS30325B-page 143PIC16F7XFIGURE 16-5: TYPICAL IDD vs. FOSC OVER VDD (LP MODE)FIGURE 16-6: MAXIMUM IDD vs. FOSC OVER V

Pagina 53

PIC16F7XDS30325B-page 144  2002 Microchip Technology Inc.FIGURE 16-7: AVERAGE FOSC vs. VDD FOR VARIOUS VALUES OF R (RC MODE, C = 20 pF, 25°C)FIGURE 1

Pagina 54

 2002 Microchip Technology Inc. DS30325B-page 145PIC16F7XFIGURE 16-9: AVERAGE FOSC vs. VDD FOR VARIOUS VALUES OF R (RC MODE, C = 300 pF, 25°C)FIGURE

Pagina 55

PIC16F7XDS30325B-page 146  2002 Microchip Technology Inc.FIGURE 16-11: ∆IBOR vs. VDD OVER TEMPERATUREFIGURE 16-12: TYPICAL AND MAXIMUM ∆IWDT vs. VDD

Pagina 56

 2002 Microchip Technology Inc. DS30325B-page 147PIC16F7XFIGURE 16-13: TYPICAL, MINIMUM AND MAXIMUM WDT PERIOD vs. VDD (-40°C TO 125°C)FIGURE 16-14:

Pagina 57

 2002 Microchip Technology Inc. DS30325B-page 13PIC16F7X2.0 MEMORY ORGANIZATIONThere are two memory blocks in each of thesePICmicro® MCUs. The Progra

Pagina 58

PIC16F7XDS30325B-page 148  2002 Microchip Technology Inc.FIGURE 16-15: TYPICAL, MINIMUM AND MAXIMUM VOH vs. IOH (VDD = 5V, -40°C TO 125°C)FIGURE 16-1

Pagina 59

 2002 Microchip Technology Inc. DS30325B-page 149PIC16F7XFIGURE 16-17: TYPICAL, MINIMUM AND MAXIMUM VOL vs. IOL (VDD = 5V, -40°C TO 125°C)FIGURE 16-1

Pagina 60

PIC16F7XDS30325B-page 150  2002 Microchip Technology Inc.FIGURE 16-19: MINIMUM AND MAXIMUM VIN vs. VDD, (TTL INPUT, -40°C TO 125°C) FIGURE 16-20: MIN

Pagina 61

 2002 Microchip Technology Inc. DS30325B-page 151PIC16F7X17.0 PACKAGING INFORMATION17.1 Package Marking Information28-Lead SOICYYWWNNNExampleXXXXXXXX

Pagina 62

PIC16F7XDS30325B-page 152  2002 Microchip Technology Inc.Package Marking Information (Cont’d)XXXXXXXXXXXXXXXXXXYYWWNNN40-Lead PDIPExample44-Lead TQFP

Pagina 63

 2002 Microchip Technology Inc. DS30325B-page 153PIC16F7X17.2 Package DetailsThe following sections give the technical details of the packages.28-Lea

Pagina 64

PIC16F7XDS30325B-page 154  2002 Microchip Technology Inc.28-Lead Plastic Small Outline (SO) – Wide, 300 mil (SOIC)Foot Angle Topφ0480481512015120βMol

Pagina 65

 2002 Microchip Technology Inc. DS30325B-page 155PIC16F7X28-Lead Plastic Shrink Small Outline (SS) – 209 mil, 5.30 mm (SSOP)* Controlling ParameterNo

Pagina 66

PIC16F7XDS30325B-page 156  2002 Microchip Technology Inc.28-Lead Plastic Micro Leadframe Package (MF) 6x6 mm Body (MLF) Lead Width*Controlling Para

Pagina 67

 2002 Microchip Technology Inc. DS30325B-page 157PIC16F7X28-Lead Plastic Micro Leadframe Package (MF) 6x6 mm Body (MLF) (Continued)Pad Width*Controll

Pagina 68

PIC16F7XDS30325B-page 14  2002 Microchip Technology Inc.FIGURE 2-2: PIC16F77/76 REGISTER FILE MAP Indirect addr.(*)TMR0PCLSTATUSFSRPORTAPORTBPORTCPCL

Pagina 69

PIC16F7XDS30325B-page 158  2002 Microchip Technology Inc.40-Lead Plastic Dual In-line (P) – 600 mil (PDIP)1510515105βMold Draft Angle Bottom151051510

Pagina 70

 2002 Microchip Technology Inc. DS30325B-page 159PIC16F7X44-Lead Plastic Thin Quad Flatpack (PT) 10x10x1 mm Body, 1.0/0.10 mm Lead Form (TQFP)* Contr

Pagina 71

PIC16F7XDS30325B-page 160  2002 Microchip Technology Inc.44-Lead Plastic Leaded Chip Carrier (L) – Square (PLCC)CH2 x 45° CH1 x 45°10501050βMold Draf

Pagina 72

 2002 Microchip Technology Inc. DS30325B-page 161PIC16F7XAPPENDIX A: REVISION HISTORY APPENDIX B: DEVICE DIFFERENCESThe differences between the devi

Pagina 73

PIC16F7XDS30325B-page 162  2002 Microchip Technology Inc.APPENDIX C: CONVERSION CONSIDERATIONSConsiderations for converting from previous versionsof

Pagina 74

 2002 Microchip Technology Inc. DS30325B-page 163PIC16F7XINDEXAA/DA/D Conversion Status (GO/DONE Bit) ... 83Acquisition Requirement

Pagina 75

PIC16F7XDS30325B-page 164  2002 Microchip Technology Inc.Code Protection ... 89, 103Computed GOT

Pagina 76

 2002 Microchip Technology Inc. DS30325B-page 165PIC16F7XMMaster Clear (MCLR) ... 8, 10MCLR Reset, N

Pagina 77

PIC16F7XDS30325B-page 166  2002 Microchip Technology Inc.PORTE Register ...37Postscaler,

Pagina 78

 2002 Microchip Technology Inc. DS30325B-page 167PIC16F7XSS (START) bit ... 60SCI. S

Pagina 79

 2002 Microchip Technology Inc. DS30325B-page 15PIC16F7XFIGURE 2-3: PIC16F74/73 REGISTER FILE MAP Indirect addr.(*)TMR0PCLSTATUSFSRPORTAPORTBPORTCPC

Pagina 80

PIC16F7XDS30325B-page 168  2002 Microchip Technology Inc.USART Synchronous Transmission (Through TXEN) ...78Wake

Pagina 81

 2002 Microchip Technology Inc. DS30325B-page 169PIC16F7XON-LINE SUPPORTMicrochip provides on-line support on the MicrochipWorld Wide Web (WWW) site.

Pagina 82

PIC16F7XDS30325B-page 170  2002 Microchip Technology Inc.READER RESPONSEIt is our intention to provide you with the best documentation possible to en

Pagina 83

 2002 Microchip Technology Inc. DS30325B-page 171PIC16F7XPIC16F7X PRODUCT IDENTIFICATION SYSTEMTo order or obtain information, e.g., on pricing or de

Pagina 84

DS30325B-page 172  2002 Microchip Technology Inc.MAMERICASCorporate Office2355 West Chandler Blvd.Chandler, AZ 85224-6199Tel: 480-792-7200 Fax: 4

Pagina 85

PIC16F7XDS30325B-page 16  2002 Microchip Technology Inc.2.2.2 SPECIAL FUNCTION REGISTERSThe Special Function Registers are registers used bythe CPU a

Pagina 86

 2002 Microchip Technology Inc. DS30325B-page 17PIC16F7X Bank 180h(4)INDF Addressing this location uses contents of FSR to address data memory (not

Pagina 87

DS30325B - page ii  2002 Microchip Technology Inc.Information contained in this publication regarding deviceapplications and the like is intended thr

Pagina 88

PIC16F7XDS30325B-page 18  2002 Microchip Technology Inc. Bank 2100h(4)INDF Addressing this location uses contents of FSR to address data memory (no

Pagina 89

 2002 Microchip Technology Inc. DS30325B-page 19PIC16F7X2.2.2.1 STATUS RegisterThe STATUS register contains the arithmetic status ofthe ALU, the RESE

Pagina 90

PIC16F7XDS30325B-page 20  2002 Microchip Technology Inc.2.2.2.2 OPTION_REG RegisterThe OPTION_REG register is a readable and writableregister, which

Pagina 91

 2002 Microchip Technology Inc. DS30325B-page 21PIC16F7X2.2.2.3 INTCON RegisterThe INTCON register is a readable and writable regis-ter, which conta

Pagina 92

PIC16F7XDS30325B-page 22  2002 Microchip Technology Inc.2.2.2.4 PIE1 RegisterThe PIE1 register contains the individual enable bits forthe peripheral

Pagina 93

 2002 Microchip Technology Inc. DS30325B-page 23PIC16F7X2.2.2.5 PIR1 RegisterThe PIR1 register contains the individual flag bits forthe peripheral in

Pagina 94

PIC16F7XDS30325B-page 24  2002 Microchip Technology Inc.2.2.2.6 PIE2 RegisterThe PIE2 register contains the individual enable bits forthe CCP2 periph

Pagina 95

 2002 Microchip Technology Inc. DS30325B-page 25PIC16F7X2.2.2.8 PCON RegisterThe Power Control (PCON) register contains flag bitsto allow differentia

Pagina 96

PIC16F7XDS30325B-page 26  2002 Microchip Technology Inc.2.3 PCL and PCLATHThe program counter (PC) is 13 bits wide. The low bytecomes from the PCL re

Pagina 97

 2002 Microchip Technology Inc. DS30325B-page 27PIC16F7X2.5 Indirect Addressing, INDF and FSR RegistersThe INDF register is not a physical register.

Pagina 98

 2002 Microchip Technology Inc. DS30325B-page 1MPIC16F7XDevices Included in this Data Sheet:High Performance RISC CPU:• High performance RISC CPU• On

Pagina 99

PIC16F7XDS30325B-page 28  2002 Microchip Technology Inc.NOTES:

Pagina 100

 2002 Microchip Technology Inc. DS30325B-page 29PIC16F7X3.0 READING PROGRAM MEMORY The FLASH Program Memory is readable during nor-mal operation over

Pagina 101

PIC16F7XDS30325B-page 30  2002 Microchip Technology Inc.3.3 Reading the FLASH Program MemoryA program memory location may be read by writing twobytes

Pagina 102

 2002 Microchip Technology Inc. DS30325B-page 31PIC16F7X4.0 I/O PORTSSome pins for these I/O ports are multiplexed with analternate function for the

Pagina 103

PIC16F7XDS30325B-page 32  2002 Microchip Technology Inc.TABLE 4-1: PORTA FUNCTIONSTABLE 4-2: SUMMARY OF REGISTERS ASSOCIATED WITH PORTAName Bit# Buff

Pagina 104

 2002 Microchip Technology Inc. DS30325B-page 33PIC16F7X4.2 PORTB and the TRISB RegisterPORTB is an 8-bit wide, bi-directional port. The corre-spondi

Pagina 105

PIC16F7XDS30325B-page 34  2002 Microchip Technology Inc.TABLE 4-3: PORTB FUNCTIONSTABLE 4-4: SUMMARY OF REGISTERS ASSOCIATED WITH PORTBName Bit# Buff

Pagina 106

 2002 Microchip Technology Inc. DS30325B-page 35PIC16F7X4.3 PORTC and the TRISC RegisterPORTC is an 8-bit wide, bi-directional port. The corre-spondi

Pagina 107

PIC16F7XDS30325B-page 36  2002 Microchip Technology Inc.4.4 PORTD and TRISD RegistersThis section is not applicable to the PIC16F73 orPIC16F76.PORTD

Pagina 108

 2002 Microchip Technology Inc. DS30325B-page 37PIC16F7X4.5 PORTE and TRISE RegisterThis section is not applicable to the PIC16F73 orPIC16F76.PORTE h

Pagina 109

PIC16F7XDS30325B-page 2  2002 Microchip Technology Inc.Pin DiagramsPIC16F76/7310112345618791213141516171819202324252627282221MCLR/VPPRA0/AN0RA1/AN1RA

Pagina 110

PIC16F7XDS30325B-page 38  2002 Microchip Technology Inc.REGISTER 4-1: TRISE REGISTER (ADDRESS 89h) R-0 R-0 R/W-0 R/W-0 U-0 R/W-1 R/W-1 R

Pagina 111

 2002 Microchip Technology Inc. DS30325B-page 39PIC16F7XTABLE 4-9: PORTE FUNCTIONSTABLE 4-10: SUMMARY OF REGISTERS ASSOCIATED WITH PORTEName Bit# Buf

Pagina 112

PIC16F7XDS30325B-page 40  2002 Microchip Technology Inc.4.6 Parallel Slave PortThe Parallel Slave Port (PSP) is not implemented onthe PIC16F73 or PIC

Pagina 113

 2002 Microchip Technology Inc. DS30325B-page 41PIC16F7XFIGURE 4-9: PARALLEL SLAVE PORT WRITE WAVEFORMS FIGURE 4-10: PARALLEL SLAVE PORT READ WAVEFO

Pagina 114

PIC16F7XDS30325B-page 42  2002 Microchip Technology Inc.NOTES:

Pagina 115

 2002 Microchip Technology Inc. DS30325B-page 43PIC16F7X5.0 TIMER0 MODULEThe Timer0 module timer/counter has the followingfeatures:• 8-bit timer/coun

Pagina 116

PIC16F7XDS30325B-page 44  2002 Microchip Technology Inc.5.2 Using Timer0 with an External ClockWhen no prescaler is used, the external clock input is

Pagina 117

 2002 Microchip Technology Inc. DS30325B-page 45PIC16F7X5.3 PrescalerThere is only one prescaler available on the microcon-troller; it is shared excl

Pagina 118

PIC16F7XDS30325B-page 46  2002 Microchip Technology Inc.NOTES:

Pagina 119

 2002 Microchip Technology Inc. DS30325B-page 47PIC16F7X6.0 TIMER1 MODULEThe Timer1 module is a 16-bit timer/counter consistingof two 8-bit registers

Pagina 120

 2002 Microchip Technology Inc. DS30325B-page 3PIC16F7XPin Diagrams (Continued)1011121314151617181920212223242526448765432127282930313233343536373839

Pagina 121

PIC16F7XDS30325B-page 48  2002 Microchip Technology Inc.6.1 Timer1 Operation in Timer ModeTimer mode is selected by clearing the TMR1CS(T1CON<1>

Pagina 122

 2002 Microchip Technology Inc. DS30325B-page 49PIC16F7X6.4 Timer1 Operation in Asynchronous Counter ModeIf control bit T1SYNC (T1CON<2>) is se

Pagina 123

PIC16F7XDS30325B-page 50  2002 Microchip Technology Inc.6.5 Timer1 OscillatorA crystal oscillator circuit is built-in between pins T1OSI(input) and T

Pagina 124

 2002 Microchip Technology Inc. DS30325B-page 51PIC16F7X7.0 TIMER2 MODULETimer2 is an 8-bit timer with a prescaler and apostscaler. It can be used as

Pagina 125

PIC16F7XDS30325B-page 52  2002 Microchip Technology Inc.REGISTER 7-1: T2CON: TIMER2 CONTROL REGISTER (ADDRESS 12h) TABLE 7-1: REGISTERS

Pagina 126

 2002 Microchip Technology Inc. DS30325B-page 53PIC16F7X8.0 CAPTURE/COMPARE/PWM MODULESEach Capture/Compare/PWM (CCP) module containsa 16-bit registe

Pagina 127

PIC16F7XDS30325B-page 54  2002 Microchip Technology Inc.REGISTER 8-1: CCP1CON REGISTER/CCP2CON REGISTER (ADDRESS: 17h/1Dh) U-0 U-0 R/W-0

Pagina 128

 2002 Microchip Technology Inc. DS30325B-page 55PIC16F7X8.3 Capture ModeIn Capture mode, CCPR1H:CCPR1L captures the16-bit value of the TMR1 register

Pagina 129

PIC16F7XDS30325B-page 56  2002 Microchip Technology Inc.8.4.1 CCP PIN CONFIGURATIONThe user must configure the RC2/CCP1 pin as an out-put by clearing

Pagina 130

 2002 Microchip Technology Inc. DS30325B-page 57PIC16F7X8.5 PWM Mode (PWM)In Pulse Width Modulation mode, the CCPx pin pro-duces up to a 10-bit resol

Pagina 131

PIC16F7XDS30325B-page 4  2002 Microchip Technology Inc.Table of Contents1.0 Device Overview...

Pagina 132

PIC16F7XDS30325B-page 58  2002 Microchip Technology Inc.8.5.3 SETUP FOR PWM OPERATIONThe following steps should be taken when configuringthe CCP modu

Pagina 133

 2002 Microchip Technology Inc. DS30325B-page 59PIC16F7X9.0 SYNCHRONOUS SERIAL PORT (SSP) MODULE 9.1 SSP Module OverviewThe Synchronous Serial Port (

Pagina 134

PIC16F7XDS30325B-page 60  2002 Microchip Technology Inc.REGISTER 9-1: SSPSTAT: SYNC SERIAL PORT STATUS REGISTER (ADDRESS 94h) R/W-0 R/W-0

Pagina 135

 2002 Microchip Technology Inc. DS30325B-page 61PIC16F7XREGISTER 9-2: SSPCON: SYNC SERIAL PORT CONTROL REGISTER (ADDRESS 14h) R/W-0 R/W

Pagina 136

PIC16F7XDS30325B-page 62  2002 Microchip Technology Inc.FIGURE 9-1: SSP BLOCK DIAGRAM (SPI MODE) To enable the serial port, SSP enable bit, SSPEN(SSP

Pagina 137

 2002 Microchip Technology Inc. DS30325B-page 63PIC16F7XFIGURE 9-2: SPI MODE TIMING, MASTER MODE FIGURE 9-3: SPI MODE TIMING (SLAVE MODE WITH CKE = 0

Pagina 138

PIC16F7XDS30325B-page 64  2002 Microchip Technology Inc.TABLE 9-1: REGISTERS ASSOCIATED WITH SPI OPERATION Address Name Bit 7 Bit 6 Bit 5 Bit 4 Bit

Pagina 139

 2002 Microchip Technology Inc. DS30325B-page 65PIC16F7X9.3 SSP I2 C OperationThe SSP module in I2C mode, fully implements all slavefunctions, ex

Pagina 140

PIC16F7XDS30325B-page 66  2002 Microchip Technology Inc.9.3.1.1 AddressingOnce the SSP module has been enabled, it waits for aSTART condition to occu

Pagina 141

 2002 Microchip Technology Inc. DS30325B-page 67PIC16F7XFIGURE 9-6: I2C WAVEFORMS FOR RECEPTION (7-BIT ADDRESS)9.3.1.3 TransmissionWhen the R/W bit

Pagina 142

 2002 Microchip Technology Inc. DS30325B-page 5PIC16F7X1.0 DEVICE OVERVIEWThis document contains device specific informationabout the following devic

Pagina 143

PIC16F7XDS30325B-page 68  2002 Microchip Technology Inc.9.3.2 MASTER MODEMaster mode of operation is supported in firmwareusing interrupt generation

Pagina 144

 2002 Microchip Technology Inc. DS30325B-page 69PIC16F7X10.0 UNIVERSAL SYNCHRONOUS ASYNCHRONOUS RECEIVER TRANSMITTER (USART) The Universal Synchronou

Pagina 145

PIC16F7XDS30325B-page 70  2002 Microchip Technology Inc.REGISTER 10-2: RCSTA: RECEIVE STATUS AND CONTROL REGISTER (ADDRESS 18h) R/W-0 R/W

Pagina 146

 2002 Microchip Technology Inc. DS30325B-page 71PIC16F7X10.1 USART Baud Rate Generator (BRG)The BRG supports both the Asynchronous and Syn-chronous m

Pagina 147

PIC16F7XDS30325B-page 72  2002 Microchip Technology Inc.TABLE 10-3: BAUD RATES FOR ASYNCHRONOUS MODE (BRGH = 0)BAUDRATEFOSC = 20 MHz FOSC = 16 MHz FO

Pagina 148

 2002 Microchip Technology Inc. DS30325B-page 73PIC16F7X10.2 USART Asynchronous ModeIn this mode, the USART uses standard non-return-to-zero (NRZ) fo

Pagina 149

PIC16F7XDS30325B-page 74  2002 Microchip Technology Inc.Steps to follow when setting up an AsynchronousTransmission:1. Initialize the SPBRG register

Pagina 150

 2002 Microchip Technology Inc. DS30325B-page 75PIC16F7X10.2.2 USART ASYNCHRONOUS RECEIVERThe receiver block diagram is shown in Figure 10-4.The data

Pagina 151

PIC16F7XDS30325B-page 76  2002 Microchip Technology Inc.FIGURE 10-5: ASYNCHRONOUS RECEPTIONSteps to follow when setting up an AsynchronousReception:1

Pagina 152

 2002 Microchip Technology Inc. DS30325B-page 77PIC16F7X10.3 USART Synchronous Master ModeIn Synchronous Master mode, the data is transmitted ina hal

Pagina 153

PIC16F7XDS30325B-page 6  2002 Microchip Technology Inc.FIGURE 1-1: PIC16F73 AND PIC16F76 BLOCK DIAGRAMFLASHProgramMemory13Data Bus814ProgramBusInstru

Pagina 154

PIC16F7XDS30325B-page 78  2002 Microchip Technology Inc.FIGURE 10-6: SYNCHRONOUS TRANSMISSIONFIGURE 10-7: SYNCHRONOUS TRANSMISSION (THROUGH TXEN)TABL

Pagina 155

 2002 Microchip Technology Inc. DS30325B-page 79PIC16F7X10.3.2 USART SYNCHRONOUS MASTER RECEPTIONOnce synchronous mode is selected, reception isenabl

Pagina 156

PIC16F7XDS30325B-page 80  2002 Microchip Technology Inc.TABLE 10-8: REGISTERS ASSOCIATED WITH SYNCHRONOUS MASTER RECEPTION10.4 USART Synchronous Slav

Pagina 157

 2002 Microchip Technology Inc. DS30325B-page 81PIC16F7XTABLE 10-9: REGISTERS ASSOCIATED WITH SYNCHRONOUS SLAVE TRANSMISSION10.4.2 USART SYNCHRONOUS

Pagina 158

PIC16F7XDS30325B-page 82  2002 Microchip Technology Inc.NOTES:

Pagina 159

 2002 Microchip Technology Inc. DS30325B-page 83PIC16F7X11.0 ANALOG-TO-DIGITAL CONVERTER (A/D) MODULEThe 8-bit analog-to-digital (A/D) converter modu

Pagina 160

PIC16F7XDS30325B-page 84  2002 Microchip Technology Inc.REGISTER 11-2: ADCON1 REGISTER (ADDRESS 9Fh) U-0 U-0 U-0 U-0 U-0 R/W-0 R/W-0 R/W

Pagina 161

 2002 Microchip Technology Inc. DS30325B-page 85PIC16F7XThe following steps should be followed for doing anA/D conversion:1. Configure the A/D module

Pagina 162

PIC16F7XDS30325B-page 86  2002 Microchip Technology Inc.11.1 A/D Acquisition RequirementsFor the A/D converter to meet its specified accuracy,the cha

Pagina 163

 2002 Microchip Technology Inc. DS30325B-page 87PIC16F7X11.2 Selecting the A/D Conversion ClockThe A/D conversion time per bit is defined as TAD. The

Pagina 164

 2002 Microchip Technology Inc. DS30325B-page 7PIC16F7XFIGURE 1-2: PIC16F74 AND PIC16F77 BLOCK DIAGRAM FLASHProgramMemory13Data Bus814ProgramBusInstr

Pagina 165

PIC16F7XDS30325B-page 88  2002 Microchip Technology Inc.11.7 Use of the CCP TriggerAn A/D conversion can be started by the “special eventtrigger” of

Pagina 166

 2002 Microchip Technology Inc. DS30325B-page 89PIC16F7X12.0 SPECIAL FEATURES OF THE CPUThese devices have a host of features intended to max-imize s

Pagina 167

PIC16F7XDS30325B-page 90  2002 Microchip Technology Inc.REGISTER 12-1: CONFIGURATION WORD (ADDRESS 2007h)(1) U-0 U-0 U-0 U-0 U-0 U-0 U-0 R/P-1 U-0

Pagina 168

 2002 Microchip Technology Inc. DS30325B-page 91PIC16F7X12.2 Oscillator Configurations12.2.1 OSCILLATOR TYPESThe PIC16F7X can be operated in four di

Pagina 169

PIC16F7XDS30325B-page 92  2002 Microchip Technology Inc.TABLE 12-2: CAPACITOR SELECTION FOR CRYSTAL OSCILLATOR(FOR DESIGN GUIDANCE ONLY) 12.2.3 RC OS

Pagina 170

 2002 Microchip Technology Inc. DS30325B-page 93PIC16F7X12.3 RESETThe PIC16F7X differentiates between various kinds ofRESET: • Power-on Reset (POR)•

Pagina 171

PIC16F7XDS30325B-page 94  2002 Microchip Technology Inc.12.4 MCLRPIC16F7X devices have a noise filter in the MCLRReset path. The filter will detect a

Pagina 172

 2002 Microchip Technology Inc. DS30325B-page 95PIC16F7X12.10 Power Control/Status Register (PCON)The Power Control/Status Register, PCON, has twobit

Pagina 173

PIC16F7XDS30325B-page 96  2002 Microchip Technology Inc.TABLE 12-6: INITIALIZATION CONDITIONS FOR ALL REGISTERS Register DevicesPower-on Reset,Brown-

Pagina 174 - ORLDWIDE SALES AND SERVICE

 2002 Microchip Technology Inc. DS30325B-page 97PIC16F7XFIGURE 12-6: TIME-OUT SEQUENCE ON POWER-UP (MCLR TIED TO VDD THROUGH RC NETWORK) PIE2 73 7

Comentarios a estos manuales

Sin comentarios