Provision ISR PTG-01 Spécifications

Naviguer en ligne ou télécharger Spécifications pour Composants des dispositifs de sécurité Provision ISR PTG-01. Provision ISR PTG-01 Specifications Manuel d'utilisatio

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer

Résumé du contenu

Page 1 - Data Sheet

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

Page 2

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

Page 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:

Page 4

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

Page 5

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

Page 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

Page 7

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

Page 8

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

Page 9

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

Page 10

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

Page 11

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

Page 12

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

Page 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

Page 14

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

Page 15

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

Page 16

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

Page 17

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

Page 18

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

Page 19

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

Page 20

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

Page 21

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

Page 22

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

Page 23

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

Page 24

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

Page 25

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

Page 26

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

Page 27

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

Page 28

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

Page 29

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

Page 30

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

Page 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

Page 32

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

Page 33

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

Page 34

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

Page 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

Page 36

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

Page 37

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

Page 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

Page 39

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

Page 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

Page 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

Page 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

Page 43

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

Page 44

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

Page 45

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

Page 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

Page 47

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

Page 48

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

Page 49

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

Page 50

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

Page 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

Page 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

Page 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

Page 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

Page 55

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

Page 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:

Page 57

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

Page 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

Page 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

Page 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

Page 61

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

Page 62

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

Page 63

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

Page 64

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

Page 65

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

Page 66

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

Page 67

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

Page 68

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

Page 69

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

Page 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

Page 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

Page 72

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

Page 73

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

Page 74

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

Page 75

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

Page 76

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

Page 77

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

Page 78

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

Page 79

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

Page 80

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

Page 81

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

Page 82

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

Page 83

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

Page 84

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

Page 85

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

Page 86

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

Page 87

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

Page 88

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

Page 89

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

Page 90

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

Page 91

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

Page 92

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

Page 93

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

Page 94

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

Page 95

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

Page 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

Page 97

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

Page 98

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

Page 99

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

Page 100

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

Page 101

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

Page 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

Page 103

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

Page 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

Page 105

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

Page 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

Page 107

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

Page 108

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

Page 109

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

Page 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

Page 111

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

Page 112

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

Page 113

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

Page 114

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

Page 115

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

Page 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

Page 117

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

Page 118

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

Page 119

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

Page 120

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

Page 121

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

Page 122

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

Page 123

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

Page 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

Page 125

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

Page 126

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

Page 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

Page 128

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

Page 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

Page 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

Page 131

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

Page 132

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

Page 133

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

Page 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

Page 135

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

Page 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

Page 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

Page 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

Page 139

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

Page 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

Page 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

Page 142

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

Page 143

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

Page 144

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

Page 145

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

Page 146

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

Page 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

Page 148

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

Page 149

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

Page 150

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

Page 151

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

Page 152

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

Page 153

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

Page 154

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

Page 155

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

Page 156

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

Page 157

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

Page 158

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

Page 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

Page 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

Page 161

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

Page 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

Page 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

Page 164

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

Page 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

Page 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

Page 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

Page 168

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

Page 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

Page 170

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

Page 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

Page 172

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

Page 173

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

Page 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

Commentaires sur ces manuels

Pas de commentaire