PIC16F767-E/ML Microchip Technology, PIC16F767-E/ML Datasheet - Page 191

IC,MICROCONTROLLER,8-BIT,PIC CPU,CMOS,LLCC,28PIN,PLASTIC

PIC16F767-E/ML

Manufacturer Part Number
PIC16F767-E/ML
Description
IC,MICROCONTROLLER,8-BIT,PIC CPU,CMOS,LLCC,28PIN,PLASTIC
Manufacturer
Microchip Technology
Series
PIC® 16Fr

Specifications of PIC16F767-E/ML

Rohs Compliant
YES
Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
25
Program Memory Size
14KB (8K x 14)
Program Memory Type
FLASH
Ram Size
368 x 8
Voltage - Supply (vcc/vdd)
4 V ~ 5.5 V
Data Converters
A/D 11x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 125°C
Package / Case
28-VQFN Exposed Pad, 28-HVQFN, 28-SQFN, 28-DHVQFN
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
15.17.4
The Fail-Safe Clock Monitor (FSCM) is designed to
allow the device to continue to operate even in the
event of an oscillator failure.
FIGURE 15-14:
The FSCM function is enabled by setting the FCMEN
bit in Configuration Word Register 2.
In the event of an oscillator failure, the FSCM will
generate an oscillator fail interrupt and will switch the
system clock over to the internal oscillator. The system
will continue to come from the internal oscillator until
the Fail-Safe condition is exited. The Fail-Safe
condition is exited with either a Reset, the execution of
a SLEEP instruction or a write to the SCS bits of a
different value.
The frequency of the internal oscillator will depend
upon the value contained in the IRCF bits. Another
clock source can be selected via the IRCF and the
SCS bits of the OSCCON register.
FIGURE 15-15:
 2004 Microchip Technology Inc.
31.25 kHz
Peripheral
Oscillator
(32 s)
INTRC
Clock
Note:
Sample Clock
CM Output
FAIL-SAFE OPTION
(488 Hz)
OSCFIF
System
Output
Clock
(2.048 ms)
The system clock is normally at a much higher frequency than the sample clock. The relative frequencies in
this example have been chosen for clarity.
488 Hz
(Q)
÷ 64
FSCM BLOCK DIAGRAM
FSCM TIMING DIAGRAM
(edge-triggered)
Clock Monitor
Latch (CM)
C
S
Q
Q
CM Test
Detected
Failure
Clock
The FSCM sample clock is generated by dividing the
INTRC clock by 64. This will allow enough time
between FSCM sample clocks for a system clock edge
to occur.
On the rising edge of the postscaled clock, the
monitoring latch (CM = 0) will be cleared. On a falling
edge of the primary or secondary system clock, the
monitoring latch will be set (CM = 1). In the event that
a falling edge of the postscaled clock occurs and the
monitoring latch is not set, a clock failure has been
detected.
While in Fail-Safe mode, a Reset will exit the Fail-Safe
condition. If the primary clock source is configured for
a crystal, the OST timer will wait for the 1024 clock
cycles for the OST time-out and the device will
continue running from the internal oscillator until the
OST is complete. A SLEEP instruction, or a write to the
SCS bits (where SCS bits do not = 00), can be
performed to put the device into a low-power mode.
If Reset occurs while in Fail-Safe mode and the
primary clock source is EC or RC, then the device will
immediately switch back to EC or RC mode.
15.17.4.1
A change of SCS<1:0> or the SLEEP instruction will
end the Fail-Safe condition. The system clock will
default to the source selected by the SCS bits, which
is either T1OSC, INTRC or none (Sleep mode). How-
ever, the FSCM will continue to monitor the system
clock. If the secondary clock fails, the device will
immediately switch to the internal oscillator clock. If
OSFIE is set, an interrupt will be generated.
Note:
CM Test
Oscillator
Failure
Two-Speed
enabled when the Fail-Safe option is
enabled.
Fail-Safe in Low-Power Mode
PIC16F7X7
Start-up
Detected
Failure
CM Test
DS30498C-page 189
is
automatically

Related parts for PIC16F767-E/ML