PIC16F689-I/ML Microchip Technology, PIC16F689-I/ML Datasheet - Page 141

IC PIC MCU FLASH 4KX14 20QFN

PIC16F689-I/ML

Manufacturer Part Number
PIC16F689-I/ML
Description
IC PIC MCU FLASH 4KX14 20QFN
Manufacturer
Microchip Technology
Series
PIC® 16Fr

Specifications of PIC16F689-I/ML

Program Memory Type
FLASH
Program Memory Size
7KB (4K x 14)
Package / Case
20-VQFN Exposed Pad, 20-HVQFN, 20-SQFN, 20-DHVQFN
Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, WDT
Number Of I /o
18
Eeprom Size
256 x 8
Ram Size
256 x 8
Voltage - Supply (vcc/vdd)
2 V ~ 5.5 V
Data Converters
A/D 12x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Processor Series
PIC16F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
256 B
Interface Type
I2C/SPI/SSP/EUSART
Maximum Clock Frequency
20 MHz
Number Of Programmable I/os
17
Number Of Timers
2
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
3rd Party Development Tools
52715-96, 52716-328, 52717-734
Development Tools By Supplier
PG164130, DV164035, DV244005, DV164005, PG164120, ICE2000, DM163029, DM164120
Minimum Operating Temperature
- 40 C
On-chip Adc
12-ch x 10-bit
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
AC164324 - MODULE SKT FOR MPLAB 8DFN/16QFNAC162061 - HEADER INTRFC MPLAB ICD2 20PIN
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
11.4.2.1
In the Full-Bridge mode, the P1M1 bit in the CCP1CON
register allows users to control the forward/reverse
direction. When the application firmware changes this
direction control bit, the module will change to the new
direction on the next PWM cycle.
A direction change is initiated in software by changing
the P1M1 bit of the CCP1CON register. The following
sequence occurs four Timer2 cycles prior to the end of
the current PWM period:
• The modulated outputs (P1B and P1D) are placed
• The associated unmodulated outputs (P1A and
• PWM modulation resumes at the beginning of the
See Figure 11-12 for an illustration of this sequence.
FIGURE 11-12:
© 2007 Microchip Technology Inc.
in their inactive state.
P1C) are switched to drive in the opposite
direction.
next period.
Note 1: The direction bit P1M1 of the CCP1CON register is written any time during the PWM cycle.
P1A (Active-High)
P1B (Active-High)
P1C (Active-High)
P1D (Active-High)
Signal
2: When changing directions, the P1A and P1C signals switch before the end of the current PWM cycle. The
Direction Change in Full-Bridge
Mode
modulated P1B and P1D signals are inactive at this time. The length of this time is four Timer2 counts.
EXAMPLE OF PWM DIRECTION CHANGE
Pulse Width
PIC16F631/677/685/687/689/690
Period
(1)
The Full-Bridge mode does not provide dead-band
delay. As one output is modulated at a time, dead-band
delay is generally not required. There is a situation
where dead-band delay is required. This situation
occurs when both of the following conditions are true:
1.
2.
Figure 11-13 shows an example of the PWM direction
changing from forward to reverse, at a near 100% duty
cycle. In this example, at time t1, the output P1A and
P1D become inactive, while output P1C becomes
active. Since the turn off time of the power devices is
longer than the turn on time, a shoot-through current
will flow through power devices QC and QD (see
Figure 11-10) for the duration of ‘t’. The same
phenomenon will occur to power devices QA and QB
for PWM direction change from reverse to forward.
If changing PWM direction at high duty cycle is required
for an application, two possible solutions for eliminating
the shoot-through current are:
1.
2.
Other options to prevent shoot-through current may
exist.
The direction of the PWM output changes when
the duty cycle of the output is at or near 100%.
The turn off time of the power switch, including
the power device and driver circuit, is greater
than the turn on time.
Reduce PWM duty cycle for one PWM period
before changing directions.
Use switch drivers that can drive the switches off
faster than they can drive them on.
Pulse Width
(2)
Period
DS41262D-page 139

Related parts for PIC16F689-I/ML