PIC16F1946-E/PT Microchip Technology, PIC16F1946-E/PT Datasheet - Page 225

no-image

PIC16F1946-E/PT

Manufacturer Part Number
PIC16F1946-E/PT
Description
MCU 8BIT 8K FLASH 64TQFP
Manufacturer
Microchip Technology
Series
PIC® XLP™ 16Fr

Specifications of PIC16F1946-E/PT

Core Size
8-Bit
Program Memory Size
14KB (8K x 14)
Core Processor
PIC
Speed
32MHz
Connectivity
I²C, LIN, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, LCD, POR, PWM, WDT
Number Of I /o
54
Program Memory Type
FLASH
Eeprom Size
256 x 8
Ram Size
512 x 8
Voltage - Supply (vcc/vdd)
1.8 V ~ 5.5 V
Data Converters
A/D 17x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 125°C
Package / Case
64-TFQFP
Controller Family/series
PIC16F
Eeprom Memory Size
256Byte
Ram Memory Size
512Byte
Cpu Speed
32MHz
No. Of Timers
5
Interface
EUSART, I2C, SPI
Lead Free Status / RoHS Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16F1946-E/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
FIGURE 22-13:
22.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 Section 22.4.4 “Auto-Restart Mode”).
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:
 2010 Microchip Technology Inc.
Shoot-Through Current
Note 1: All signals are shown as active-high.
External Switch C
External Switch D
2: T
3: T
ENHANCED PWM
AUTO-SHUTDOWN MODE
ON
OFF
Potential
is the turn on delay of power switch QC and its driver.
is the turn off delay of power switch QD and its driver.
PxC
PxD
PxA
PxB
EXAMPLE OF PWM DIRECTION CHANGE AT NEAR 100% DUTY CYCLE
Forward Period
PW
Preliminary
• Drive logic ‘1’
• Drive logic ‘0’
• Tri-state (high-impedance)
Note 1: The
t1
PIC16F/LF1946/47
2: Writing to the CCPxASE bit is disabled
3: Once the auto-shutdown condition has
4: Prior to an auto-shutdown event caused
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 to a
‘1’. The auto-restart feature tracks the
active status of a shutdown caused by a
comparator output or INT pin event only,
so if it is enabled at this time, it will imme-
diately clear this bit and restart the ECCP
module at the beginning of the next PWM
period.
T
ON
Reverse Period
T
T = T
OFF
auto-shutdown
an
OFF
PW
– T
auto-shutdown
ON
DS41414A-page 223
condition
condition
is
a

Related parts for PIC16F1946-E/PT