PIC16F1937-E/MV Microchip Technology, PIC16F1937-E/MV Datasheet - Page 228

14KB Flash, 512B RAM, 256B EEPROM, LCD, 1.8-5.5V 40 UQFN 5x5x0.5mm TUBE

PIC16F1937-E/MV

Manufacturer Part Number
PIC16F1937-E/MV
Description
14KB Flash, 512B RAM, 256B EEPROM, LCD, 1.8-5.5V 40 UQFN 5x5x0.5mm TUBE
Manufacturer
Microchip Technology
Series
PIC® XLP™ 16Fr
Datasheet

Specifications of PIC16F1937-E/MV

Processor Series
PIC16F
Core
PIC
Program Memory Type
Flash
Program Memory Size
14 KB
Data Ram Size
256 B
Interface Type
MI2C, SPI, EUSART
Number Of Timers
5
Operating Supply Voltage
1.8 V to 5.5 V
Maximum Operating Temperature
+ 125 C
Mounting Style
SMD/SMT
Package / Case
UQFN-40
Development Tools By Supplier
MPLAB IDE Software
Minimum Operating Temperature
- 40 C
Core Processor
PIC
Core Size
8-Bit
Speed
32MHz
Connectivity
I²C, LIN, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, LCD, POR, PWM, WDT
Number Of I /o
36
Eeprom Size
256 x 8
Ram Size
512 x 8
Voltage - Supply (vcc/vdd)
1.8 V ~ 5.5 V
Data Converters
A/D 14x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 125°C
Lead Free Status / Rohs Status
 Details
PIC16(L)F1934/6/7
23.4.3
The PWM mode supports an Auto-Shutdown mode that
will disable the PWM outputs when an external
shutdown event occurs. Auto-Shutdown mode places
the PWM output pins into a predetermined state. This
mode is used to help prevent the PWM from damaging
the application.
The auto-shutdown sources are selected using the
CCPxAS<2:0> bits of the CCPxAS register. A shutdown
event may be generated by:
• A logic ‘0’ on the INT pin
• A logic ‘1’ on a Comparator (Cx) output
A shutdown condition is indicated by the CCPxASE
(Auto-Shutdown Event Status) bit of the CCPxAS
register. If the bit is a ‘0’, the PWM pins are operating
normally. If the bit is a ‘1’, the PWM outputs are in the
shutdown state.
When a shutdown event occurs, two things happen:
The CCPxASE bit is set to ‘1’. The CCPxASE will
remain set until cleared in firmware or an auto-restart
occurs (see
The enabled PWM pins are asynchronously placed in
their shutdown states. The PWM output pins are
grouped into pairs [PxA/PxC] and [PxB/PxD]. The state
of each pin pair is determined by the PSSxAC and
PSSxBD bits of the CCPxAS register. Each pin pair may
be placed into one of three states:
• Drive logic ‘1’
• Drive logic ‘0’
• Tri-state (high-impedance)
FIGURE 23-14:
DS41364E-page 228
Shutdown
PWM
CCPxASE bit
ENHANCED PWM
AUTO-SHUTDOWN MODE
Section 23.4.4 “Auto-Restart
Activity
Event
PWM AUTO-SHUTDOWN WITH FIRMWARE RESTART (PXRSEN = 0)
Overflow
Timer
Start of
PWM Period
PWM Period
(Auto-Shutdown)
Mode”).
Event Occurs
Missing Pulse
Overflow
Shutdown
Timer
Event Clears
Overflow
Shutdown
Timer
Note 1: The
2: Writing to the CCPxASE bit is disabled
3: Once the auto-shutdown condition has
4: Prior to an auto-shutdown event caused
Missing Pulse
(CCPxASE not clear)
level-based signal, not an edge-based
signal. As long as the level is present, the
auto-shutdown will persist.
while
persists.
been removed and the PWM restarted
(either through firmware or auto-restart)
the PWM signal will always restart at the
beginning of the next PWM period.
by a comparator output or INT pin event,
a software shutdown can be triggered in
firmware by setting the CCPxASE bit of
the
Auto-Restart feature tracks the active sta-
tus of a shutdown caused by a compara-
tor output or INT pin event only. If it is
enabled at this time, it will immediately
clear this bit and restart the ECCP mod-
ule at the beginning of the next PWM
period.
Overflow
Cleared by
CCPxASE
Firmware
Timer
CCPxAS
 2008-2011 Microchip Technology Inc.
auto-shutdown
an
PWM
Resumes
auto-shutdown
register
Overflow
condition
Timer
to
‘1’.
condition
is
The
a

Related parts for PIC16F1937-E/MV