PIC16F753/HV753: 14/16-Pin, Flash-Based 8-Bit CMOS Microcontrollers
PIC16F753/HV753: 14/16-Pin, Flash-Based 8-Bit CMOS Microcontrollers
PIC16F753/HV753: 14/16-Pin, Flash-Based 8-Bit CMOS Microcontrollers
Output Generator
Program Memory
Data Sheet Index
Shunt Regulator
Complementary
Self-Read/Write
Comparators
Data SRAM
(8/16-bit)
Debug(1)
Op Amp
(bytes)
Timers
(COG)
I/Os(2)
DAC
CCP
XLP
Device
Note: For other small form-factor package availability and marking information, please visit
http://www.microchip.com/packaging or contact your local sales office.
VDD 1 14 VSS
PIC16F753/HV753
RA5 2 13 RA0/ICSPDAT
RA4 3 12 RA1/ICSPCLK
MCLR/VPP/RA3 4 11 RA2
RC5 5 10 RC0
RC4 6 9 RC1
RC3 7 8 RC2
VDD
VSS
NC
NC
16 15 14 13
RA5 1 12 RA0/ICSPDAT
RA4 2 PIC16F753/HV75311 RA1/ICSPCLK
MCLR/VPP/RA3 3 10 RA2
RC5 4 9 RC0
5 6 7 8
RC4
RC3
RC2
RC1
Note: See Table 2 for location of all peripheral functions.
Slope Compensation
Comparator
16-Pin QFN
Reference
Interrupt
Op Amp
Pull-up
Timer
Basic
ADC
CCP
I/O
Errata
An errata sheet, describing minor operational differences from the data sheet and recommended workarounds, may exist for current
devices. As device/documentation issues become known to us, we will publish an errata sheet. The errata will specify the revision
of silicon and revision of document to which it applies.
To determine if an errata sheet exists for a particular device, please check with one of the following:
• Microchip’s Worldwide Website; http://www.microchip.com
• Your local Microchip sales office (see last page)
When contacting a sales office, please specify which device, revision of silicon and data sheet (include literature number) you are
using.
INT
Configuration
13 8 PORTA
Data Bus
Program Counter
Flash RA0
2K X 14 RA1
Program RAM RA2
Memory 8-Level Stack 64 Bytes RA3
(13-Bit) File RA4
Registers RA5
Program
14
Bus RAM Addr 9
PORTC
Addr MUX
Instruction Reg
RC0
Direct Addr 7 Indirect RC1
8 Addr
RC2
FSR Reg RC3
RC4
STATUS Reg RC5
8
3
MUX
Instruction Power-up
Decode & Timer
ALU
Control Power-on
Reset 8
CLKIN Timing Watchdog
Timer W Reg Capture/
Generation Compare/
Brown-out PWM
CLKOUT
Reset (CCP)
T1CKI
Timer0 Timer1 Timer2 Complementary
T0CKI Output
Generator
(COG)
Dual Range
DAC Analog Comparator
Slope Fixed Voltage
Compensator Reference and Reference
(FVR)
C1OUT/C2OUT
C2IN1-
C1IN1-
C1IN0-/C2IN0-
C1IN0+/C2IN0+
Op Amp
Stack Level 1
2.2.1 GENERAL PURPOSE REGISTER
Stack Level 2
FILE
The register file is organized as 64 x 8 in the
Stack Level 8 PIC16F753/HV753. Each register is accessed, either
directly or indirectly, through the File Select Register
Reset Vector 0000h (FSR) (see Section 2.5 “Indirect Addressing, INDF
and FSR Registers”).
Bank 2
100h INDF INDF<7:0> xxxx xxxx xxxx xxxx
101h TMR0 TMR0<7:0> xxxx xxxx uuuu uuuu
102h PCL PCL<7:0> 0000 0000 0000 0000
103h STATUS IRP RP1 RP0 TO PD Z DC C 0001 1xxx 000q quuu
104h FSR FSR<7:0> xxxx xxxx uuuu uuuu
105h LATA — — LATA5 LATA4 — LATA2 LATA1 LATA0 --xx -xxx --uu -uuu
106h — Unimplemented — —
107h LATC — — LATC5 LATC4 LATC3 LATC2 LATC1 LATC0 --xx xxxx --uu uuuu
108h IOCAN — — IOCAN5 IOCAN4 IOCAN3 IOCAN2 IOCAN1 IOCAN0 --00 0000 --00 0000
109h IOCCN — — IOCCN5 IOCCN4 IOCCN3 IOCCN2 IOCCN1 IOCCN0 --00 0000 --00 0000
10Ah PCLATH — — — PCLATH<4:0> ---0 0000 ---0 0000
10Bh INTCON GIE PEIE T0IE INTE IOCIE T0IF INTF IOCIF 0000 0000 0000 0000
10Ch WPUA — — WPUA5 WPUA4 WPUA3 WPUA2 WPUA1 WPUA0 --11 1111 --11 1111
10Dh WPUC — — WPUC5 WPUC4 WPUC3 WPUC2 WPUC1 WPUC0 --11 1111 --11 1111
10Eh SLRCONC — — SLRC5 SLRC4 — — — — --00 ---- --00 ----
10Fh PCON — — — — — — POR BOR ---- --qq ---- --uu
110h TMR2 TMR2<7:0> 0000 0000 0000 0000
111h PR2 PR2<7:0> 1111 1111 1111 1111
112h T2CON — T2OUTPS<3:0> TMR2ON T2CKPS<1:0> -000 0000 -000 0000
113h HLTMR1 Holding Register for the 8-bit Hardware Limit Timer1 Count 0000 0000 0000 0000
114h HLTPR1 HLTMR1 Module Period Register 1111 1111 1111 1111
115h HLT1CON0 — H1OUTPS<3:0> H1ON H1CKPS<1:0> -000 0000 -000 0000
116h HLT1CON1 H1FES H1RES — H1ERS<2:0> H1FEREN H1REREN 11-0 0000 11-0 0000
117h HLTMR2 Holding Register for the 8-bit Hardware Limit Timer2 Count 0000 0000 0000 0000
118h HLTPR2 HLTMR2 Module Period Register 1111 1111 1111 1111
119h HLT2CON0 — H2OUTPS<3:0> H2ON H2CKPS<1:0> -000 0000 -000 0000
11Ah HLT2CON1 H2FES H2RES — H2ERS<2:0> H2FEREN H2REREN 11-0 0000 11-0 0000
11Bh — Unimplemented — —
11Ch — Unimplemented — —
11Dh — Unimplemented — —
11Eh SLPCCON0 SC1EN — — SC1POL SC1TSS<1:0> — SC1INS 0-00 00-0 0-00 00-0
11Fh SLPCCON1 — — — SC1RNG SC1ISET<3:0> ---0 0000 ---0 0000
Legend: — = Unimplemented locations read as ‘0’, u = unchanged, x = unknown, q = value depends on condition shaded = unimplemented.
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’
-n = Value at POR ‘1’ = Bit is set ‘0’ = Bit is cleared x = Bit is unknown
bit 7 IRP: Register Bank Select bit (used for indirect addressing)
1 = Bank 2, 3 (100h-1FFh)
0 = Bank 0, 1 (00h-FFh)
bit 6 RP1: Register Bank Select bit (used for direct addressing)
00 = Bank 0 (00h-7Fh)
01 = Bank 1 (80h-FFh)
10 = Bank 2 (100h-17Fh)
11 = Bank 3 (180h-1FFh)
bit 5 RP0: Register Bank Select bit (used for direct addressing)
1 = Bank 1 (80h-FFh)
0 = Bank 0 (00h-7Fh)
bit 4 TO: Time-Out bit
1 = After power-up, CLRWDT instruction or SLEEP instruction
0 = A WDT time-out occurred
bit 3 PD: Power-Down bit
1 = After power-up or by the CLRWDT instruction
0 = By execution of the SLEEP instruction
bit 2 Z: Zero bit
1 = The result of an arithmetic or logic operation is zero
0 = The result of an arithmetic or logic operation is not zero
bit 1 DC: Digit Carry/Borrow bit(2) (ADDWF, ADDLW,SUBLW,SUBWF instructions), For Borrow, the polarity is reversed.
1 = A carry-out from the 4th low-order bit of the result occurred
0 = No carry-out from the 4th low-order bit of the result
bit 0 C: Carry/Borrow bit(2) (ADDWF, ADDLW, SUBLW, SUBWF instructions)
1 = A carry-out from the Most Significant bit of the result occurred
0 = No carry-out from the Most Significant bit of the result occurred
Note 1: The C and DC bits operate as a Borrow and Digit Borrow out bit, respectively, in subtraction. See the SUBLW and SUBWF
instructions for examples.
2: 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-order or low-order bit of the source register.
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’
-n = Value at POR ‘1’ = Bit is set ‘0’ = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’
-n = Value at POR ‘1’ = Bit is set ‘0’ = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’
-n = Value at POR ‘1’ = Bit is set ‘0’ = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’
-n = Value at POR ‘1’ = Bit is set ‘0’ = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’
-n = Value at POR ‘1’ = Bit is set ‘0’ = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’
-n = Value at POR ‘1’ = Bit is set ‘0’ = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’
u = Bit is unchanged x = Bit is unknown -n/n = Value at POR and BOR/Value at all other Resets
‘1’ = Bit is set ‘0’ = Bit is cleared q = unchanged
Data
Memory
7Fh 1FFh
Bank 0 Bank 1 Bank 2 Bank 3
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’
-n = Value at POR ‘1’ = Bit is set ‘0’ = Bit is cleared x = Bit is unknown
bit 7-0 PMDATL<7:0>: Eight Least Significant Data bits to Write or Read from Program Memory
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’
-n = Value at POR ‘1’ = Bit is set ‘0’ = Bit is cleared x = Bit is unknown
bit 7-0 PMADRL<7:0>: Eight Least Significant Address bits for Program Memory Read/Write Operation
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’
-n = Value at POR ‘1’ = Bit is set ‘0’ = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’
-n = Value at POR ‘1’ = Bit is set ‘0’ = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’
S = Bit can only be set x = Bit is unknown -n/n = Value at POR and BOR/Value at all other Resets
‘1’ = Bit is set ‘0’ = Bit is cleared HC = Bit is cleared by hardware
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’
S = Bit can only be set x = Bit is unknown -n/n = Value at POR and BOR/Value at all other Resets
‘1’ = Bit is set ‘0’ = Bit is cleared
Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4
Flash DATA INSTR (PC) INSTR (PC + 1) PMDATH,PMDATL INSTR (PC + 3) INSTR (PC + 4)
INSTR (PC - 1) BSF PMCON1,RD INSTR (PC + 1) NOP INSTR (PC + 3) INSTR (PC + 4)
Executed here Executed here Executed here Executed here Executed here Executed here
RD bit
PMDATH
PMDATL
Register
PMRHLT
14 14 14 14
Program Memory
Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4
Flash PC + 1 PMADRH,PMADRL PC + 2 PC + 3 PC + 4
ADDR
Flash
Memory
Location
WR bit
PMWHLT
EC Enable
(Figure 4-2)
EC
CLKIN 1
MUX
÷1 11 System Clock
(CPU and
HFINTOSC Enable HFINTOSC Peripherals)
÷2 10
(Figure 4-2) 8 MHz 0
÷8 01
FOSC0
EC Enable
Sleep
FOSC0
IRCF<1:0> 00 HFINTOSC Enable
Sleep
FOSC0
IRCF<1:0> = 00
Sleep LFINTOSC Enable
WDTE
I/O CLKOUT(1)
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’
-n = Value at POR ‘1’ = Bit is set ‘0’ = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’
-n = Value at POR ‘1’ = Bit is set ‘0’ = Bit is cleared x = Bit is unknown
Read LATA
TRISA
D Q
Write LATA
Write PORTA
CK VDD
Data Register
Data Bus
I/O pin
Read PORTA
To peripherals
VSS
ANSELA
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’
u = bit is unchanged x = Bit is unknown -n/n = Value at POR and BOR/Value at all other Resets
‘1’ = Bit is set ‘0’ = Bit is cleared
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’
u = Bit is unchanged x = Bit is unknown -n/n = Value at POR and BOR/Value at all other Resets
‘1’ = Bit is set ‘0’ = Bit is cleared
Note 1: Writes to PORTA are actually written to corresponding LATA register. Reads from PORTA register is return of actual I/O pin
values.
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’
u = Bit is unchanged x = Bit is unknown -n/n = Value at POR and BOR/Value at all other Resets
‘1’ = Bit is set ‘0’ = Bit is cleared
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’
u = Bit is unchanged x = Bit is unknown -n/n = Value at POR and BOR/Value at all other Resets
‘1’ = Bit is set ‘0’ = Bit is cleared
Note 1: Writes to PORTA are actually written to corresponding LATA register. Reads from PORTA register is return of actual I/O
pin values.
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’
-n = Value at POR ‘1’ = Bit is set ‘0’ = Bit is cleared x = Bit is unknown
Note 1: Setting a pin to an analog input automatically disables the digital input circuitry, weak pull-ups, and interrupt-on-
change if available. The corresponding TRIS bit must be set to Input mode in order to allow external control of
the voltage on the pin.
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’
-n = Value at POR ‘1’ = Bit is set ‘0’ = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’
u = Bit is unchanged x = Bit is unknown -n/n = Value at POR and BOR/Value at all other Resets
‘1’ = Bit is set ‘0’ = Bit is cleared
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’
u = Bit is unchanged x = Bit is unknown -n/n = Value at POR and BOR/Value at all other Resets
‘1’ = Bit is set ‘0’ = Bit is cleared
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’
u = Bit is unchanged x = Bit is unknown -n/n = Value at POR and BOR/Value at all other Resets
‘1’ = Bit is set ‘0’ = Bit is cleared HS - Bit is set in hardware
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’
u = Bit is unchanged x = Bit is unknown -n/n = Value at POR and BOR/Value at all other Resets
‘1’ = Bit is set ‘0’ = Bit is cleared
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’
u = Bit is unchanged x = Bit is unknown -n/n = Value at POR and BOR/Value at all other Resets
‘1’ = Bit is set ‘0’ = Bit is cleared
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’
u = Bit is unchanged x = Bit is unknown -n/n = Value at POR and BOR/Value at all other Resets
‘1’ = Bit is set ‘0’ = Bit is cleared
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’
-n = Value at POR ‘1’ = Bit is set ‘0’ = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’
-n = Value at POR ‘1’ = Bit is set ‘0’ = Bit is cleared x = Bit is unknown
Note 1: Setting a pin to an analog input automatically disables the digital input circuitry, weak pull-ups, and interrupt-on-
change if available. The corresponding TRIS bit must be set to Input mode in order to allow external control of
the voltage on the pin.
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’
-n = Value at POR ‘1’ = Bit is set ‘0’ = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’
u = Bit is unchanged x = Bit is unknown -n/n = Value at POR and BOR/Value at all other Resets
‘1’ = Bit is set ‘0’ = Bit is cleared
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’
u = Bit is unchanged x = Bit is unknown -n/n = Value at POR and BOR/Value at all other Resets
‘1’ = Bit is set ‘0’ = Bit is cleared
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’
u = Bit is unchanged x = Bit is unknown -n/n = Value at POR and BOR/Value at all other Resets
‘1’ = Bit is set ‘0’ = Bit is cleared HS - Bit is set in hardware
FOSC/4
Data Bus
0
8
1
Sync
1
2 TCY TMR0
Shared Prescale
T0CKI 0
pin 0
T0SE T0CS PSA Set Flag bit T0IF
8-bit
on Overflow
Prescaler
1
PSA
8
PS<2:0> 1
Watchdog
WDT
Timer
Time-out
LFINTOSC
2 0
(Figure 4-1)
PSA
PSA
WDTE
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’
-n = Value at POR ‘1’ = Bit is set ‘0’ = Bit is cleared x = Bit is unknown
T1GSPM
T1G 00
T0_overflow 01
1
C1OUT_sync 10 0 Single Pulse D Q T1GVAL
0
C2OUT_sync 11 1 Acq. Control
Q1
D Q
T1GPOL T1GGO/DONE
CK Q
TMR1ON Interrupt
set bit
R
T1GTM det TMR1GIF
TMR1GE
set flag bit
TMR1IF
TMR1ON
EN
(2)
TMR1
T1_overflow Synchronized Clock Input
TMR1H TMR1L Q D 0
1
T1CLK
T1SYNC
TMR1CS<1:0>
LFINTOSC 11
(1)
T1CKI 10 Prescaler
FOSC Synchronize(3)
01 1,2,4,8
Internal Clock det
00
2
FOSC/4 FOSC/2
Internal Clock T1CKPS<1:0> Internal Sleep
Clock Input
T1CKI
T1CKI
TMR1 enabled
TMR1GE
T1GPOL
T1G_IN
T1CKI
T1GVAL
TMR1GE
T1GPOL
T1GTM
T1G_IN
T1CKI
T1GVAL
TMR1GE
T1GPOL
T1GSPM
Cleared by hardware on
T1GGO/ Set by software falling edge of T1GVAL
DONE
Counting enabled on
rising edge of T1G
T1G_IN
T1CKI
T1GVAL
Cleared by
TMR1GIF Cleared by software Set by hardware on software
falling edge of T1GVAL
TMR1GE
T1GPOL
T1GSPM
T1GTM
Cleared by hardware on
T1GGO/ Set by software falling edge of T1GVAL
DONE Counting enabled on
rising edge of T1G
T1G_IN
T1CKI
T1GVAL
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’
-n = Value at POR ‘1’ = Bit is set ‘0’ = Bit is cleared x = Bit is unknown
TMR1CS<1:0> = 0X
This bit is ignored. Timer1 uses the internal clock when TMR1CS<1:0> = 1X.
bit 1 Unimplemented: Read as ‘0’
bit 0 TMR1ON: Timer1 On bit
1 = Enables Timer1
0 = Stops Timer1
Clears Timer1 gate flip-flop
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’
-n = Value at POR ‘1’ = Bit is set ‘0’ = Bit is cleared x = Bit is unknown
2
Postscaler set bit
T2CKPS<1:0> Comparator
1:1 to 1:16 TMR2IF
PR2 T2OUTPS<3:0>
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’
-n = Value at POR ‘1’ = Bit is set ‘0’ = Bit is cleared x = Bit is unknown
HxRES
CCP1 out 000
C1OUT 001
HxREREN Detect 1
C2OUT 010
0
COG1FLT 011
COG1OUT0 100
0
COG1OUT1 101
HxFEREN 1
‘0’ 110 Detect
‘0’ 111 HLT Output
HxFES
To COG module
Fosc/4 Prescaler
HLTMRx
HxON 1:1, 1:4, 1:16, 1:64
Postscaler
HxCKPS<1:0> Comparator HLTMRxIF
1:1 to 1:16
HLTPRx HxOUTPS<3:0>
• Direct input In this device, the primary purpose of the HLT is to limit
the COG PWM duty cycle. Normally, the COG opera-
• Divide-by-4
tion uses analog feedback to determine the PWM duty
• Divide-by-16 cycle. The same feedback signal is used as an HLT
• Divide-by-64 Reset input. The HLTPRx register is set to occur at the
The prescale options are selected by the prescaler maximum allowed duty cycle. If the analog feedback to
control bits, HxCKPS<1:0> of the HLTxCON0 register. the COG exceeds the maximum time, then an
HLTMRx-to-HLTPRx match will occur and generate the
The value of HLTMRx is compared to that of the Period output needed to limit the COG drive output.
register, HLTPRx, on each clock cycle. When the two
values match,then the comparator generates a match The HLTMRx can be reset by one of several selectable
signal as the HLTimerx output. This signal also resets peripheral sources. Reset inputs include:
the value of HLTMRx to 00h on the next clock rising • CCP1 output
edge and drives the output counter/postscaler (see • Comparator 1 output
Section 9.2 “HLT Interrupt”).
• Comparator 2 output
The HLTMRx and HLTPRx registers are both directly • COGxFLT pin
readable and writable. The HLTMRx register is cleared
• COG1OUT0
on any device Reset, whereas the HLTPRx register
initializes to FFh. Both the prescaler and postscaler • COG1OUT1
counters are cleared on any of the following events: The external Reset input is selected with the
• A write to the HLTMRx register HxERS<2:0> bits of the HLTxCON1 register. High and
low Reset enables are selected with the HxREREN and
• A write to the HLTxCON0 register
HxFEREN bits, respectively. Setting the HxRES and
• Power-on Reset (POR) HxFES bits makes the respective rising and falling
• Brown-out Reset (BOR) Reset events edge sensitive. Reset inputs that are not
• MCLR Reset edge sensitive are level sensitive.
• Watchdog Timer (WDT) Reset HLTMRx Resets are synchronous with the HLT clock.
• Stack Overflow Reset In other words, HLTMRx is cleared on the rising edge
• Stack Underflow Reset of the HLT clock after the enabled Reset event occurs.
• RESET Instruction If an enabled external Reset occurs at the same time a
write occurs to the TMR4A register, the write to the
Note: HLTMRx is not cleared when HLTxCON0 is
timer takes precedence and pending Resets are
written.
cleared.
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’
u = Bit is unchanged x = Bit is unknown -n/n = Value at POR and BOR/Value at all other Resets
‘1’ = Bit is set ‘0’ = Bit is cleared
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’
u = Bit is unchanged x = Bit is unknown -n/n = Value at POR and BOR/Value at all other Resets
‘1’ = Bit is set ‘0’ = Bit is cleared
and Capture
Edge Detect Enable
TMR1H TMR1L
CCP1M<3:0>
System Clock (FOSC)
is considered the off state. The high portion, also known TMR2 = CCPR1H:CCP1CON<5:4>
as the pulse width, can vary in time and is defined in
TMR2 = 0
steps. A larger number of steps applied, which
lengthens the pulse width, also supplies more power to
the load. Lowering the number of steps applied, which
shortens the pulse width, supplies less power. The FIGURE 10-4: SIMPLIFIED PWM BLOCK
PWM period is defined as the duration of one complete DIAGRAM
cycle or the total amount of on and off time combined.
CCP1CON<5:4>
Duty Cycle Registers
PWM resolution defines the maximum number of steps
that can be present in a single PWM period. A higher CCPR1L
resolution allows for more precise control of the pulse
width time and in turn the power that is applied to the
load.
The term duty cycle describes the proportion of the on CCPR1H(2) (Slave)
CCP1
time to the off time and is expressed in percentages,
where 0% is fully off and 100% is fully on. A lower duty Comparator R Q
cycle corresponds to less power applied and a higher
duty cycle corresponds to more power applied. (1) S
TMR2
Figure 10-3 shows a typical waveform of the PWM TRIS
signal.
Comparator
Clear Timer,
10.3.1 STANDARD PWM OPERATION toggle CCP1 pin and
latch duty cycle
The standard PWM mode generates a Pulse-Width PR2
Modulation (PWM) signal on the CCP1 pin with up to 10
Note 1: The 8-bit timer TMR2 register is concatenated
bits of resolution. The period, duty cycle, and resolution
with the 2-bit internal system clock (FOSC), or
are controlled by the following registers:
two bits of the prescaler, to create the 10-bit
• PR2 registers time base.
• T2CON registers 2: In PWM mode, CCPR1H is a read-only register.
• CCPR1L registers
• CCP1CON registers
Figure 10-4 shows a simplified block diagram of PWM
operation.
PWM Period = PR2 + 1 4 T OSC The CCPR1H register and a 2-bit internal latch are
(TMR2 Prescale Value) used to double buffer the PWM duty cycle. This double
buffering is essential for glitchless PWM operation.
Note 1: TOSC = 1/FOSC
The 8-bit timer TMR2 register is concatenated with
either the 2-bit internal system clock (FOSC), or two bits
of the prescaler, to create the 10-bit time base. The
system clock is used if the Timer2 prescaler is set to 1:1.
When the 10-bit time base matches the CCPR1H and
2-bit latch, then the CCP1 pin is cleared (see
Figure 10-4).
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’
u = Bit is unchanged x = Bit is unknown -n/n = Value at POR and BOR/Value at all other Reset
‘1’ = Bit is set ‘0’ = Bit is cleared
1000 = Compare mode: initialize CCP1 pin low; set output on compare match (set CCP1IF)
1001 = Compare mode: initialize CCP1 pin high; clear output on compare match (set CCP1IF)
1010 = Compare mode: generate software interrupt only; CCP1 pin reverts to I/O state
1011 = Compare mode: Special Event Trigger (CCP1 resets Timer, sets CCP1IF bit, and starts A/D conversion
if A/D module is enabled)
11xx = PWM mode
PIC16F753/HV753
HFINTOSC 10
COG_clock
Fosc/4 01
Fosc GxASD0L<1:0>
00
‘0 ’ 00
GxCS<1:0> Rising Input Block ‘1 ’ 01
Rising Dead-band Block High-Z 11 GxOE0
Reserved src7 clock
src6 clock 10 COG1OUT0
HLTimer2 1
HLTimer1 src5 Reset Dominates signal_out 0
TImer2=PR2 src4 rising_event S Q signal_in 1 0
COGxFLT src3
CCP1 src2 R Q GxPOL0
C2OUT src1
src0 count_en GxASD1L<1:0>
C1OUT
GxMD ‘0 ’ 00
Falling Input Block Falling Dead-band Block ‘1 ’ 01 GxOE1
src7 High-Z 11
Reserved clock COG1OUT1
src6 clock 10 1
HLTimer2 signal_out 0
HLTimer1 src5
signal_in 1 0
Timer2=PR2 src4
COGxFLT src3 falling_event GxPOL1
CCP1 src2 Push-Pull
C2OUT src1
C1OUT src0 count_en D Q
Q
COGxFLT S
D Q
GxASDSFLT GxEN
C1OUT
GxASDSC1 Auto-shutdown source GxASDE
2013-2016 Microchip Technology Inc.
S Q
C2OUT
GxARSEN
GxASDSC2 Write GxASDE Low R
HLTimer2 output Set Dominates
GxASDSHLT2
HLTimer1 output
GxASDSHLT1
src7
Gx(R/F)IS7 D Q 1
(rising/falling)_event
LE 0
Gx(R/F)SIM7
src6
Gx(R/F)IS6 D Q 1
LE 0
Gx(R/F)SIM6
src5
Gx(R/F)IS5 D Q 1
0
LE
Gx(R/F)SIM5
src4
Gx(R/F)IS4 D Q 1
LE 0
Gx(R/F)SIM4
src3
Gx(R/F)IS3 D Q 1
LE 0
Gx(R/F)SIM3
src2
Gx(R/F)IS2 D Q 1
LE 0
Gx(R/F)SIM2
src1
Gx(R/F)IS1 D Q 1
LE 0
Gx(R/F)SIM1
src0
Gx(R/F)IS0 D Q 1
LE 0
Gx(R/F)SIM0
Gx(R/F)DBTS
clock Synchronous
Delay
=
Cnt/Clr
0 0
1 GxDBR<3:0> 1
Asynchronous
Delay Chain
signal_out
signal_in
COG_clock
Source
CCP1
COGxOUT0
COG_clock
Source
CCP1
COGxOUT0
Rising Source
Dead Band
Falling Source Dead Band Phase Delay Falling Source
Dead Band
COGxOUT1
CCP1
COGxOUT0
COGxOUT1
Input blanking is a function, whereby the event inputs 11.7 Phase Delay
can be masked or blanked for a short period of time.
This is to prevent electrical transients caused by the It is possible to delay the assertion of either or both the
turn-on/off of power components from generating a rising event and falling event. This is accomplished by
false input event. placing a non-zero value in COGxPHR or COGxPHF
The COG contains two blanking counters: one phase delay count register, respectively
triggered by the rising event and the other triggered by (Register 11-13 and Register 11-14). Refer to
the falling event. The counters are cross-coupled with Figure 11-5 for COG operation with CCP1 and phase
the events they are blanking. The falling event delay. The delay from the input rising event signal
blanking counter is used to blank rising input events switching to the actual assertion of the events is
and the rising event blanking counter is used to blank calculated the same as the dead-band and blanking
delays. Please see Equation 11-1.
Therefore:
T uncertainty = T max – T min
T = T –T
Also: uncertainty max min
1
T uncertainty = -------------------------- = 1.375s – 1.25s
F COG_clock
= 125ns
Where:
T Count
Rising Phase Delay COGxPHR
Falling Phase Delay COGxPHF
Rising Dead Band COGxDBR
Falling Dead Band COGxDBF
Rising Event Blanking COGxBKR
Falling Event Blanking COGxBKF
PIC16F753/HV753
1 2 3 4 5
CCP1
GxARSEN
GxASDL0
GxASDL1
COGxOUT0
COGxOUT1
Operating State
Normal Output Shutdown Normal Output Shutdown Normal Output
2013-2016 Microchip Technology Inc.
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’
u = Bit is unchanged x = Bit is unknown -n/n = Value at POR and BOR/Value at all other Resets
‘1’ = Bit is set ‘0’ = Bit is cleared q = Value depends on condition
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’
u = Bit is unchanged x = Bit is unknown -n/n = Value at POR and BOR/Value at all other Resets
‘1’ = Bit is set ‘0’ = Bit is cleared q = Value depends on condition
bit 7 GxRDBTS: COGx Rising Event Dead-band Timing Source Select bit
1 = Delay chain and COGxDBR are used for dead-band timing generation
0 = COGx_clk and COGxDBR are used for dead-band timing generation
bit 6 GxFDBTS: COGx Falling Event Dead-band Timing Source Select bit
1 = Delay chain and COGxDF are used for dead-band timing generation
0 = COGx_clk and COGxDBF are used for dead-band timing generation
bit 5-2 Unimplemented: Read as ‘0’
bit 1-0 GxCS<1:0>: COGx Clock Source Select bits
11 = Reserved
10 = HFINTOSC (stays active during Sleep)
01 = FOSC/4
00 = FOSC
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’
u = Bit is unchanged x = Bit is unknown -n/n = Value at POR and BOR/Value at all other Resets
‘1’ = Bit is set ‘0’ = Bit is cleared q = Value depends on condition
REGISTER 11-4: COGxRSIM: COG RISING EVENT SOURCE INPUT MODE REGISTER
U-0 R/W-0/0 R/W-0/0 R/W-0/0 R/W-0/0 R/W-0/0 R/W-0/0 R/W-0/0
— GxRMHLT2 GxRMHLT1 GxRMT2M GxRMFLT GxRMCCP1 GxRMC2 GxRMC1
bit 7 bit 0
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’
u = Bit is unchanged x = Bit is unknown -n/n = Value at POR and BOR/Value at all other Resets
‘1’ = Bit is set ‘0’ = Bit is cleared q = Value depends on condition
Note 1: These sources are pulses and therefore the only benefit of Edge mode over Level mode is that they can be
delayed by rising event phase delay.
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’
u = Bit is unchanged x = Bit is unknown -n/n = Value at POR and BOR/Value at all other Resets
‘1’ = Bit is set ‘0’ = Bit is cleared q = Value depends on condition
REGISTER 11-6: COGxFSIM: COG FALLING EVENT SOURCE INPUT MODE REGISTER
U-0 R/W-0/0 R/W-0/0 R/W-0/0 R/W-0/0 R/W-0/0 R/W-0/0 R/W-0/0
— GxFMHLT2 GxFMHLT1 GxFMT2M GxFMFLT GxFMCCP1 GxFMC2 GxFMC1
bit 7 bit 0
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’
u = Bit is unchanged x = Bit is unknown -n/n = Value at POR and BOR/Value at all other Resets
‘1’ = Bit is set ‘0’ = Bit is cleared q = Value depends on condition
Note 1: These sources are pulses and therefore the only benefit of Edge mode over Level mode is that they can be
delayed by falling event phase delay.
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’
u = Bit is unchanged x = Bit is unknown -n/n = Value at POR and BOR/Value at all other Resets
‘1’ = Bit is set ‘0’ = Bit is cleared q = Value depends on condition
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’
u = Bit is unchanged x = Bit is unknown -n/n = Value at POR and BOR/Value at all other Resets
‘1’ = Bit is set ‘0’ = Bit is cleared q = Value depends on condition
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’
u = Bit is unchanged x = Bit is unknown -n/n = Value at POR and BOR/Value at all other Resets
‘1’ = Bit is set ‘0’ = Bit is cleared q = Value depends on condition
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’
u = Bit is unchanged x = Bit is unknown -n/n = Value at POR and BOR/Value at all other Resets
‘1’ = Bit is set ‘0’ = Bit is cleared q = Value depends on condition
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’
u = Bit is unchanged x = Bit is unknown -n/n = Value at POR and BOR/Value at all other Resets
‘1’ = Bit is set ‘0’ = Bit is cleared q = Value depends on condition
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’
u = Bit is unchanged x = Bit is unknown -n/n = Value at POR and BOR/Value at all other Resets
‘1’ = Bit is set ‘0’ = Bit is cleared q = Value depends on condition
REGISTER 11-13: COGxPHR: COG RISING EDGE PHASE DELAY COUNT REGISTER
U-0 U-0 U-0 U-0 R/W-x/u R/W-x/u R/W-x/u R/W-x/u
— — — — GxPHR<3:0>
bit 7 bit 0
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’
u = Bit is unchanged x = Bit is unknown -n/n = Value at POR and BOR/Value at all other Resets
‘1’ = Bit is set ‘0’ = Bit is cleared q = Value depends on condition
REGISTER 11-14: COGxPHF: COG FALLING EDGE PHASE DELAY COUNT REGISTER
U-0 U-0 U-0 U-0 R/W-x/u R/W-x/u R/W-x/u R/W-x/u
— — — — GxPHF<3:0>
bit 7 bit 0
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’
u = Bit is unchanged x = Bit is unknown -n/n = Value at POR and BOR/Value at all other Resets
‘1’ = Bit is set ‘0’ = Bit is cleared q = Value depends on condition
VDD
ADPREF = 0
VREF+ ADPREF = 1
AN0 0000
AN1 0001
AN2 0010
AN3 0011 A/D
AN4 0100 10
GO/DONE
AN5 0101
CHS<3:0>
The CHS bits of the ADCON0 register determine which For correct conversion, the appropriate TAD specification
channel is connected to the sample and hold circuit. must be met. See A/D conversion requirements in
Section 22.0 “Electrical Specifications” for more
When changing channels, a delay is required before information. Table gives examples of appropriate ADC
starting the next conversion. Refer to Section 12.2 clock selections.
“ADC Operation” for more information.
Note: Unless using the FRC, any changes in the
system clock frequency will change the
ADC clock frequency, which may
adversely affect the ADC result.
TABLE 12-1: ADC CLOCK PERIOD (TAD) VS. DEVICE OPERATING FREQUENCIES (VDD > 3.0V)
ADC Clock Period (TAD) Device Frequency (FOSC)
TCY to TAD TAD1 TAD2 TAD3 TAD4 TAD5 TAD6 TAD7 TAD8 TAD9 TAD10 TAD11
b9 b8 b7 b6 b5 b4 b3 b2 b1 b0
Conversion Starts
12.1.5 INTERRUPTS
The ADC module allows for the ability to generate an
interrupt upon completion of an Analog-to-Digital
conversion. The ADC interrupt flag is the ADIF bit in the
PIR1 register. The ADC interrupt enable is the ADIE bit
in the PIE1 register. The ADIF bit must be cleared in
software.
Note: The ADIF bit is set at the completion of
every conversion, regardless of whether
or not the ADC interrupt is enabled.
This interrupt can be generated while the device is
operating or while in Sleep. If the device is in Sleep, the
interrupt will wake-up the device. Upon waking from
Sleep, the next instruction following the SLEEP
instruction is always executed. If the user is attempting
to wake-up from Sleep and resume in-line code
execution, the global interrupt must be disabled. If the
global interrupt is enabled, execution will switch to the
Interrupt Service Routine.
ADRESH ADRESL
(ADFM = 0) MSB LSB
bit 7 bit 0 bit 7 bit 0
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’
-n = Value at POR ‘1’ = Bit is set ‘0’ = Bit is cleared x = Bit is unknown
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’
u = Bit is unchanged x = Bit is unknown -n/n = Value at POR and BOR/Value at all other Resets
‘1’ = Bit is set ‘0’ = Bit is cleared
REGISTER 12-3: ADRESH: ADC RESULT REGISTER HIGH (ADRESH) ADFM = 0 (READ-ONLY)
R-x R-x R-x R-x R-x R-x R-x R-x
ADRESH<9:2>
bit 7 bit 0
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’
-n = Value at POR ‘1’ = Bit is set ‘0’ = Bit is cleared x = Bit is unknown
REGISTER 12-4: ADRESL: ADC RESULT REGISTER LOW (ADRESL) ADFM = 0 (READ-ONLY)
R-x R-x U-0 U-0 U-0 U-0 U-0 U-0
ADRESL<7:0>
bit 7 bit 0
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’
-n = Value at POR ‘1’ = Bit is set ‘0’ = Bit is cleared x = Bit is unknown
REGISTER 12-5: ADRESH: ADC RESULT REGISTER HIGH (ADRESH) ADFM = 1 (READ-ONLY)
U-0 U-0 U-0 U-0 U-0 U-0 R-x R-x
— — — — — — ADRESH<9:8>
bit 7 bit 0
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’
-n = Value at POR ‘1’ = Bit is set ‘0’ = Bit is cleared x = Bit is unknown
REGISTER 12-6: ADRESL: ADC RESULT REGISTER LOW (ADRESL) ADFM = 1 (READ-ONLY)
R-x R-x R-x R-x R-x R-x R-x R-x
ADRESL<7:0>
bit 7 bit 0
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’
-n = Value at POR ‘1’ = Bit is set ‘0’ = Bit is cleared x = Bit is unknown
T ACQ = Amplifier Settling Time + Hold Capacitor Charging Time + Temperature Coefficient
= T AMP + T C + T COFF
= 2µs + T C + Temperature - 25°C 0.05µs/°C
T C = – C HOLD R IC + R SS + R S ln(1/2047)
= – 10pF 1k + 7k + 10k ln(0.0004885)
= 1.37 µs
Therefore:
T ACQ = 2µs + 1.37µs + 50°C- 25°C 0.05µs/°C
= 4.67µs
Note 1: The reference voltage (VREF) has no effect on the equation, since it cancels itself out.
2: The charge holding capacitor (CHOLD) is not discharged after each conversion.
3: The maximum recommended impedance for analog sources is 10 k. This is required to meet the pin
leakage specification.
VDD
Sampling
Switch
VT = 0.6V
RS ANx Ric 1k SS Rss
VA CPIN ILEAKAGE
Vt = 0.6V CHOLD = 10 pF
5 pF ± 500 nA
VSS/VREF-
6V
5V RSS
Legend: CPIN = Input Capacitance VDD 4V
VT = Threshold Voltage 3V
ILEAKAGE = Leakage current at the pin due to 2V
various junctions
RIC = Interconnect Resistance 5 6 7 8 9 10 11
SS = Sampling Switch Sampling Switch
CHOLD = Sample/Hold Capacitance (k)
Full-Scale Range
3FFh
3FEh
3FDh
3FCh
ADC Output Code
1 LSB ideal
3FBh
Full-Scale
004h Transition
003h
002h
001h
000h Analog Input Voltage
1 LSB ideal
FVR_ref
To Peripherals
VDD FVR_buffer1
To Peripherals
FVROE
00
DAC_out 01
+ x1 FVR_out
OPA_out 10
1.2V
FVRIN 11
- FVRBUFEN
rdy FVRRDY
FVREN(1) EN
VSS FVRBUFSS
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’
u = Bit is unchanged x = Bit is unknown -n/n = Value at POR and BOR/Value at all other Resets
‘1’ = Bit is set ‘0’ = Bit is cleared q = Value depends on condition
VSOURCE- = VSS
DACPSS<1:0> R
2
DACEN R
512-to-1 MUX
512 DAC_output
To Peripherals
Steps
R DACxOUT1
DACOE1
R
VSOURCE-
VSS
PIC® MCU
DAC
R
Module
+
Voltage DACXOUT Buffered DAC Output
–
Reference
Output
Impedance
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’
u = Bit is unchanged x = Bit is unknown -n/n = Value at POR and BOR/Value at all other Resets
‘1’ = Bit is set ‘0’ = Bit is cleared
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’
u = Bit is unchanged x = Bit is unknown -n/n = Value at POR and BOR/Value at all other Resets
‘1’ = Bit is set ‘0’ = Bit is cleared
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’
u = Bit is unchanged x = Bit is unknown -n/n = Value at POR and BOR/Value at all other Resets
‘1’ = Bit is set ‘0’ = Bit is cleared
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’
u = Bit is unchanged x = Bit is unknown -n/n = Value at POR and BOR/Value at all other Resets
‘1’ = Bit is set ‘0’ = Bit is cleared
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’
u = Bit is unchanged x = Bit is unknown -n/n = Value at POR and BOR/Value at all other Resets
‘1’ = Bit is set ‘0’ = Bit is cleared
PIC16F753/HV753
CxNCH<1:0>
CxON(1)
2 Interrupt CxINTP
det
CXIN0- 0
CXIN1- 1
Set CxIF
CXIN2- Interrupt CxINTN
2
CXIN3- 3 CXZLF det
CxSP
CXPOL
Slope 4-7 CxVN
Compensator - 0 CXOUT To Data Bus
D Q D Q
Cx MCOUTX
Zero Latency 1
+ Filter
CxVP
EN Q1 EN
CXIN+ 0
MUX CxHYS
DAC_OUT 1 (2)
To COG Module, Slope test output
2 icd_freeze
FVR Reference
Slope 3
Compensator CXSYNC
CXOE
4-7 TRIS bit
CxON CXOUT
AGND 0
D Q 1
CXPCH<2:0>
From Timer1
3 To Timer1
tmr1_clk
SYNCCXOUT
Note 1: When CxON = 0, the Comparator will produce a ‘0’ at the output.
2013-2016 Microchip Technology Inc.
Note 1: The CxOE bit of the CMxCON0 register 15.4 Timer1 Gate Operation
overrides the PORT data latch. Setting
The output resulting from a comparator operation can
the CxON bit of the CMxCON0 register
be used as a source for gate control of Timer1. See
has no impact on the port override.
Section 7.5 “Timer1 Gate” for more information. This
2: The internal output of the comparator is feature is useful for timing the duration or interval of an
latched with each instruction cycle. analog event.
Unless otherwise specified, external
It is recommended that the comparator output be
outputs are not latched.
synchronized to Timer1. This ensures that Timer1 does
not increment while a change in the comparator is
occurring.
CPIN ILEAKAGE(1)
VA
5 pF VT 0.6V
Vss
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’
u = Bit is unchanged x = Bit is unknown -n/n = Value at POR and BOR/Value at all other Resets
‘1’ = Bit is set ‘0’ = Bit is cleared
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’
u = Bit is unchanged x = Bit is unknown -n/n = Value at POR and BOR/Value at all other Resets
‘1’ = Bit is set ‘0’ = Bit is cleared
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’
u = Bit is unchanged x = Bit is unknown -n/n = Value at POR and BOR/Value at all other Resets
‘1’ = Bit is set ‘0’ = Bit is cleared
CM1CON0 C1ON C1OUT C1OE C1POL C1ZLF C1SP C1HYS C1SYNC 129
CM1CON1 C1INTP C1INTN C1PCH<2:0> C1NCH<2:0> 130
CM2CON0 C2ON C2OUT C2OE C2POL C2ZLF C2SP C2HYS C2SYNC 129
CM2CON1 C2INTP C2INTN C2PCH<2:0> C2NCH<2:0> 130
CMOUT — — — — — — MCOUT2 MCOUT1 130
DAC1CON0 DACEN DACFM DACOE — DACPSS1 DACPSS0 — — 120
DAC1REFL Least Significant bit of the left shifted result or eight bits of the right shifted DAC setting 122
FVR1CON0 FVREN FVRRDY FVROE FVRBUFSS1 FVRBUFSS0 — — FVRBUFEN 116
INTCON GIE PEIE T0IE INTE IOCIE T0IF INTF IOCIF 17
PIE2 — — C2IE C1IE — COG1IE — CCP1IE 19
PIR2 — — C2IF C1IF — COG1IF — CCP1IF 21
TRISA — — TRISA5 TRISA4 TRISA3(1) TRISA2 TRISA1 TRISA0 43
ANSELA — — — ANSA4 — ANSA2 ANSA1 ANSA0 44
Legend: — = unimplemented location, read as ‘0’. Shaded cells are unused by the comparator module.
Note 1: TRISA3 always reads ‘1’.
OPAxNCH<1:0>
FVR_buffer1 11
1
DACx_output 10
0
01
OPAxIN- 00
OPAxUGM OPAx-
-
OPAx OPAxOUT
OPAx+ OPAx_output
FVR_buffer1 11
+
DACx_output 10
OPAxEN
SLOPE_output 01
OPAxIN+ 00
OPAxPCH<1:0>
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’
-n = Value at POR ‘1’ = Bit is set ‘0’ = Bit is cleared x = Bit is unknown
SCxINS
SLPCIN 0 SLOPE_output
FVR_buffer1 1 to
peripherals
SCxPOL
COG1_output0 00
COG1_output1 01 One Shot
C1OUT_sync 10
C2OUT_sync 11
SCxTSS<1:0>
SCxRNG
17.2 Using the SC Module For example, when the circuit is using a 1 current
sense resistor and the peak current is 1A, then the
The slope compensator input reference voltage should peak current expressed as a voltage (VREF) is 1V. If
be set to the target circuit peak current sense voltage. your power supply is running at 1 MHz, then the period
The slope compensator output voltage starts at the is 1 s. Therefore, the desired slope is:
input reference voltage and should fall at a rate less
than half the target circuit current sense voltage rate of
EQUATION 17-2: SLOPE COMPENSATION
rise. Therefore, the compensator slope expressed as
VOLTAGE
volts per µs can be computed as shown in
Equation 17-2.
V REF 1
EQUATION 17-1: SC MODULE ------------- ---
2 2
-------------------------------------------- = --------- = 0.5V s
PWM Period ( s 1s
V REF
-------------
V 2
------ --------------------------------------------
s PWM Period ( s Note: The setting for 0.5V/s is
SCxISET<3:0> = 6 and SCxRNG = 0.
VIN
L1
D1
COGxOUTx
COG C1
-
+ CxINx- R2
R1
SC
SLPCIN DAC
OPAxOUT
+ OPAxIN- R4 R3
-
C2
R5
C3
17.3 Inputs
The SC module connects to the following inputs:
• COG1
• COG2
• Comparator C1
• Comparator C2
17.4 Outputs
The SC module connects to the following outputs:
• Comparator C1
• Comparator C2
• Op amp
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’
u = Bit is unchanged x = Bit is unknown -n/n = Value at POR and BOR/Value at all other Resets
‘1’ = Bit is set ‘0’ = Bit is cleared q = value depends on configuration bits
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’
u = Bit is unchanged x = Bit is unknown -n/n = Value at POR and BOR/Value at all other Resets
‘1’ = Bit is set ‘0’ = Bit is cleared q = value depends on configuration bits
C=0 Wf
C=1 Wf
DC = 0 W<3:0> f<3:0>
DC = 1 W<3:0> f<3:0>
Legend:
R = Readable bit P = Programmable bit U = Unimplemented bit, read as ‘1’
‘0’ = Bit is cleared ‘1’ = Bit is set -n = Value when blank or after Bulk Erase
Note 1: Enabling Brown-out Reset does not automatically enable Power-up Timer.
2: The Configuration bit is managed automatically by the device development tools. The user should not attempt to man-
ually write this bit location. However, the user should ensure that this location has been programmed to a ‘1’ and the
device checksum is correct for proper operation of production software.
External
Reset
MCLR/VPP pin
Sleep
WDT WDT
Module Time-out
Reset
VDD Rise
Detect
Power-on Reset
VDD
Brown-out(1)
Reset
BOREN
S
PWRT Chip_Reset
On-Chip 11-bit Ripple Counter R Q
RC OSC
Enable PWRT
19.3.1 POWER-ON RESET (POR) during the ESD event. For this reason, Microchip
recommends that the MCLR pin no longer be tied
The on-chip POR circuit holds the chip in Reset until
directly to VDD. The use of an RC network, as shown in
VDD has reached a high enough level for proper
Figure 19-2, is suggested.
operation. To take advantage of the POR, simply
connect the MCLR pin through a resistor to VDD. This An internal MCLR option is enabled by clearing the
will eliminate external RC components usually needed MCLRE bit in the Configuration Word register. When
to create Power-on Reset. A maximum rise time for MCLRE = 0, the Reset signal to the chip is generated
VDD is required. See Section 22.0 “Electrical internally. When the MCLRE = 1, the MCLR pin
Specifications” for details. If the BOR is enabled, the becomes an external Reset input. In this mode, the
maximum rise time specification does not apply. The MCLR pin has a weak pull-up to VDD.
BOR circuitry will keep the device in Reset until VDD
reaches VBOR (see Section 19.3.4 “Brown-out Reset FIGURE 19-2: RECOMMENDED MCLR
(BOR)”). CIRCUIT
Note: The POR circuit does not produce an VDD
internal Reset when VDD declines. To re-
enable the POR, VDD must reach Vss for PIC®
a minimum of 100 s. R1 MCU
1 kor greater)
When the device starts normal operation (exits the
Reset condition), device operating parameters (i.e., R2
voltage, frequency, temperature, etc.) must be met to MCLR
ensure proper operation. If these conditions are not 100
SW1 needed with capacitor)
met, the device must be held in Reset until the (optional)
operating conditions are met.
C1
For additional information, refer to Application Note 0.1 F
AN607, Power-up Trouble Shooting (DS00607). (optional, not critical)
19.3.2 MCLR
PIC16F753/HV753 has a noise filter in the MCLR
Reset path. The filter will detect and ignore small
pulses.
It should be noted that a WDT Reset does not drive
MCLR pin low.
Voltages applied to the MCLR pin that exceed its
specification can result in both MCLR Resets and
excessive current beyond the device specification
Internal
Reset 64 ms(1)
VDD
VBOR
Internal < 64 ms
Reset 64 ms(1)
VDD
VBOR
Internal
Reset 64 ms(1)
VDD
MCLR
Internal POR
TPWRT
PWRT Time-out
TIOSCST
OST Time-out
Internal Reset
VDD
MCLR
Internal POR
TPWRT
PWRT Time-out
TIOSCST
OST Time-out
Internal Reset
VDD
MCLR
Internal POR
TPWRT
PWRT Time-out
TIOSCST
OST Time-out
Internal Reset
The Global Interrupt Enable bit, GIE of the INTCON For additional information on Timer1, Timer2,
register, enables (if set) all unmasked interrupts, or comparators, ADC, Enhanced CCP modules, refer to
disables (if cleared) all interrupts. Individual interrupts the respective peripheral section.
can be disabled through their corresponding enable
bits in the INTCON register and PIEx registers. GIE is 19.4.1 RA2/INT INTERRUPT
cleared on Reset. The external interrupt on the RA2/INT pin is edge-
When an interrupt is serviced, the following actions triggered; either on the rising edge if the INTEDG bit of
occur automatically: the OPTION register is set, or the falling edge, if the
INTEDG bit is clear. When a valid edge appears on the
• The GIE is cleared to disable any further interrupt. RA2/INT pin, the INTF bit of the INTCON register is set.
• The return address is pushed onto the stack. This interrupt can be disabled by clearing the INTE
• The PC is loaded with 0004h. control bit of the INTCON register. The INTF bit must
The Return from Interrupt instruction, RETFIE, exits be cleared by software in the Interrupt Service Routine
the interrupt routine, as well as sets the GIE bit, which before re-enabling this interrupt. The RA2/INT interrupt
re-enables unmasked interrupts. can wake-up the processor from Sleep, if the INTE bit
was set prior to going into Sleep. See Section 19.7
The following interrupt flags are contained in the “Power-Down Mode (Sleep)” for details on Sleep and
INTCON register: Figure 19-10 for timing of wake-up from Sleep through
• INT Pin Interrupt RA2/INT interrupt.
• Interrupt-On-Change (IOC) Interrupts Note: The ANSEL register must be initialized to
• Timer0 Overflow Interrupt configure an analog channel as a digital
The peripheral interrupt flags are contained in the PIR1 input. Pins configured as analog inputs
and PIR2 registers. The corresponding interrupt enable will read ‘0’ and cannot generate an
bit is contained in the PIE1 and PIE2 registers. interrupt.
The following interrupt flags are contained in the PIR1
register:
• A/D Interrupt
• Comparator Interrupt
• Timer1 Overflow Interrupt
• Timer2 Match Interrupt
• Enhanced CCP Interrupt
T0IF Wake-up
T0IE (If in Sleep mode)
INTF
Peripheral Interrupts INTE
(TMR1IF) PIR1<0>
IOCIF Interrupt
(TMR1IF) PIR1<0> IOCIE to CPU
PEIE
PIRn<7>
PIEn<7> GIE
Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4
CLKIN
CLKOUT (3)
(4)
INT pin
(1)
(1)
INTF flag (5) Interrupt Latency (2)
(INTCON reg.)
GIE bit
(INTCON reg.)
INSTRUCTION FLOW
PC PC PC + 1 PC + 1 0004h 0005h
Instruction
Fetched Inst (PC) Inst (PC + 1) — Inst (0004h) Inst (0005h)
FOSC/4
Data Bus
0
8
1
Sync
1 2 TCY TMR0
Shared Prescale
T0CKI 0
pin 0
T0CS PSA Set Flag bit T0IF
T0SE 8-bit
on Overflow
Prescaler
1
PSA
8
PS<2:0> 1
Watchdog
WDT
Timer
Time-out
LFINTOSC
2 0
(Figure 4-1)
PSA
PSA
WDTE
Note 1: T0SE, T0CS, PSA, PS<2:0> are bits in the OPTION_REG register.
2: WDTE bit is in the Configuration Word register.
Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4
CLKIN
CLKOUT TIOSCST
INT pin
INTF flag
(INTCON reg.) Interrupt Latency (3)
GIE bit
(INTCON reg.) Processor in
Sleep
Instruction Flow
PC PC PC + 1 PC + 2 PC + 2 PC + 2 0004h 0005h
Instruction Inst(PC + 1) Inst(PC + 2) Inst(0004h) Inst(0005h)
Fetched Inst(PC) = Sleep
Instruction Sleep Inst(PC + 1) Dummy Cycle Dummy Cycle
Executed Inst(PC – 1) Inst(0004h)
19.9 ID Locations
Four memory locations (2000h-2003h) are designated
as ID locations where the user can store checksum or
other code identification numbers. These locations are
not accessible during normal execution but are
readable and writable during Program/Verify mode.
Only the Least Significant seven bits of the ID locations
are reported when using MPLAB® IDE.
+5V VDD
0V VSS
VPP MCLR/VPP
CLK ICSPCLK
* * *
To Normal
Connections
VDD
0.95 = compensation for -5% tolerance of RSER
ISHUNT
CBYPASS Feedback
20.2 Regulator Considerations
VSS The supply voltage VUNREG and load current are not
constant. Therefore, the current range of the regulator
Device
is limited. Selecting a value for RSER must take these
three factors into consideration.
Since the regulator uses the band gap voltage as the
regulated voltage reference, this voltage reference is
permanently enabled in the PIC16HV753 devices.
The shunt regulator will still consume current when
below operating voltage range for the shunt regulator.
The MPASM Assembler generates relocatable object • Support for the entire device instruction set
files for the MPLINK Object Linker, Intel® standard HEX • Support for fixed-point and floating-point data
files, MAP files to detail memory usage and symbol • Command-line interface
reference, absolute LST files that contain source lines • Rich directive set
and generated machine code, and COFF files for • Flexible macro language
debugging.
• MPLAB X IDE compatibility
The MPASM Assembler features include:
• Integration into MPLAB X IDE projects
• User-defined macros to streamline
assembly code
• Conditional assembly for multipurpose
source files
• Directives that allow complete control over the
assembly process
† NOTICE: Stresses above those listed under “Absolute Maximum Ratings” may cause permanent damage to the
device. This is a stress rating only and functional operation of the device at those or any other conditions above those
indicated in the operation listings of this specification is not implied. Exposure above maximum rating conditions for
extended periods may affect device reliability.
5.5
5.0
4.5
VDD (V)
4.0
3.5
3.0
2.5
2.0
0 8 10 20
Frequency (MHz)
Note 1: The shaded region indicates the permissible combinations of voltage and frequency.
5.0
4.5
VDD (V)
4.0
3.5
3.0
2.5
2.0
0 8 10 20
Frequency (MHz)
Note 1: The shaded region indicates the permissible combinations of voltage and frequency.
PIC16HV753
Param
Sym. Characteristic Min. Typ† Max. Units Conditions
No.
D001 VDD Supply Voltage
VDDMIN VDDMAX
2.0 — 5.5 V FOSC 8 MHz
3.0 — 5.5 V FOSC 10 MHz
4.5 — 5.5 V FOSC 20 MHz
D001 2.0 — 5.0 V FOSC 8 MHz(2)
3.0 — 5.0 V FOSC 10 MHz(2)
4.5 — 5.0 V FOSC 20 MHz(2)
D002* VDR RAM Data Retention Voltage(1)
1.5 — — V Device in Sleep mode
D002 1.5 — — V Device in Sleep mode
D003* VPOR VDD Start Voltage to ensure internal Power-on Reset signal
— 1.6 — V
D003 — 1.6 — V
D004* SVDD VDD Rise Rate to ensure VDD Rise Rate internal Power-on Reset signal
0.05 — — V/ms See Table for details.
* These parameters are characterized but not tested.
† Data in “Typ” column is at 5.0V, 25°C unless otherwise stated. These parameters are for design guidance
only and are not tested.
Note 1: This is the limit to which VDD can be lowered in Sleep mode without losing RAM data.
2: On the PIC16HV753, VDD is regulated by a Shunt Regulator and is dependent on series resistor
(connected between the unregulated supply voltage and the VDD pin) to limit the current to 50 mA. See
Section 20.0 “Shunt Regulator (PIC16HV753 Only)” for design requirements.
PIC16HV753
PIC16HV753
D020 — 0.05 0.50 3.50 A 2.0 WDT, BOR, Comparator, VREF and
— 0.15 1.00 4.00 A 3.0 T1OSC disabled
— 0.35 1.50 5.00 A 5.0
D020 — 70 130 140 A 2.0
— 140 175 185 A 3.0
— 175 230 250 A 4.5
(2, 3)
Power-down Base Current (IPD)
D021 — 0.96 1.30 3.72 A 2.0 WDT Current(1)
— 1.05 2.10 6.50 A 3.0
— 1.87 2.92 6.86 A 5.0
D021 — 66 127 141 A 2.0
— 137 172 176 A 3.0
— 176 228 233 A 4.5
D022 — 4 7 10 A 3.0 BOR Current(1)
— 5 8 11 A 5.0
D022 — 140 175 180 A 3.0
— 178 230 236 A 4.5
D023 — 160 345 375 A 2.0 CxSP = 1, Comparator Current(1),
— 180 370 405 A 3.0 single comparator enabled
— 220 410 445 A 5.0
D023 — 225 380 380 A 2.0
— 250 420 420 A 3.0
— 381 500 500 A 4.5
D024 — 50 105 115 A 2.0 CxSP = 0, Comparator Current(1),
— 55 110 120 A 3.0 single comparator enabled
— 70 120 132 A 5.0
D024 — 115 200 200 A 2.0
— 150 220 220 A 3.0
— 240 277 277 A 4.5
* These parameters are characterized but not tested.
† Data in “Typ” column is at 5.0V, 25°C unless otherwise stated. These parameters are for design guidance
only and are not tested.
Note 1: The peripheral current can be determined by subtracting the base IPD current from this limit. Max values
should be used when calculating total current consumption.
2: The power-down current in Sleep mode does not depend on the oscillator type. Power-down current is
measured with the part in Sleep mode, with all I/O pins in high-impedance state and tied to VSS.
3: Shunt regulator is always ON and always draws operating current.
Param
Symbol Parameters Min. Typ† Max. Units Conditions
No.
OPA01* VOS Input Offset Voltage — ±8 ±15 mV
OPA02* IB Input Bias Current — ±2 — nA
OPA03* IOS Input Offset Bias Current — ±1 — pA
OPA04* VCM Common Mode Input Range VSS — VDD - 1.4 V
OPA05* CMR Common Mode Rejection Ratio 60 70 ±5 dB
OPA06* AOL DC Open Loop Gain — — — dB
OPA07* VOUT Output Voltage Swing VSS - 50 — VSS + 50 mV
OPA08* ISC Output Short Circuit Current — 10 15 mA
OPA10* PSR Power Supply Rejection — 60 — dB
* These parameters are characterized but not tested.
† Data in “Typ” column is at 3.0V, 25°C unless otherwise stated. These parameters are for design guidance
only and are not tested.
Note 1: See Section 23.0 “DC and AC Characteristics Graphs and Charts” for operating characterization.
2: Response time is measured with one comparator input at (VDD - 1.5)/2 - 100 mV to (VDD - 1.5)/2 + 20mV.
3: Input offset voltage is measured with one comparator input at (VDD - 1.5V)/2.
Param
Sym. Characteristic Typ. Units Conditions
No.
TH01 JA Thermal Resistance Junction to Ambient 84.6 °C/W 8-pin PDIP package
149.5 °C/W 8-pin SOIC package
60 °C/W 8-pin DFN 3x3mm package
TH02 JC Thermal Resistance Junction to Case 41.2 °C/W 8-pin PDIP package
39.9 °C/W 8-pin SOIC package
9 °C/W 8-pin DFN 3x3mm package
TH03 TJMAX Maximum Junction Temperature 150 °C
TH04 PD Power Dissipation — W PD = PINTERNAL + PI/O
TH05 PINTERNAL Internal Power Dissipation — W PINTERNAL = IDD x VDD(1)
TH06 PI/O I/O Power Dissipation — W PI/O = (IOL * VOL) + (IOH * (VDD
- VOH))
TH07 PDER Derated Power — W PDER = PDMAX (TJ - TA)/JA(2)
Note 1: IDD is current to run the chip alone without driving any load on the output pins.
2: TA = Ambient temperature; TJ = Junction Temperature
1. TppS2ppS
2. TppS
T
F Frequency T Time
Lowercase letters (pp) and their meanings:
pp
cc CCP1 osc OSC1
ck CLKOUT rd RD
cs CS rw RD or WR
di SDI sc SCK
do SDO ss SS
dt Data in t0 T0CKI
io I/O Port t1 T1CKI
mc MCLR wr WR
Uppercase letters and their meanings:
S
F Fall P Period
H High R Rise
I Invalid (High-Impedance) V Valid
L Low Z High-Impedance
Load Condition
Pin CL
VSS
Q4 Q1 Q2 Q3 Q4 Q1
CLKIN
OS02
OS04 OS04
OS03
CLKOUT
CLKOUT
(CLKOUT Mode)
Q4 Q1 Q2 Q3
FOSC
OS20
CLKOUT OS21
OS19 OS18
OS16
OS13 OS17
I/O pin
(Input)
OS15 OS14
OS18, OS19
VDD
MCLR
30
Internal
POR
33
PWRT
Time-out
32
OSC
Start-Up Time
Internal Reset(1)
Watchdog Timer
Reset(1)
31
34
34
I/O pins
VDD
VBOR + VHYST
VBOR
37
Reset
33*
(due to BOR)
* 64 ms delay only if PWRTE bit in the Configuration Word register is programmed to ‘0’.
Param Unit
Sym. Characteristic Min. Typ† Max. Conditions
No. s
T0CKI
40 41
42
T1CKI
45 46
47 49
TMR0 or
TMR1
Param
Sym. Characteristic Min. Typ† Max. Units Conditions
No.
40* TT0H T0CKI High Pulse Width No Prescaler 0.5 TCY + 20 — — ns
With Prescaler 10 — — ns
41* TT0L T0CKI Low Pulse Width No Prescaler 0.5 TCY + 20 — — ns
With Prescaler 10 — — ns
42* TT0P T0CKI Period Greater of: — — ns N = prescale
20 or TCY + 40 value
N
45* TT1H T1CKI High Synchronous, No Prescaler 0.5 TCY + 20 — — ns
Time Synchronous, with Prescaler 15 — — ns
Asynchronous 30 — — ns
46* TT1L T1CKI Low Synchronous, No Prescaler 0.5 TCY + 20 — — ns
Time Synchronous, with Prescaler 15 — — ns
Asynchronous 30 — — ns
47* TT1P T1CKI Input Synchronous Greater of: — — ns N = prescale
Period 30 or TCY + 40 value
N
Asynchronous 60 — — ns
49* TCKEZT- Delay from External Clock Edge to Timer 2 TOSC — 7 TOSC — Timers in Sync
MR1 Increment mode
* 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.
CCP1
(Capture mode)
CC01 CC02
CC03
Param
Sym. Characteristic Min. Typ† Max. Units Conditions
No.
CC01* TccL CCP1 Input Low Time No Prescaler 0.5TCY + 20 — — ns
With Prescaler 20 — — ns
CC02* TccH CCP1 Input High Time No Prescaler 0.5TCY + 20 — — ns
With Prescaler 20 — — ns
CC03* TccP CCP1 Input Period 3TCY + 40 — — ns N = prescale
N value (1, 4 or
16)
* 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.
Param
Symbol Characteristics Min. Typ. Max. Units Comments
No.
VR01* VFVR FVR Voltage Output 1.128 1.2 1.272 V
VR02* TSTABLE FVR Turn On Time — 200 — s
* These parameters are characterized but not tested.
Param
Symbol Characteristics Min. Typ. Max. Units Comments
No.
SR01 VSHUNT Shunt Voltage 4.75 5 5.5 V
4.70 5 5.5 V TA = -40°C
SR02 ISHUNT Shunt Current 1 — 50 mA
SR03* TSETTLE Settling Time — — 150 ns To 1% of final value
SR04 CLOAD Load Capacitance 0.01 — 10 F Bypass capacitor on VDD
pin
SR05 ISNT Regulator operating current — 180 — A Includes band gap
reference current
* These parameters are characterized but not tested.
BSF ADCON0, GO
1 TCY
AD134 (TOSC/2)
AD131
Q4
AD130
A/D CLK
A/D Data 9 8 7 6 3 2 1 0
ADIF 1 TCY
GO DONE
Sampling Stopped
AD132
Sample
BSF ADCON0, GO
AD134 (TOSC/2 + TCY) 1 TCY
AD131
Q4
AD130
A/D CLK
A/D Data 9 8 7 6 3 2 1 0
ADIF 1 TCY
GO DONE
Sampling Stopped
AD132
Sample
300
200
IDD (µA)
150
100
1 MHz
50
0
1.6 2.0 2.4 2.8 3.2 3.6 4.0 4.4 4.8
VDD (V)
200
IDD (µA)
150
100
1 MHz
50
0
1.6 2.0 2.4 2.8 3.2 3.6 4.0 4.4 4.8
VDD (V)
350
4 MHz
300 Typical: 25°C
250
IDD (µA)
200
150 1 MHz
100
50
0
2.0 2.5 3.0 3.5 4.0 4.5 5.0 5.5 6.0
VDD (V)
400
300
250
IDD (µA)
200
1 MHz
150
100
50
0
2.0 2.5 3.0 3.5 4.0 4.5 5.0 5.5 6.0
VDD (V)
2.5
1.5
IDD (mA)
1.0
4 MHz
0.5 1 MHz
0.0
1.6 2.0 2.4 2.8 3.2 3.6 4.0 4.4 4.8
VDD (V)
2.5
1.5
IDD (mA)
1.0 4 MHz
0.5
1 MHz
0.0
1.6 2.0 2.4 2.8 3.2 3.6 4.0 4.4 4.8
VDD (V)
2.5
Typical: 25°C
2.0 20 MHz
1.5
IDD (mA)
1.0
4 MHz
0.5
1 MHz
0.0
1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0 5.5 6.0
VDD (V)
2.5
1.5
IDD (mA)
4 MHz
1.0
0.5 1 MHz
0.0
1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0 5.5 6.0
VDD (V)
350
Max.
300 Max: 85°C + 3ı
Typical: 25°C
250
Typical
IDD (µA)
200
150
100
50
0
1.6 2.0 2.4 2.8 3.2 3.6 4.0 4.4 4.8
VDD (V)
60
40
IDD (µA)
Typical
30
20
10
0
1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0 5.5 6.0
VDD (V)
1.4
1.0
IDD (mA)
0.8 4 MHz
0.6
1 MHz
0.4
0.2
0.0
1.6 2.0 2.4 2.8 3.2 3.6 4.0 4.4 4.8
VDD (V)
1.6
1.2
1.0
4 MHz
IDD (mA)
0.8
1 MHz
0.6
0.4
0.2
0.0
1.6 2.0 2.4 2.8 3.2 3.6 4.0 4.4 4.8
VDD (V)
1.2
1.0
8 MHz
IDD (mA)
0.8 4 MHz
2 MHz
0.6 1 MHz
0.4
0.2
0.0
2.0 2.5 3.0 3.5 4.0 4.5 5.0 5.5 6.0
VDD (V)
250
Max.
Max: 85°C + 3ı
200
Typical: 25°C
Typical
150
(nA)
IPD (nA
100
50
0
1.6 2.0 2.4 2.8 3.2 3.6 4.0 4.4 4.8
VDD (V)
0.8
0.5
(µA)
IPD (µA
0.4
0.3 Typical
0.2
0.1
0.0
15
1.5 2
2.0
0 2
2.5
5 3
3.0
0 3
3.5
5 4
4.0
0 4
4.5
5 5
5.0
0 5
5.5
5 6
6.0
0
VDD (V)
250
150
IPD (µA)
100
50
0
1 6
1.6 2 0
2.0 2 4
2.4 2 8
2.8 3 2
3.2 3 6
3.6 4 0
4.0 4 4
4.4 4 8
4.8
VDD (V)
3.5
2.0
IPD (µA
Typical
1.5
15
1.0
0.5
0.0
1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0 5.5 6.0
VDD (V)
250
Max: 85°C + 3ı
Max.
Typical: 25°C
200
150 Typical
IPD (µA)
100
50
0
1.6
16 2.0
2 0 2.4
2 4 2.8
2 8 3.2
3 2 3.6
3 6 4.0
4 0 4.4
4 4 4.8
4 8
VDD (V)
175
Max.
150
125
(µA)
IPD (µA
Typical
100
75 Max: 85°C + 3ı
Typical: 25 C
25°C
50
15
1.5 2 0
2.0 2 5
2.5 3 0
3.0 3 5
3.5 4 0
4.0 4 5
4.5 5 0
5.0 5 5
5.5 6 0
6.0
VDD (V)
250
150
125
100
75
50
24
2.4 2 6
2.6 2 8
2.8 3 0
3.0 3 2
3.2 3 4
3.4 3 6
3.6 3 8
3.8 4 0
4.0 4 2
4.2 4 4
4.4 4 6
4.6
VDD (V)
6
Max: 85°C + 3ı
Typical: 25°C Max
Max.
5
IPD (µA)
4 Typical
2
2 0
2.0 2 5
2.5 3 0
3.0 3 5
3.5 4 0
4.0 4 5
4.5 5 0
5.0 5 5
5.5 6 0
6.0
VDD (V)
300
200
Typical
(µA)
IPD (µA
150
100
50
0
1 6
1.6 2 0
2.0 2 4
2.4 2 8
2.8 3 2
3.2 3 6
3.6 4 0
4.0 4 4
4.4 4 8
4.8
VDD (V)
80
Max: 85°C + 3ı
70 Typical: 25°C Max.
60
Typical
50
(µA)
IDD (µA
40
30
20
10
0
1 5
1.5 2 0
2.0 2 5
2.5 3 0
3.0 3 5
3.5 4 0
4.0 4 5
4.5 5 0
5.0 5 5
5.5 6 0
6.0
VDD (V)
250
150 Typical
(µA)
IPD (µA
100
50
0
1 6
1.6 2 0
2.0 2 4
2.4 2 8
2.8 3 2
3.2 3 6
3.6 4 0
4.0 4 4
4.4 4 8
4.8
VDD (V)
20
Max: 85°C + 3ı
Typical: 25°C Max.
15
Typical
IPD (µA)
10
0
1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0 5.5 6.0
VDD (V)
350
Max: 85°C + 3
M 3ı
300 Typical: 25°C Max.
250
200
IPD(µA)
Typical
150
100
50
0
1.6 2.0 2.4 2.8 3.2 3.6 4.0 4.4 4.8
VDD (V)
350
Max: 8
M 85°C
°C + 3
3ı Max.
300 Typical: 25°C
250
200
(µA)
Typical
IPD (µA
150
100
50
0
1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0 5.5 6.0
VDD (V)
250
150
IPD (µA)
100
50
0
1.6 2.0 2.4 2.8 3.2 3.6 4.0 4.4 4.8
VDD (V)
0.8
0.5
IPD (µA)
0.4
0.3
0.2 Typical
0.1
0.0
15
1.5 2
2.0
0 2
2.5
5 3
3.0
0 3
3.5
5 4
4.0
0 4
4.5
5 5
5.0
0 5
5.5
5 6
6.0
0
VDD (V)
100
Max: 85°C + 3ı
Typical: 25°C Max.
80
Typical
(µA)
60
IPD (µ
40
20
0
1 6
1.6 2 0
2.0 2 4
2.4 2 8
2.8 3 2
3.2 3 6
3.6 4 0
4.0 4 4
4.4 4 8
4.8
VDD (V)
120
Max: 85°C + 3
M 3ı
Typical: 25°C Max.
100
80
Typical
(µA)
IPD (µA
60
40
20
0
1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0 5.5 6.0
VDD (V)
350
Max 85°C + 3
M 3ı
Typical: 25°C
300 85°C
250
(µA)
IPD (µA
200
25°C
150
100
50
0
1.6 2.0 2.4 2.8 3.2 3.6 4.0 4.4 4.8
VDD (V)
400
Max: 85°C + 3ı
350 Typical: 25°C Max.
300
250
Typical
(µA)
IPD (µA
200
150
100
50
0
1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0 5.5 6.0
VDD (V)
PIC16F753
-I/P
1306017
PIC16F753
-I/SL
1306017
Note: In the event the full Microchip part number cannot be marked on one line, it will be
carried over to the next line, thus limiting the number of available characters for
customer-specific information.
XXXXXXXX 753/ST
YYWW 1306
NNN 017
PIC16
PIN 1 PIN 1
F753
-I/ML
306017
Note: In the event the full Microchip part number cannot be marked on one line, it will be
carried over to the next line, thus limiting the number of available characters for
customer-specific information.
NOTE 1
E1
1 2 3
A A2
L c
A1
b1
b e eB
6% 7+8-
& 9&% 7 7: ;
7!&( $ 7
% 1+
% % < <
""4 4 0 , 0
1 % % 0 < <
!" % !" ="% - , ,0
""4="% - 0 >
: 9% ,0 0 0
% % 9 0 , 0
9" 4 > 0
6 9"="% ( 0 ?
9 ) 9"="% ( >
: ) * 1 < < ,
!"#$%! & '(!%&! %( %")% % % "
*$%+ % %
, & "-" %!"& "$ % ! "$ % ! %#". "
& "% -/0
1+21 & %#%! ))% !%%
Note: For the most current package drawings, please see the Microchip Packaging Specification located at
http://www.microchip.com/packaging
Note: For the most current package drawings, please see the Microchip Packaging Specification located at
http://www.microchip.com/packaging
3 % & %! % 4" ) ' % 4 $% %"%
%% 255)))& &5 4
Note: For the most current package drawings, please see the Microchip Packaging Specification located at
http://www.microchip.com/packaging
Note: For the most current package drawings, please see the Microchip Packaging Specification located at
http://www.microchip.com/packaging
Note: For the most current package drawings, please see the Microchip Packaging Specification located at
http://www.microchip.com/packaging
D D2
EXPOSED
PAD
E E2
2 2 b
1 1
K
N N
NOTE 1 L
TOP VIEW BOTTOM VIEW
A A3
A1
Note: For the most current package drawings, please see the Microchip Packaging Specification located at
http://www.microchip.com/packaging
Revision B (11/2013)
Electrical Specification chapter updated,
Characterization Data chapter updated. Miscellaneous
corrections to the following chapters: Device Overview,
Memory Organization, I/O Ports, COG Module, Fixed
Voltage Reference (FVR), Slope Compensation (SC)
Module.
Revision C (03/2015)
Updated Figures 2-2, 13-1, 14-1, 17-1, and 17-2;
Registers 5-11, 5-12, 11-11, and 11-12; Sections 5.5.4
and 22.0; Table 1-1, 22-3, 22-4, 22-15, and 22-17.
Revision D (06/2016)
Updated the ‘eXtreme Low-Power (XLP) Features’
section; Other minor corrections.
• Microchip believes that its family of products is one of the most secure families of its kind on the market today, when used in the
intended manner and under normal conditions.
• There are dishonest and possibly illegal methods used to breach the code protection feature. All of these methods, to our
knowledge, require using the Microchip products in a manner outside the operating specifications contained in Microchip’s Data
Sheets. Most likely, the person doing so is engaged in theft of intellectual property.
• Microchip is willing to work with the customer who is concerned about the integrity of their code.
• Neither Microchip nor any other semiconductor manufacturer can guarantee the security of their code. Code protection does not
mean that we are guaranteeing the product as “unbreakable.”
Code protection is constantly evolving. We at Microchip are committed to continuously improving the code protection features of our
products. Attempts to break Microchip’s code protection feature may be a violation of the Digital Millennium Copyright Act. If such acts
allow unauthorized access to your software or other copyrighted work, you may have a right to sue for relief under that Act.