eFlexPWM - Freescale Semiconductor
eFlexPWM - Freescale Semiconductor
eFlexPWM - Freescale Semiconductor
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
June, 2010<br />
Getting Started with Digital Signal Controllers (DSCs)<br />
for Motor Control and Energy Conversion<br />
FTF-IND-F0580<br />
Pavel Grasblum, Ph.D.<br />
Application Engineer<br />
<strong>Freescale</strong>, the <strong>Freescale</strong> logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of <strong>Freescale</strong><br />
<strong>Semiconductor</strong>, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC<br />
Engine, SMARTMOS, TurboLink and VortiQa are trademarks of <strong>Freescale</strong> <strong>Semiconductor</strong>, Inc. All other product or service names are the property of their respective owners. © 2010<br />
<strong>Freescale</strong> <strong>Semiconductor</strong>, Inc.<br />
TM
►DSC Introduction<br />
• Roadmap Update<br />
• DSCs Overview<br />
►DSC Core Introduction<br />
►Key peripherals for Motor Control and Energy Conversion Applications<br />
• Detail Description<br />
• Differences among DSC Families<br />
►Peripherals Utilization Guidelines<br />
• ADC to PWM Synchronization<br />
• Low Cost Current Measurement<br />
• BLDC Motor Commutation<br />
►MC and SMPS Demos presented at FTF in Orlando<br />
<strong>Freescale</strong>, the <strong>Freescale</strong> logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of <strong>Freescale</strong><br />
<strong>Semiconductor</strong>, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC<br />
Engine, SMARTMOS, TurboLink and VortiQa are trademarks of <strong>Freescale</strong> <strong>Semiconductor</strong>, Inc. All other product or service names are the property of their respective owners. © 2010<br />
<strong>Freescale</strong> <strong>Semiconductor</strong>, Inc.<br />
2<br />
Agenda<br />
TM
• Designed for controller code<br />
• Compact code size<br />
• Easy to program<br />
• Inefficient signal processing<br />
<strong>Freescale</strong>, the <strong>Freescale</strong> logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of <strong>Freescale</strong><br />
<strong>Semiconductor</strong>, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC<br />
Engine, SMARTMOS, TurboLink and VortiQa are trademarks of <strong>Freescale</strong> <strong>Semiconductor</strong>, Inc. All other product or service names are the property of their respective owners. © 2010<br />
<strong>Freescale</strong> <strong>Semiconductor</strong>, Inc.<br />
What is a Digital Signal Controller?<br />
► Instructions optimized for controller code, DSP, matrix operations<br />
► Compact assembly and “C” compiled code size<br />
► Easy to program<br />
► Additional MIPS headroom and extended addressing space<br />
3<br />
• Designed for DSP processing<br />
• Designed for matrix operations<br />
• Complex programming<br />
• Less suitable for control<br />
TM
When is a Digital Signal Controller a Good Fit?<br />
► When the application is dominated by high-speed capture and analysis of analog<br />
input and feedback (e.g. PWM adjustment) to a closed loop system<br />
• DSC is similar to an MCU but with the performance to run complex algorithms for more<br />
responsive control and often, system cost reduction<br />
• DSC provides flexibility to be used in multiple systems or to adapt within a system to<br />
environmental changes (compared to fixed analog-based control)<br />
► Key features<br />
• Sufficient MIPs (32-60 MIPS) MCU/DSP performance for advanced algorithms<br />
• High speed/performance 600ns/12 bit ADC for fast dynamic response<br />
• High speed sophisticated (60 MHz- 96 Mhz) PWMs and timer modules to effectively<br />
increase PWM resolution<br />
• Quadrature decoders for direct interface to Hall effect sensors or optical encoders<br />
• Safety features (fault inputs, loss of clock…) to prevent catastrophic failures<br />
► Key applications<br />
• Motor control<br />
• Digital power conversion<br />
• Advanced lighting control<br />
<strong>Freescale</strong>, the <strong>Freescale</strong> logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of <strong>Freescale</strong><br />
<strong>Semiconductor</strong>, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC<br />
Engine, SMARTMOS, TurboLink and VortiQa are trademarks of <strong>Freescale</strong> <strong>Semiconductor</strong>, Inc. All other product or service names are the property of their respective owners. © 2010<br />
<strong>Freescale</strong> <strong>Semiconductor</strong>, Inc.<br />
4<br />
TM
Flash<br />
Size<br />
► 32 MIPS performance<br />
► 12K -16 K Bytes program FLASH<br />
► 4 K Bytes program/data RAM<br />
► Tunable internal relaxation oscillator<br />
► Software programmable phase locked loop<br />
► Up to 96 MHz peripherals – timers and PWMs<br />
► Up to 6-output PWM module with up to 4<br />
programmable fault inputs<br />
► Two 12-bit ADCs with up to 8 inputs, 1.125us<br />
conversion rate<br />
► Synchronization between PWM and ADC<br />
► Four 16-bit general purpose programmable timers<br />
► Computer operating properly timer<br />
► Serial ports: SCI, SPI, I 2 C<br />
► Up to 26 GPIOs – Versatile pin usage<br />
► Low power consumption – 59 mA max. and<br />
.026 mA min.<br />
► JTAG/EOnCE debug port<br />
► Industrial and automotive temperature range<br />
► Cost effective<br />
<strong>Freescale</strong>, the <strong>Freescale</strong> logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of <strong>Freescale</strong><br />
<strong>Semiconductor</strong>, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC<br />
Engine, SMARTMOS, TurboLink and VortiQa are trademarks of <strong>Freescale</strong> <strong>Semiconductor</strong>, Inc. All other product or service names are the property of their respective owners. © 2010<br />
<strong>Freescale</strong> <strong>Semiconductor</strong>, Inc.<br />
Cost-Effective 56F8000 Solutions (56F801x)<br />
12K - 16KB<br />
Program Flash<br />
4kB<br />
Program/<br />
Data RAM<br />
56800E Core<br />
32MHz<br />
JTAG/EOnCE<br />
56F8011/56F8013/56F8014<br />
System Integration Up to 26 GPIOs<br />
Module (SIM) 1 x SCI<br />
Interrupt Controller 1 x SPI<br />
PLL<br />
1x IIC<br />
Relaxation OSC 3-4ch 12bit ADC<br />
3-4ch 12bit ADC<br />
Voltage Regulator<br />
Synch<br />
COP<br />
4Ch 16bit Timer<br />
Power-On-Reset<br />
Power Supervisor<br />
6<br />
6-ch PWM Output<br />
Package: 32LQFP<br />
In Production<br />
TM
► 32 MHz/32 MIPS 56800E core<br />
► 3.0-3.6V operation<br />
► 32K-64 K Bytes program FLASH<br />
► 4K-8 K Bytes program/data RAM<br />
► Flash security<br />
► Tunable internal relaxation oscillator<br />
► Software programmable phase locked loop<br />
► Up to 96 MHz peripherals – timers and PWMs<br />
► 6 output PWM module with 4 programmable fault<br />
inputs with selectable PWM frequency for each PWM<br />
signal complementary pair<br />
► Two 12-bit ADCs with up to 16 inputs , 1.125us<br />
conversion rate<br />
► Up to two 12-bit digital to analog converters<br />
► Two analog comparators<br />
► Synchronization between PWM and ADC<br />
► 4 or 8 16-bit general purpose programmable timers<br />
► 1 or 3 programmable interval timers (PIT)<br />
► Computer operating properly timer<br />
► 2-queued serial communications interface<br />
► 2-queued serial peripheral interface<br />
► Optional MSCAN<br />
► I 2 C communications interface<br />
► Up to 53 GPIOs – Versatile pin usage<br />
► JTAG/EOnCE debug port<br />
► Industrial and automotive temperature range<br />
56F8000 Family Expansion (56F802x/56F803x)<br />
32KB - 64KB<br />
Program Flash<br />
4kB-8KB<br />
Program/<br />
Data RAM<br />
56800E Core<br />
32MHz<br />
JTAG/EOnCE<br />
<strong>Freescale</strong>, the <strong>Freescale</strong> logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of <strong>Freescale</strong><br />
<strong>Semiconductor</strong>, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC<br />
Engine, SMARTMOS, TurboLink and VortiQa are trademarks of <strong>Freescale</strong> <strong>Semiconductor</strong>, Inc. All other product or service names are the property of their respective owners. © 2010<br />
<strong>Freescale</strong> <strong>Semiconductor</strong>, Inc.<br />
56F8023/56F8025/56F8036/56F8037<br />
System Integration Up to 53 GPIOs<br />
Module (SIM) 2 x QSCI<br />
Interrupt Controller 2 x QSPI<br />
PLL<br />
1xIIC<br />
1x MSCAN<br />
Relaxation OSC<br />
3xPIT<br />
Crystal OSC 8ch 12bit ADC<br />
8ch 12bit ADC<br />
Voltage Regulator<br />
COP<br />
Power-On-Reset<br />
Synch<br />
8Ch 16bit Timer<br />
Power Supervisor<br />
2 x 12 bit DAC<br />
Package 32 LQFP, 44LQFP, 48LQFP, 64LQFP<br />
In Production<br />
7<br />
6-ch PWM Output<br />
2 x Comparators<br />
TM
► 32 MHz/32 MIPS 56800E core<br />
► 1.8-3.6V operation<br />
► 12K - 16K Bytes program FLASH with Flash security<br />
► 2K Bytes program/data RAM<br />
► Tunable internal relaxation oscillator and 32 KHz clock<br />
► Phase locked loop (PLL)<br />
► Up to 96 MHz peripherals – timers, PWM & Hi-SCI<br />
► 6 output PWM module with 4 programmable fault inputs<br />
with selectable PWM frequency for each PWM signal<br />
complementary pair<br />
► Two programmable gain amplifiers with x2, x4, x8, x16<br />
gains (clocked in order to cancel input offset)<br />
► Two 12-bit ADCs with up to 24 inputs , 2.5us per<br />
conversion<br />
► Programmable delay block provides precise control of<br />
ADC/PGA sample times relative to PWM reload cycles<br />
► Three high speed analog comparators<br />
► 2 multiple function programmable timers<br />
► Computer operating properly timer<br />
► One periodic interval timer (PIT)<br />
► 1 high speed serial communication interface (Hi-SCI)<br />
► 1 serial peripheral interface (SPI)<br />
► I 2 C communications interface<br />
► Up to 40 GPIOs – versatile pin usage<br />
► JTAG/EOnCE debug port<br />
► Industrial temperature range: -40C – 105C<br />
12-16KB<br />
Program<br />
Flash<br />
2KB<br />
Program/<br />
Data RAM<br />
56800E<br />
Core<br />
32MHz<br />
JTAG/EOnCE<br />
<strong>Freescale</strong>, the <strong>Freescale</strong> logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of <strong>Freescale</strong><br />
<strong>Semiconductor</strong>, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC<br />
Engine, SMARTMOS, TurboLink and VortiQa are trademarks of <strong>Freescale</strong> <strong>Semiconductor</strong>, Inc. All other product or service names are the property of their respective owners. © 2010<br />
<strong>Freescale</strong> <strong>Semiconductor</strong>, Inc.<br />
Ultra Low Cost: 56F800x<br />
56F8002, 56F8006<br />
System Integration Up to 40 GPIOs<br />
Module (SIM) 1 SCI<br />
Interrupt Controller 1 SPI<br />
PLL<br />
1 IIC<br />
2 x 16bit Timers<br />
Relaxation OSC<br />
Crystal OSC<br />
1 Period Int Timer<br />
Voltage Regulator<br />
Power-On-Reset<br />
Power Supervisor<br />
8<br />
COP<br />
3 x Analog<br />
Comparators<br />
2 x Programmable<br />
Gain Amplifiers<br />
12ch 12bit ADC<br />
12ch 12bit ADC<br />
Synch<br />
Programmable<br />
Delay Block<br />
6-ch PWM Output<br />
Package: 28SOIC, 32SDIP , 32LQFP, 48 LQFP<br />
In Production<br />
TM
<strong>Freescale</strong>, the <strong>Freescale</strong> logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of <strong>Freescale</strong><br />
<strong>Semiconductor</strong>, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC<br />
Engine, SMARTMOS, TurboLink and VortiQa are trademarks of <strong>Freescale</strong> <strong>Semiconductor</strong>, Inc. All other product or service names are the property of their respective owners. © 2010<br />
<strong>Freescale</strong> <strong>Semiconductor</strong>, Inc.<br />
56F8000 Series Feature Summary<br />
56F8002 56F8006 56F8011 56F8013 56F8014 56F8023 56F8025 56F8036 56F8027/37<br />
Performance 32MHz/MIPs 32MHz/MIPs 32MHz/MIPs 32MHz/MIPs 32MHz/MIPs 32MHz/MIPs 32MHz/MIPs 32MHz/MIPs 32MHz/MIPs<br />
Temperature Range (V) -40C~105C -40C~105C -40C~125C -40C~125C -40C~125C -40C~105C -40C~105C -40C~105C -40C~105C<br />
Voltage Range 1.8V - 3.6V 1.8V - 3.6V 3.0V - 3.6V 3.0V - 3.6V 3.0V - 3.6V 3.0V - 3.6V 3.0V - 3.6V 3.0V - 3.6V 3.0V - 3.6V<br />
Voltage Regulator On-Chip On-Chip On-Chip On-Chip On-Chip On-Chip On-Chip On-Chip On-Chip<br />
Program/Data Flash 12KB 16KB 12KB 16KB 16KB 32KB 32KB 64KB 32KB / 64KB<br />
Program/Data RAM 2KB 2KB 2KB 4KB 4KB 4KB 4KB 8KB 4KB /8KB<br />
Program Security Yes Yes Yes Yes Yes Yes Yes Yes Yes<br />
On Chip Relaxation Osc. Yes Yes Yes Yes Yes Yes Yes Yes Yes<br />
PLL Yes Yes Yes Yes Yes Yes Yes Yes Yes<br />
COP (Watchdog) Yes Yes Yes Yes Yes Yes Yes Yes Yes<br />
PWM (96 Mhz Clock) 1 x 6ch 1 x 6ch 1 x 6ch 1 x 6ch 1 x 5ch 1 x 6ch 1 x 6ch 1 x 6ch 1 x 6ch<br />
PWM Fault Inputs 4 4 4 4 3 4 4 4 4<br />
12-bit ADCs 2 x 8ch 2 x 12ch 2 x 3ch 2 x 3ch 2 x 4ch 2 x 3ch 2 x 4ch 2 x 5ch 2 x 8ch<br />
12-bit DACs 0 0 No No No 2 2 2 2 (Pinned out)<br />
Analog Comparator 3 3 No No No 2 2 2 2<br />
Prog Gain Amp 2 2 No No No No No No No<br />
16-bit Timers 3 3 4 4 4 4 4 4 8<br />
Prog. Interval Timers 1 (RTC) 1 (RTC) No No No 1 3 3 3<br />
GPIO (max) (+/-8mA) 23 40 26* 26* 26* 26* 35* 39* 53*<br />
IIC 1 1 1 1 1 1 - QIIC 1 - QIIC 1 - QIIC 1 - QIIC<br />
SCI (UART) / LIN Slave 1 - SCI 1 - SCI 1 - SCI 1 - SCI 1 - SCI 1 - QSCI 1 - QSCI 1 - QSCI 1 - QSCI<br />
SPI (Synchronous) 1 - SPI 1 - SPI 1 - SPI 1 - SPI 1 - SPI 1 - QSPI 1 - QSPI 1 - QSPI 1 - QSPI<br />
CAN No No No No No No No MSCAN MSCAN<br />
JTAG/EOnCE Yes Yes Yes Yes Yes Yes Yes Yes Yes<br />
Power Consumption IDD = 45.6mA;IDDA = 4.5mA IDD = 42mA; IDDA = 13.5mA IDD = 48mA; IDDA = 18.8mA IDD = 48mA; IDDA = 18.8mA<br />
Package 32LQFP 28SOIC 32LQFP 32LQFP 32LQFP 32LQFP 44LQFP 48LQFP 64LQFP<br />
(.8p) 32LQFP<br />
32SDIP<br />
48LQFP<br />
TM
Flash<br />
Size<br />
► 60 MHz/60 MIPS from 56800E core<br />
► 2.7-3.6V operation<br />
► 64K Bytes program FLASH<br />
► 8K Bytes program/data RAM<br />
► Flash security<br />
► 8Mhz/100Khz tunable internal relaxation oscillator<br />
► Software programmable phase locked loop<br />
► Up to 60 MHz peripherals – timers and PWMs<br />
• 8 output PWM module<br />
• 520ps PWM and PFM resolution<br />
► 2-12-bit ADCs with total 16 inputs<br />
• 600ns conversion rate<br />
• built-in PGA with 1x, 2x, 4x, gains<br />
► 1 12-bit digital to analog converter<br />
► 3 5-bit digital to analog converters<br />
► 3 analog comparators<br />
► 8 16-bit enhanced GP multifunction<br />
programmable timers<br />
► Cyclic redundancy check generator (CRC)<br />
► Computer operating properly timer<br />
► 2 high speed serial communications interface (SCI)<br />
► 1 queued serial peripheral interface (QSPI)<br />
► 1 MS-CAN bus<br />
► 2 I 2 C/SMbus communications interface<br />
► Up to 54 GPIOs<br />
► Inter module cross-bar<br />
► JTAG/EOnCE debug port<br />
► Industrial temperature range: -40°C to 105°C with<br />
60 Mhz<br />
<strong>Freescale</strong>, the <strong>Freescale</strong> logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of <strong>Freescale</strong><br />
<strong>Semiconductor</strong>, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC<br />
Engine, SMARTMOS, TurboLink and VortiQa are trademarks of <strong>Freescale</strong> <strong>Semiconductor</strong>, Inc. All other product or service names are the property of their respective owners. © 2010<br />
<strong>Freescale</strong> <strong>Semiconductor</strong>, Inc.<br />
MC56F824x/MC56F825x Features<br />
64KB<br />
Program Flash<br />
8kB<br />
Data RAM<br />
56800E Core<br />
60 Mhz<br />
JTAG/EOnCE<br />
System Integration<br />
Module (SIM)<br />
Interrupt Controller<br />
8ch 12-bit ADCA<br />
Crystal Oscillator<br />
44LQFP, 48LQFP 64 LQFP, Samples Available<br />
11<br />
PLL<br />
Voltage Regulator<br />
COP<br />
POR<br />
LVI<br />
Prog Gain Amp Ax1,2,4<br />
8ch 12-bit ADCB Prog Gain Amp Bx1,2,4<br />
CRC<br />
Relaxation OSC<br />
8-ch High Res PWM<br />
1ch 12-bit DAC<br />
3 5-bit DAC<br />
3 Analog Comparators<br />
2 x High Speed QSCIs<br />
1 x QSPI<br />
2x IIC/SMbus<br />
1 x MSCAN<br />
8Ch 16-bit Timer<br />
Inter-module Cross Bar<br />
►Breakthrough Features:<br />
• New generation high speed PWM module<br />
� 520 ps duty cycle and frequency resolution<br />
� Flexible edge placement<br />
• High speed ADC with programmable gain amplifiers<br />
� 600ns conversion rate<br />
� Supports multi trigger source in one ADC scan<br />
• Inter-module cross bar<br />
� Programmable inter module connection<br />
TM
► Instruction Fetch:<br />
PAB - 21 bits<br />
PDB - 16 bits<br />
► 1st Data Access:<br />
XAB1 - 24 bits<br />
CDBR - 32 bits<br />
CDBW - 32 bits<br />
► 2nd Data Access:<br />
XAB2 - 24 bits<br />
XDB2 - 16 bits<br />
► Operations Performed:<br />
1st - PAB / PDB<br />
2nd - XAB1 /<br />
DBR-<br />
CDBW<br />
3rd - XAB2 /<br />
XDB2<br />
PC<br />
LA<br />
LA2<br />
HWS<br />
FIRA<br />
FISR<br />
SR<br />
OMR<br />
LC<br />
LC2<br />
PROGRAM<br />
CONTROLLER<br />
BIT<br />
MANIPULATION<br />
UNIT<br />
EOnCE/JTAG<br />
TAP<br />
INSTRUCTION<br />
DECODER<br />
INTERRUPT<br />
UNIT<br />
LOOPING<br />
UNIT<br />
<strong>Freescale</strong>, the <strong>Freescale</strong> logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of <strong>Freescale</strong><br />
<strong>Semiconductor</strong>, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC<br />
Engine, SMARTMOS, TurboLink and VortiQa are trademarks of <strong>Freescale</strong> <strong>Semiconductor</strong>, Inc. All other product or service names are the property of their respective owners. © 2010<br />
<strong>Freescale</strong> <strong>Semiconductor</strong>, Inc.<br />
A2<br />
B2<br />
C2<br />
D2<br />
A1<br />
B1<br />
C1<br />
D1<br />
Y0<br />
Y1<br />
X0<br />
MAC<br />
and ALU<br />
DSP56800E Core Architecture<br />
AGU ALU1 ALU2<br />
M 01<br />
N 3<br />
A0<br />
B0<br />
C0<br />
D0<br />
R0<br />
R1<br />
R2<br />
R3<br />
R4<br />
R5<br />
N<br />
SP<br />
Multi-bit<br />
Shifter<br />
DATA<br />
ALU<br />
12<br />
XAB1<br />
XAB2<br />
PAB<br />
PDB<br />
CDBW<br />
CDBR<br />
XDB2<br />
Program<br />
Memory<br />
Data<br />
Memory<br />
IP-Bus<br />
Interface<br />
External<br />
Bus<br />
Interface<br />
TM
N −1<br />
<strong>Freescale</strong>, the <strong>Freescale</strong> logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of <strong>Freescale</strong><br />
<strong>Semiconductor</strong>, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC<br />
Engine, SMARTMOS, TurboLink and VortiQa are trademarks of <strong>Freescale</strong> <strong>Semiconductor</strong>, Inc. All other product or service names are the property of their respective owners. © 2010<br />
<strong>Freescale</strong> <strong>Semiconductor</strong>, Inc.<br />
Mapping the Architecture to DSP Algorithms<br />
yn ()= ∑ ci () xn−i i = 0<br />
OPCODE AND OPERANDS<br />
( ) ; Typical Digital Filter Formula<br />
Source 1 Destination 1<br />
Parallel Move<br />
PRIMARY READ<br />
(Uses XAB1 and CGDB)<br />
Source 2 Destination 2<br />
MACR X0,Y0,A X:(R0)+N,Y0 X:(R3)-,X0<br />
SECONDARY READ<br />
(Uses XAB2 and XDB2)<br />
13<br />
TM
PC<br />
LA<br />
LA2<br />
HWS<br />
FIRA<br />
FISR<br />
SR<br />
OMR<br />
LC<br />
LC2<br />
PROGRAM<br />
CONTROLLER<br />
BIT<br />
MANIPULATION<br />
UNIT<br />
EOnCE / JTAG<br />
TAP<br />
INSTRUCTION<br />
DECODER<br />
INTERRUPT<br />
UNIT<br />
LOOPING<br />
UNIT<br />
A2<br />
B2<br />
C2<br />
D2<br />
A1<br />
B1<br />
C1<br />
D1<br />
Y0<br />
Y1<br />
X0<br />
MAC<br />
and ALU<br />
<strong>Freescale</strong>, the <strong>Freescale</strong> logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of <strong>Freescale</strong><br />
<strong>Semiconductor</strong>, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC<br />
Engine, SMARTMOS, TurboLink and VortiQa are trademarks of <strong>Freescale</strong> <strong>Semiconductor</strong>, Inc. All other product or service names are the property of their respective owners. © 2010<br />
<strong>Freescale</strong> <strong>Semiconductor</strong>, Inc.<br />
Mapping the Architecture to DSP Algorithms<br />
AGU ALU1 ALU2<br />
M 01<br />
N 3<br />
A0<br />
B0<br />
C0<br />
D0<br />
R0<br />
R1<br />
R2<br />
R3<br />
R4<br />
R5<br />
N<br />
SP<br />
DATA<br />
ALU<br />
Multi-bit<br />
Shifter<br />
XAB1<br />
XAB2<br />
PAB<br />
PDB<br />
CDBW<br />
CDBR<br />
XDB2<br />
Program<br />
Memory<br />
Data<br />
Memory<br />
IP-Bus<br />
Interface<br />
External<br />
Bus<br />
Interface<br />
14<br />
Operations Performed:<br />
• Multiply-Accumulate<br />
• 3 Memory Accesses<br />
• 2 Address Additions<br />
Instruction Fetch:<br />
PAB - 21 bits<br />
PDB - 16 bits<br />
1st Data Access:<br />
XAB1 - 24 bits<br />
CDBR - 32 bits<br />
2nd Data Access:<br />
XAB2 - 24 bits<br />
XDB2 - 16 bits<br />
TM
Pulse Width Modulation Modules<br />
<strong>Freescale</strong>, the <strong>Freescale</strong> logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of <strong>Freescale</strong><br />
<strong>Semiconductor</strong>, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC<br />
Engine, SMARTMOS, TurboLink and VortiQa are trademarks of <strong>Freescale</strong> <strong>Semiconductor</strong>, Inc. All other product or service names are the property of their respective owners. © 2010<br />
<strong>Freescale</strong> <strong>Semiconductor</strong>, Inc.<br />
15<br />
TM
Pulse Width Modulator (PWM) – MC56F800x, MC56F80xx<br />
► Clock PWM up to 96Mhz<br />
► Three complementary signal pairs or six independent<br />
signals or combinations<br />
► Complementary channel operation<br />
• Separate deadtime insertions for rising and falling edge<br />
• Separate top and bottom polarity control<br />
► Edge-aligned or center-aligned signals<br />
► 15-bits of resolution<br />
► Half-cycle reload capability<br />
► Asymmetric mode of operation (for phase shifting)<br />
► Programmable integral reload rates (half to 16)<br />
► Individually software-controlled PWM outputs<br />
► ADC synchronization<br />
► Up to 4 programmable fault inputs<br />
► PWM compare output polarity control<br />
► 8 or 4 mA current source/sink<br />
► Output polarity control<br />
► Write protected registers<br />
► Double-buffered PWM registers<br />
► Wait/debug mode operation<br />
► Selectable PWM supply source for each<br />
complementary PWM signal pair (F8000 family only)<br />
• PWM generator<br />
• External GPIO<br />
• Internal timer channel<br />
• ADC conversion result, taking into account values setting ADC<br />
high and low limit register<br />
<strong>Freescale</strong>, the <strong>Freescale</strong> logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of <strong>Freescale</strong><br />
<strong>Semiconductor</strong>, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC<br />
Engine, SMARTMOS, TurboLink and VortiQa are trademarks of <strong>Freescale</strong> <strong>Semiconductor</strong>, Inc. All other product or service names are the property of their respective owners. © 2010<br />
<strong>Freescale</strong> <strong>Semiconductor</strong>, Inc.<br />
16<br />
TM
Enhanced Flex Pulse Width Modulator (<strong>eFlexPWM</strong>) – 56F824x/5x<br />
► Four independent sub-modules with own time base, two PWM<br />
outputs + 1 auxiliary PWM input/output<br />
► 16 bits resolution for center, edge aligned, and asymmetrical<br />
PWMs<br />
► Fractional delay for enhanced resolution of the PWM period<br />
and edge placement<br />
► Complementary pairs or independent operation<br />
► Independent control of both edges for each PWM output<br />
► Synchronization to external hardware or other PWM submodules<br />
► Double buffered PWM registers<br />
► Integral reload rates from 1 to 16 include half cycle reload<br />
► Half cycle reload capability<br />
► Multiple output trigger events per PWM cycle<br />
► Support for double switching PWM outputs<br />
► Fault inputs can be assigned to control multiple PWM outputs<br />
► Programmable filters for fault inputs<br />
► Independently programmable PWM output polarity<br />
► Independent top and bottom deadtime insertion<br />
► Individual software control for each PWM output<br />
► Software control, and swap features via FORCE_OUT event<br />
► Compare/capture functions for unused PWM channels<br />
► Enhanced dual edge capture functionality<br />
<strong>Freescale</strong>, the <strong>Freescale</strong> logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of <strong>Freescale</strong><br />
<strong>Semiconductor</strong>, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC<br />
Engine, SMARTMOS, TurboLink and VortiQa are trademarks of <strong>Freescale</strong> <strong>Semiconductor</strong>, Inc. All other product or service names are the property of their respective owners. © 2010<br />
<strong>Freescale</strong> <strong>Semiconductor</strong>, Inc.<br />
17<br />
TM
<strong>Freescale</strong>, the <strong>Freescale</strong> logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of <strong>Freescale</strong><br />
<strong>Semiconductor</strong>, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC<br />
Engine, SMARTMOS, TurboLink and VortiQa are trademarks of <strong>Freescale</strong> <strong>Semiconductor</strong>, Inc. All other product or service names are the property of their respective owners. © 2010<br />
<strong>Freescale</strong> <strong>Semiconductor</strong>, Inc.<br />
<strong>eFlexPWM</strong> - Sub-Module Detail<br />
18<br />
TM
<strong>Freescale</strong>, the <strong>Freescale</strong> logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of <strong>Freescale</strong><br />
<strong>Semiconductor</strong>, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC<br />
Engine, SMARTMOS, TurboLink and VortiQa are trademarks of <strong>Freescale</strong> <strong>Semiconductor</strong>, Inc. All other product or service names are the property of their respective owners. © 2010<br />
<strong>Freescale</strong> <strong>Semiconductor</strong>, Inc.<br />
<strong>eFlexPWM</strong> – PWM Generation<br />
19<br />
TM
VAL1 ($0100)<br />
VAL5<br />
INIT ($FF00)<br />
($0000)<br />
VAL3<br />
VAL2, VAL4 = $FF00<br />
CH0 b<br />
CH0 a<br />
<strong>Freescale</strong>, the <strong>Freescale</strong> logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of <strong>Freescale</strong><br />
<strong>Semiconductor</strong>, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC<br />
Engine, SMARTMOS, TurboLink and VortiQa are trademarks of <strong>Freescale</strong> <strong>Semiconductor</strong>, Inc. All other product or service names are the property of their respective owners. © 2010<br />
<strong>Freescale</strong> <strong>Semiconductor</strong>, Inc.<br />
<strong>eFlexPWM</strong> – Edge Aligned PWM Generation<br />
► All PWM-on values are set to the init value, and never changed again. Positive PWM-off values<br />
generate pulse widths above 50% duty cycle . Negative PWM-off values generate pulse widths<br />
below 50% duty cycle . This works well for bipolar waveform generation.<br />
20<br />
TM
VAL1 ($0100)<br />
VAL3<br />
VAL5<br />
($0000)<br />
VAL4<br />
VAL2<br />
INIT ($FF00)<br />
Ch0 a<br />
Ch0 b<br />
<strong>eFlexPWM</strong> – Center Aligned PWM Generation<br />
► When the Init value is the signed negative of the Modulus value, the PWM module works in signed<br />
mode. Center-aligned operation is achieved when the turn-on and turn-off values are the same<br />
number, but just different signs.<br />
<strong>Freescale</strong>, the <strong>Freescale</strong> logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of <strong>Freescale</strong><br />
<strong>Semiconductor</strong>, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC<br />
Engine, SMARTMOS, TurboLink and VortiQa are trademarks of <strong>Freescale</strong> <strong>Semiconductor</strong>, Inc. All other product or service names are the property of their respective owners. © 2010<br />
<strong>Freescale</strong> <strong>Semiconductor</strong>, Inc.<br />
21<br />
TM
VAL1 ($0100)<br />
INIT ($FF00)<br />
VAL5<br />
VAL3<br />
($0000)<br />
VAL4<br />
VAL2<br />
CH0 a<br />
CH0 b<br />
► In this example, both PWMs have the same<br />
duty-cycle. However, the edges are shifted<br />
relative to each other by simply biasing the<br />
compare values of one waveform relative to<br />
the other.<br />
<strong>Freescale</strong>, the <strong>Freescale</strong> logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of <strong>Freescale</strong><br />
<strong>Semiconductor</strong>, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC<br />
Engine, SMARTMOS, TurboLink and VortiQa are trademarks of <strong>Freescale</strong> <strong>Semiconductor</strong>, Inc. All other product or service names are the property of their respective owners. © 2010<br />
<strong>Freescale</strong> <strong>Semiconductor</strong>, Inc.<br />
<strong>eFlexPWM</strong> – Shifted PWM Generation<br />
► Alternatively, if the waveforms are<br />
generated by different sub-modules, the<br />
waveforms can be shifted by simply<br />
changing the Init value of one sub-module<br />
relative to the other.<br />
22<br />
TM
<strong>Freescale</strong>, the <strong>Freescale</strong> logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of <strong>Freescale</strong><br />
<strong>Semiconductor</strong>, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC<br />
Engine, SMARTMOS, TurboLink and VortiQa are trademarks of <strong>Freescale</strong> <strong>Semiconductor</strong>, Inc. All other product or service names are the property of their respective owners. © 2010<br />
<strong>Freescale</strong> <strong>Semiconductor</strong>, Inc.<br />
<strong>eFlexPWM</strong> – Force Output Logic<br />
23<br />
TM
<strong>eFlexPWM</strong> – Complementary and Deadtime Logic<br />
<strong>Freescale</strong>, the <strong>Freescale</strong> logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of <strong>Freescale</strong><br />
<strong>Semiconductor</strong>, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC<br />
Engine, SMARTMOS, TurboLink and VortiQa are trademarks of <strong>Freescale</strong> <strong>Semiconductor</strong>, Inc. All other product or service names are the property of their respective owners. © 2010<br />
<strong>Freescale</strong> <strong>Semiconductor</strong>, Inc.<br />
24<br />
TM
<strong>eFlexPWM</strong> – Fractional Delay and Output Logic<br />
<strong>Freescale</strong>, the <strong>Freescale</strong> logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of <strong>Freescale</strong><br />
<strong>Semiconductor</strong>, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC<br />
Engine, SMARTMOS, TurboLink and VortiQa are trademarks of <strong>Freescale</strong> <strong>Semiconductor</strong>, Inc. All other product or service names are the property of their respective owners. © 2010<br />
<strong>Freescale</strong> <strong>Semiconductor</strong>, Inc.<br />
25<br />
TM
<strong>eFlexPWM</strong> – High Resolution Duty Cycle Generation<br />
►PWM resolution is given by input clock of PWM module<br />
►Example:<br />
• Let’s generate PWM signal with MODULO=4, DUTY_CYCLE=2 (50 %)<br />
0011<br />
0000<br />
t PWM<br />
t clk<br />
<strong>Freescale</strong>, the <strong>Freescale</strong> logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of <strong>Freescale</strong><br />
<strong>Semiconductor</strong>, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC<br />
Engine, SMARTMOS, TurboLink and VortiQa are trademarks of <strong>Freescale</strong> <strong>Semiconductor</strong>, Inc. All other product or service names are the property of their respective owners. © 2010<br />
<strong>Freescale</strong> <strong>Semiconductor</strong>, Inc.<br />
26<br />
TM
<strong>eFlexPWM</strong> – High Resolution Duty Cycle Generation<br />
►PWM resolution is given by input clock of PWM module<br />
►The PWM resolution can be enhanced by analog delay circuit, which can<br />
place edge between two edges, derived from input clock<br />
►Example:<br />
• Consider 2-bit analog delay block<br />
• Let’s generate PWM signal with MODULO=4:0, DUTY_CYCLE=2:3 (68.75 %)<br />
0011:00<br />
0000:00<br />
t PWM<br />
t clk<br />
<strong>Freescale</strong>, the <strong>Freescale</strong> logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of <strong>Freescale</strong><br />
<strong>Semiconductor</strong>, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC<br />
Engine, SMARTMOS, TurboLink and VortiQa are trademarks of <strong>Freescale</strong> <strong>Semiconductor</strong>, Inc. All other product or service names are the property of their respective owners. © 2010<br />
<strong>Freescale</strong> <strong>Semiconductor</strong>, Inc.<br />
27<br />
TM
<strong>eFlexPWM</strong> – High Resolution Duty Cycle Generation<br />
►At high resolution duty cycle generation<br />
• The leading edge is usually aligned with digital clock<br />
• The falling edge is generated by delay block<br />
• The analog delay is constant every PWM period<br />
0011:00<br />
0010:11<br />
0000:00<br />
t clk<br />
t timer<br />
t PWM<br />
0000:00<br />
PWM output using delay block<br />
DUTY_CYCLE = 0010:11<br />
0010:11<br />
0010:11<br />
0000:00 0000:00<br />
PWM output w/t delay block<br />
DUTY_CYCLE = 0010<br />
<strong>Freescale</strong>, the <strong>Freescale</strong> logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of <strong>Freescale</strong><br />
<strong>Semiconductor</strong>, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC<br />
Engine, SMARTMOS, TurboLink and VortiQa are trademarks of <strong>Freescale</strong> <strong>Semiconductor</strong>, Inc. All other product or service names are the property of their respective owners. © 2010<br />
<strong>Freescale</strong> <strong>Semiconductor</strong>, Inc.<br />
28<br />
Timer clock<br />
0010:11<br />
TM
►Example:<br />
0011<br />
0000<br />
<strong>eFlexPWM</strong> – High Resolution Frequency Generation<br />
• Consider 2-bit analog delay block<br />
• Let’s generate PWM signal with MODULO=4:2, DUTY_CYCLE=2:1 (50 %)<br />
t PWM<br />
t clk<br />
<strong>Freescale</strong>, the <strong>Freescale</strong> logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of <strong>Freescale</strong><br />
<strong>Semiconductor</strong>, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC<br />
Engine, SMARTMOS, TurboLink and VortiQa are trademarks of <strong>Freescale</strong> <strong>Semiconductor</strong>, Inc. All other product or service names are the property of their respective owners. © 2010<br />
<strong>Freescale</strong> <strong>Semiconductor</strong>, Inc.<br />
29<br />
TM
►Example:<br />
0011:00<br />
0000:00<br />
<strong>eFlexPWM</strong> – High Resolution Frequency Generation<br />
• Consider 2-bit analog delay block<br />
• Let’s generate PWM signal with MODULO=4:2, DUTY_CYCLE=2:1 (50 %)<br />
t PWM<br />
t clk<br />
<strong>Freescale</strong>, the <strong>Freescale</strong> logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of <strong>Freescale</strong><br />
<strong>Semiconductor</strong>, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC<br />
Engine, SMARTMOS, TurboLink and VortiQa are trademarks of <strong>Freescale</strong> <strong>Semiconductor</strong>, Inc. All other product or service names are the property of their respective owners. © 2010<br />
<strong>Freescale</strong> <strong>Semiconductor</strong>, Inc.<br />
30<br />
TM
<strong>eFlexPWM</strong> – High Resolution Frequency Generation<br />
►At high resolution frequency generation<br />
• Both edges are generated by delay block<br />
0011:00<br />
0010:01<br />
0010:00<br />
0001:00<br />
0000:10<br />
0000:00<br />
t clk<br />
• The analog delay is changing edge by edge every PWM period<br />
• The analog delay must be calculated every edge or requires some hardware<br />
support<br />
t timer<br />
t PWM<br />
0000:00 0010:01 0000:10<br />
0010:11<br />
0000:00 + 1clk 0010:01<br />
PWM output using delay block<br />
period = 0100:10<br />
PWM output w/t delay block<br />
period = 0100<br />
<strong>Freescale</strong>, the <strong>Freescale</strong> logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of <strong>Freescale</strong><br />
<strong>Semiconductor</strong>, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC<br />
Engine, SMARTMOS, TurboLink and VortiQa are trademarks of <strong>Freescale</strong> <strong>Semiconductor</strong>, Inc. All other product or service names are the property of their respective owners. © 2010<br />
<strong>Freescale</strong> <strong>Semiconductor</strong>, Inc.<br />
31<br />
Timer clock<br />
TM
► Need to calculate the<br />
next edge position for<br />
rising and falling<br />
edges within very<br />
short period<br />
► Software not fast<br />
enough, so need<br />
hardware adder<br />
► Diagram shows 21 bit<br />
adder to control both<br />
edges automatically<br />
setting new<br />
comparator values<br />
after each edge has<br />
been triggered<br />
<strong>eFlexPWM</strong> – HR Frequency Generation HW Support<br />
Ideal timing<br />
16 bits<br />
at IP Bus<br />
timing<br />
resolution<br />
5 bits<br />
NanoEdge<br />
timing<br />
resolution<br />
PWM<br />
Period N<br />
16 bit + 5 bit<br />
adder<br />
<strong>Freescale</strong>, the <strong>Freescale</strong> logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of <strong>Freescale</strong><br />
<strong>Semiconductor</strong>, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC<br />
Engine, SMARTMOS, TurboLink and VortiQa are trademarks of <strong>Freescale</strong> <strong>Semiconductor</strong>, Inc. All other product or service names are the property of their respective owners. © 2010<br />
<strong>Freescale</strong> <strong>Semiconductor</strong>, Inc.<br />
PWM Period N-1<br />
32<br />
16 bits<br />
at IP Bus<br />
timing<br />
resolution<br />
5 bits<br />
NanoEdge<br />
timing<br />
resolution<br />
5 bits from previous NEP calculation<br />
Actual timing Timer<br />
16 bits<br />
at IP Bus<br />
timing<br />
resolution<br />
5 bits<br />
NanoEdge<br />
timing<br />
resolution<br />
PWM<br />
Period N<br />
• PWM reload times are restricted to 16-bit IP bus timing<br />
(truncation of 21 bit value). Any residual left over from<br />
PWM period N-1 needs to be added back to period N.<br />
TM
<strong>eFlexPWM</strong> – HR Frequency Generation from User Perspective<br />
►The new edge calculation is seem less from user perspective<br />
►The user sets required 21-bit (16+5 bit) values into corresponding value<br />
registers only<br />
►The 5-bit delay block corresponds to 1.92 GHz input clock (for 60MHz<br />
PWM module input clock)<br />
16-bit digital value<br />
PWM Value Register<br />
NanoEdge TM placement not used. 16-bit value only.<br />
16-bit digital value<br />
5-bit nanoedge<br />
value<br />
PWM Value Register PWM Fractional Value Register<br />
NanoEdge TM placement enabled. 21-bit (32-bit) value.<br />
<strong>Freescale</strong>, the <strong>Freescale</strong> logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of <strong>Freescale</strong><br />
<strong>Semiconductor</strong>, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC<br />
Engine, SMARTMOS, TurboLink and VortiQa are trademarks of <strong>Freescale</strong> <strong>Semiconductor</strong>, Inc. All other product or service names are the property of their respective owners. © 2010<br />
<strong>Freescale</strong> <strong>Semiconductor</strong>, Inc.<br />
33<br />
TM
<strong>eFlexPWM</strong> – HR Frequency Generation from User Perspective<br />
►Example of high resolution calculation<br />
• For high frequency the digital value is usually less than 11 bits. For example,<br />
200 kHz edge-aligned PWM has resolution less than 9 bits<br />
• Therefore we can keep calculation in 16 bits<br />
• Result of calculation is moved right by 5 bits and written into 32-bit register<br />
11-bit digital value<br />
Internal User Representation<br />
5-bit nanoedge<br />
value<br />
11-bit digital value<br />
5-bit nanoedge<br />
value<br />
PWM Value Register PWM Fractional Value Register<br />
NanoEdge TM placement enabled. 21-bit (32-bit) value.<br />
<strong>Freescale</strong>, the <strong>Freescale</strong> logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of <strong>Freescale</strong><br />
<strong>Semiconductor</strong>, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC<br />
Engine, SMARTMOS, TurboLink and VortiQa are trademarks of <strong>Freescale</strong> <strong>Semiconductor</strong>, Inc. All other product or service names are the property of their respective owners. © 2010<br />
<strong>Freescale</strong> <strong>Semiconductor</strong>, Inc.<br />
34<br />
TM
Analog to Digital Converters<br />
<strong>Freescale</strong>, the <strong>Freescale</strong> logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of <strong>Freescale</strong><br />
<strong>Semiconductor</strong>, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC<br />
Engine, SMARTMOS, TurboLink and VortiQa are trademarks of <strong>Freescale</strong> <strong>Semiconductor</strong>, Inc. All other product or service names are the property of their respective owners. © 2010<br />
<strong>Freescale</strong> <strong>Semiconductor</strong>, Inc.<br />
35<br />
TM
► Two ADC modules allowing<br />
parallel conversion<br />
► Input voltage range from VSSA to VDDA<br />
► Up to 28 analog inputs<br />
► Output in 12-, 10- or 8-bit<br />
right-justified format<br />
► Single or continuous conversion (automatic<br />
return to idle after single conversion)<br />
► 2.5 μs conversion time<br />
► Configurable sample time and conversion<br />
speed/power<br />
► Conversion complete flag and interrupt<br />
► Input clock selectable from up to<br />
four sources<br />
► Operation in wait or stop modes for lower<br />
noise operation<br />
► Asynchronous clock source for lower noise<br />
operation<br />
► Hardware and software triggering<br />
► Temperature sensors that are routed<br />
to ANA26 and ANB26<br />
► Support up to four samples per conversion<br />
<strong>Freescale</strong>, the <strong>Freescale</strong> logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of <strong>Freescale</strong><br />
<strong>Semiconductor</strong>, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC<br />
Engine, SMARTMOS, TurboLink and VortiQa are trademarks of <strong>Freescale</strong> <strong>Semiconductor</strong>, Inc. All other product or service names are the property of their respective owners. © 2010<br />
<strong>Freescale</strong> <strong>Semiconductor</strong>, Inc.<br />
A/D Converter – MC56F800x<br />
36<br />
TM
Programmable Gain Amplifier (PGA) – MC56F800x<br />
► Sampled PGA architecture<br />
► Common mode noise and offset cancelation<br />
► Synchronized with PWM operation<br />
► 0.14 MSPS maximum<br />
► Sampling time can be precisely controlled<br />
(to less than 0.1 μs)<br />
► Programmable gains (1×, 2×, 4×, 8×, 16×,<br />
and 32×)<br />
► Selectable tradeoff for slower/low power<br />
versus faster/more power<br />
► Rail-to-rail input voltage range<br />
► Single-ended output routed directly to on-chip<br />
ADCs ANA15 and ANB15<br />
► Software and hardware triggers are available<br />
► Includes additional calibration features:<br />
• Offset calibration eliminates any errors in the<br />
internal reference used to generate the<br />
VDDA/2 output center point<br />
• Gain calibration can be used to verify the<br />
gain of the overall datapath<br />
• Both features require software correction of<br />
the ADC result<br />
<strong>Freescale</strong>, the <strong>Freescale</strong> logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of <strong>Freescale</strong><br />
<strong>Semiconductor</strong>, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC<br />
Engine, SMARTMOS, TurboLink and VortiQa are trademarks of <strong>Freescale</strong> <strong>Semiconductor</strong>, Inc. All other product or service names are the property of their respective owners. © 2010<br />
<strong>Freescale</strong> <strong>Semiconductor</strong>, Inc.<br />
37<br />
TM
► 12-bit resolution<br />
► Maximum ADC clock frequency is 5.33 MHz<br />
► Sampling rate up to 1.6 million samples per second<br />
► Sequential: First 1.6μs subsequent 1.125μs<br />
► Simultaneous: 8 conversions in 4.97μs<br />
► Internal or external Vref<br />
► ADC can be synchronized to a PWM via the<br />
SYNC signal<br />
► High and low limits can control PWM outputs<br />
► Simultaneous or sequential sampling<br />
► Internal multiplexer to select two of eight inputs<br />
► Ability to sequentially scan and store up to eight<br />
measurements<br />
► Ability to simultaneously sample and hold<br />
two inputs<br />
► Optional interrupts at the end of a scan, if an<br />
out-of-range limit is exceeded, (high or low) or<br />
at zero crossing<br />
► Optional sample correction by subtracting a<br />
pre-programmed offset value<br />
► Signed or unsigned result<br />
► Single-ended or differential inputs for all input pins<br />
with support for an arbitrary mix of input types<br />
► Auto-standby mode to reduce power consumption<br />
► Power savings modes allow automatic<br />
shutdown/startup of all or part of ADC<br />
<strong>Freescale</strong>, the <strong>Freescale</strong> logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of <strong>Freescale</strong><br />
<strong>Semiconductor</strong>, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC<br />
Engine, SMARTMOS, TurboLink and VortiQa are trademarks of <strong>Freescale</strong> <strong>Semiconductor</strong>, Inc. All other product or service names are the property of their respective owners. © 2010<br />
<strong>Freescale</strong> <strong>Semiconductor</strong>, Inc.<br />
A/D Converter – MC56F801x<br />
38<br />
TM
<strong>Freescale</strong>, the <strong>Freescale</strong> logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of <strong>Freescale</strong><br />
<strong>Semiconductor</strong>, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC<br />
Engine, SMARTMOS, TurboLink and VortiQa are trademarks of <strong>Freescale</strong> <strong>Semiconductor</strong>, Inc. All other product or service names are the property of their respective owners. © 2010<br />
<strong>Freescale</strong> <strong>Semiconductor</strong>, Inc.<br />
A/D Converter – MC56F801x<br />
39<br />
TM
►Differences from 56F801x devices:<br />
• 16 sample and result registers<br />
<strong>Freescale</strong>, the <strong>Freescale</strong> logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of <strong>Freescale</strong><br />
<strong>Semiconductor</strong>, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC<br />
Engine, SMARTMOS, TurboLink and VortiQa are trademarks of <strong>Freescale</strong> <strong>Semiconductor</strong>, Inc. All other product or service names are the property of their respective owners. © 2010<br />
<strong>Freescale</strong> <strong>Semiconductor</strong>, Inc.<br />
A/D Converter – MC56F802x/3x<br />
• First 8 samples support high/low limits, zero-crossing and offset features only<br />
40<br />
TM
► Differences from 56F802x/3x devices:<br />
• ADC input clock 10 MHz (conversion<br />
time 850/600 ns)<br />
• Integrated PGA with gain 1x, 2x, 4x<br />
• Support multi-trigger operation<br />
AN0<br />
AN1<br />
…<br />
ANx<br />
Vrefl<br />
MUX<br />
Gain Setting<br />
X1, x2, x4<br />
PGA<br />
<strong>Freescale</strong>, the <strong>Freescale</strong> logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of <strong>Freescale</strong><br />
<strong>Semiconductor</strong>, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC<br />
Engine, SMARTMOS, TurboLink and VortiQa are trademarks of <strong>Freescale</strong> <strong>Semiconductor</strong>, Inc. All other product or service names are the property of their respective owners. © 2010<br />
<strong>Freescale</strong> <strong>Semiconductor</strong>, Inc.<br />
V+<br />
V-<br />
12Bit<br />
ADC<br />
RESULT MUX<br />
A/D Converter – MC56F824x/5x<br />
8x<br />
8x<br />
Channel Select<br />
Single Ended or Differential<br />
HIGH<br />
LIMIT<br />
LOW<br />
LIMIT<br />
41<br />
><br />
<<br />
Zero Crossing Logic<br />
ADC<br />
RESULT<br />
ADC<br />
OFFSET<br />
Above<br />
Below<br />
16x<br />
8x<br />
IRQ Logic<br />
IRQ<br />
TM
Analog Comparators<br />
<strong>Freescale</strong>, the <strong>Freescale</strong> logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of <strong>Freescale</strong><br />
<strong>Semiconductor</strong>, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC<br />
Engine, SMARTMOS, TurboLink and VortiQa are trademarks of <strong>Freescale</strong> <strong>Semiconductor</strong>, Inc. All other product or service names are the property of their respective owners. © 2010<br />
<strong>Freescale</strong> <strong>Semiconductor</strong>, Inc.<br />
42<br />
TM
CIN_A0<br />
CIN_A1<br />
CIN_A2<br />
DAC_A<br />
Export to<br />
CMP_B<br />
Import From<br />
CMP_B<br />
Export<br />
Source Select<br />
PSEL [0,2]<br />
ESEL [0,1] NSEL [0,2]<br />
M<br />
U<br />
X<br />
M<br />
U<br />
X<br />
Negative input<br />
Source Select<br />
<strong>Freescale</strong>, the <strong>Freescale</strong> logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of <strong>Freescale</strong><br />
<strong>Semiconductor</strong>, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC<br />
Engine, SMARTMOS, TurboLink and VortiQa are trademarks of <strong>Freescale</strong> <strong>Semiconductor</strong>, Inc. All other product or service names are the property of their respective owners. © 2010<br />
<strong>Freescale</strong> <strong>Semiconductor</strong>, Inc.<br />
M<br />
U<br />
X<br />
Analog Comparator – MC56F802x/3x<br />
Power Down<br />
+<br />
-<br />
PDN<br />
INV<br />
CMP_A 0<br />
1<br />
43<br />
Programmable<br />
Glitch Filter<br />
Falling Edge<br />
Interrupt Request<br />
Rising Edge<br />
Interrupt Request<br />
COUT<br />
To Timer A1<br />
To PWM<br />
To GPIO<br />
To PWM Fault 1<br />
TM
<strong>Freescale</strong>, the <strong>Freescale</strong> logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of <strong>Freescale</strong><br />
<strong>Semiconductor</strong>, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC<br />
Engine, SMARTMOS, TurboLink and VortiQa are trademarks of <strong>Freescale</strong> <strong>Semiconductor</strong>, Inc. All other product or service names are the property of their respective owners. © 2010<br />
<strong>Freescale</strong> <strong>Semiconductor</strong>, Inc.<br />
Analog Comparator – MC56F802x/3x<br />
► Up to two continuous-time differential-input analog comparator modules<br />
► Internal switching matrix supports the independent connection of the analog inputs<br />
► to the positive or negative input of the analog comparator and to the comparator’s<br />
export output for another comparator module.<br />
► 5 selectable input sources:<br />
• Three GPIO pins<br />
• One DAC output<br />
• One import input from another comparator module<br />
► Programmable comparator output polarity<br />
► Comparator output edge indicator<br />
► Interrupt can be generated by comparator output rising edge, or falling edge,<br />
or both edges<br />
► Comparator output can be fed to timer input, PWM faults input, PWM source,<br />
external pin output<br />
► Software controlled power down mode<br />
44<br />
TM
► Operates over the entire supply range<br />
► Less than 40 mV of input offset<br />
► Less than 15 mV of hysteresis<br />
► Inputs may range from rail to rail<br />
► Selectable interrupt on rising edge, falling edge,<br />
or both edges of comparator output<br />
► Selectable inversion on comparator output<br />
Analog Comparator – MC56F800x, MC56F824x/5x<br />
<strong>Freescale</strong>, the <strong>Freescale</strong> logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of <strong>Freescale</strong><br />
<strong>Semiconductor</strong>, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC<br />
Engine, SMARTMOS, TurboLink and VortiQa are trademarks of <strong>Freescale</strong> <strong>Semiconductor</strong>, Inc. All other product or service names are the property of their respective owners. © 2010<br />
<strong>Freescale</strong> <strong>Semiconductor</strong>, Inc.<br />
► Two software selectable performance levels:<br />
• Shorter propagation delay at the expense<br />
of higher power<br />
• Low power, with longer propagation delay<br />
► Comparator output may be:<br />
• Sampled<br />
• Windowed (ideal for certain PWM<br />
zero-crossing-detection applications)<br />
• Digitally filtered<br />
• Filter can be bypassed<br />
45<br />
TM
Timers<br />
<strong>Freescale</strong>, the <strong>Freescale</strong> logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of <strong>Freescale</strong><br />
<strong>Semiconductor</strong>, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC<br />
Engine, SMARTMOS, TurboLink and VortiQa are trademarks of <strong>Freescale</strong> <strong>Semiconductor</strong>, Inc. All other product or service names are the property of their respective owners. © 2010<br />
<strong>Freescale</strong> <strong>Semiconductor</strong>, Inc.<br />
46<br />
TM
Primary Input<br />
Secondary Input<br />
INPUTS<br />
PRESCALER<br />
OTHER INPUTS<br />
CONTROL<br />
STATUS &<br />
CONTROL<br />
MUX<br />
Quad-Timer Channel<br />
COUNTER<br />
TMRLOAD TMRHOLD CAPTURE TMRCMP1 TMRCMP2<br />
<strong>Freescale</strong>, the <strong>Freescale</strong> logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of <strong>Freescale</strong><br />
<strong>Semiconductor</strong>, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC<br />
Engine, SMARTMOS, TurboLink and VortiQa are trademarks of <strong>Freescale</strong> <strong>Semiconductor</strong>, Inc. All other product or service names are the property of their respective owners. © 2010<br />
<strong>Freescale</strong> <strong>Semiconductor</strong>, Inc.<br />
COMPARATOR COMPARATOR<br />
DATA BUS<br />
Quad Timer – All DSCs<br />
MUX OFLAG<br />
CMPLD1 CMPLD2<br />
► Unique architecture with 2x Inputs (primary + secondary) and 1x output<br />
► Powerful MUX - primary input, secondary input and output can be connected to external pins<br />
► Individual channel capability - input capture trigger, output compare, clock source, prescaler<br />
► Counters are pre-loadable, count once or repeatedly<br />
► Master operation - any channel can be a master that broadcasts its compare signal to the other channels. This way<br />
they can be configured to reinitialize their counters and/or force their OFLAG output signals to predetermined values.<br />
► Compare - The TMRCMP1/2 registers provide the compare values (up/down) for the counter. If a match occurs, the<br />
OFLAG signal can be set, cleared, or toggled (polarity is selectable). If enabled, an interrupt is generated, and the new<br />
compare value is loaded into TMRCMP1 or 2 registers from TMRCMPLD1 and 2 (as enabled).<br />
► Capture register stores a copy of the counter’s value when an input edge (positive, negative, or both) is detected.<br />
Once a capture event occurs, no further updating of the capture register will occur until the input edge flag is cleared.<br />
47<br />
OUTPUT<br />
Output<br />
4x<br />
TM
<strong>Freescale</strong>, the <strong>Freescale</strong> logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of <strong>Freescale</strong><br />
<strong>Semiconductor</strong>, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC<br />
Engine, SMARTMOS, TurboLink and VortiQa are trademarks of <strong>Freescale</strong> <strong>Semiconductor</strong>, Inc. All other product or service names are the property of their respective owners. © 2010<br />
<strong>Freescale</strong> <strong>Semiconductor</strong>, Inc.<br />
Quad Timer Operating Modes<br />
►Stop Mode: Counter is inert. No counting will occur ►Count Mode: Counts rising or falling edges<br />
(generating periodic interrupts, timing purposes)<br />
►Edge Count Mode: Counts rising and falling edges<br />
(counting of simple encoder wheel)<br />
►Signed Count Mode: Counts primary input up or down<br />
based on polarity of secondary input<br />
►Gated Count Mode: Counts primary input if secondary<br />
input is high (signal width measurement)<br />
►Cascaded Count Mode: Input is connected to the<br />
output of another (great for large counts up to 2 64 )<br />
48<br />
TM
►Triggered Count Mode: Start/Stop count of primary input on rising edge of secondary input.<br />
<strong>Freescale</strong>, the <strong>Freescale</strong> logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of <strong>Freescale</strong><br />
<strong>Semiconductor</strong>, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC<br />
Engine, SMARTMOS, TurboLink and VortiQa are trademarks of <strong>Freescale</strong> <strong>Semiconductor</strong>, Inc. All other product or service names are the property of their respective owners. © 2010<br />
<strong>Freescale</strong> <strong>Semiconductor</strong>, Inc.<br />
Quad Timer Operating Modes<br />
►One-Shot Mode: Provides timing delays<br />
(ADC acquisition of new samples until a specified period of time has passed since the PWM sync signal occurred)<br />
49<br />
TM
► Fixed Frequency PWM: Fixed frequency, variable<br />
duty cycle (driving PWM amplifiers)<br />
► Pulse Output Mode: Supports stepper motor<br />
systems and provides change of signal frequency<br />
and number of pulses<br />
Count Mode Timer is Off Timer is in Count Mode<br />
Primary<br />
Count 0 1 2 3 4 0<br />
Output<br />
Timer<br />
Stopped due<br />
to Compare<br />
(COMP1 = 4)<br />
<strong>Freescale</strong>, the <strong>Freescale</strong> logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of <strong>Freescale</strong><br />
<strong>Semiconductor</strong>, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC<br />
Engine, SMARTMOS, TurboLink and VortiQa are trademarks of <strong>Freescale</strong> <strong>Semiconductor</strong>, Inc. All other product or service names are the property of their respective owners. © 2010<br />
<strong>Freescale</strong> <strong>Semiconductor</strong>, Inc.<br />
Quad Timer Operating Modes<br />
► Variable Frequency PWM: Variable frequency<br />
and duty cycle (driving PWM amplifiers)<br />
► Quadrature Count Mode<br />
• Counter will decode the primary and secondary<br />
external inputs as quadrature encoded signals<br />
• Compare interrupts will signal commutation<br />
50<br />
TM
Others<br />
<strong>Freescale</strong>, the <strong>Freescale</strong> logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of <strong>Freescale</strong><br />
<strong>Semiconductor</strong>, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC<br />
Engine, SMARTMOS, TurboLink and VortiQa are trademarks of <strong>Freescale</strong> <strong>Semiconductor</strong>, Inc. All other product or service names are the property of their respective owners. © 2010<br />
<strong>Freescale</strong> <strong>Semiconductor</strong>, Inc.<br />
51<br />
TM
►Flexible signal interconnection<br />
among peripherals<br />
►Connects any of 22 signals on<br />
left side to the output on right<br />
side (multiplexer)<br />
►Total 30 multiplexers<br />
►All multiplexers share the same<br />
set of 22 signals<br />
►Increase flexibility of peripheral<br />
configuration according to user<br />
needs<br />
<strong>Freescale</strong>, the <strong>Freescale</strong> logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of <strong>Freescale</strong><br />
<strong>Semiconductor</strong>, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC<br />
Engine, SMARTMOS, TurboLink and VortiQa are trademarks of <strong>Freescale</strong> <strong>Semiconductor</strong>, Inc. All other product or service names are the property of their respective owners. © 2010<br />
<strong>Freescale</strong> <strong>Semiconductor</strong>, Inc.<br />
Crossbar Switch - MC56F824x/5x<br />
52<br />
TM
5-bit<br />
VREF<br />
12-bit DAC output<br />
12-bit DAC output<br />
X4<br />
TB[3:0]<br />
X9<br />
PWMA[3:0]<br />
PWMB[3:0]<br />
PWMX[3]<br />
X3<br />
0<br />
1<br />
2<br />
3<br />
3<br />
0<br />
2<br />
1<br />
Crossbar Inter-module Connection - MC56F824x/5x<br />
HSCMP<br />
Quad Timer B<br />
8-ch<br />
GHzPWM<br />
6<br />
OUT_TRIG0[2,0]<br />
OUT_TRIG1[2,0]<br />
14<br />
OR<br />
Functions<br />
2 OUT_TRIG0[3]<br />
OUT_TRIG1[3]<br />
Pin<br />
X6<br />
<strong>Freescale</strong>, the <strong>Freescale</strong> logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of <strong>Freescale</strong><br />
<strong>Semiconductor</strong>, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC<br />
Engine, SMARTMOS, TurboLink and VortiQa are trademarks of <strong>Freescale</strong> <strong>Semiconductor</strong>, Inc. All other product or service names are the property of their respective owners. © 2010<br />
<strong>Freescale</strong> <strong>Semiconductor</strong>, Inc.<br />
4<br />
4<br />
EXTA[3:0]<br />
EXT_SYNC[3:0]<br />
EXT_FORCE<br />
EXT_CLK<br />
FAULT[3:0]<br />
3<br />
3<br />
Window /<br />
Sample[2:0]<br />
4<br />
Crossbar<br />
Fabric<br />
X6<br />
Trigger[1:0]<br />
To comparators<br />
SYNC_IN<br />
I/O<br />
Muxing<br />
53<br />
Dual<br />
12bit ADC<br />
DAC input for test only<br />
12-bit DAC Output<br />
12-Bit<br />
DAC<br />
peripheral<br />
functions<br />
Pin<br />
ADC_In<br />
Pin<br />
Pin<br />
I/O Module<br />
Pin<br />
I/O Module<br />
TM
ADC to PWM Synchronization<br />
<strong>Freescale</strong>, the <strong>Freescale</strong> logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of <strong>Freescale</strong><br />
<strong>Semiconductor</strong>, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC<br />
Engine, SMARTMOS, TurboLink and VortiQa are trademarks of <strong>Freescale</strong> <strong>Semiconductor</strong>, Inc. All other product or service names are the property of their respective owners. © 2010<br />
<strong>Freescale</strong> <strong>Semiconductor</strong>, Inc.<br />
54<br />
TM
Why Is ADC to PWM Synchronization Needed?<br />
►ADC sampling helps to filter the measured current - antialiasing<br />
Average Current<br />
Sampled Current<br />
PWM 0<br />
ADC trigger Signal<br />
A/D<br />
calc.<br />
PWM Period<br />
<strong>Freescale</strong>, the <strong>Freescale</strong> logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of <strong>Freescale</strong><br />
<strong>Semiconductor</strong>, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC<br />
Engine, SMARTMOS, TurboLink and VortiQa are trademarks of <strong>Freescale</strong> <strong>Semiconductor</strong>, Inc. All other product or service names are the property of their respective owners. © 2010<br />
<strong>Freescale</strong> <strong>Semiconductor</strong>, Inc.<br />
Inductor Current<br />
Data Processing and New PWM Parameters Calculation<br />
55<br />
Asynchronous<br />
Sampling<br />
Synchronized<br />
Sampling<br />
TM
Why Is ADC to PWM Synchronization Needed?<br />
►Phase current can be sensed for certain time only<br />
+U/2<br />
-U/2<br />
PWM At<br />
PWM Ab<br />
Shunt<br />
resistor<br />
PWM Bt PWM Ct<br />
DC Bus<br />
Phase A Phase B Phase C<br />
PWM Bb PWM Cb<br />
Shunt<br />
resistor<br />
Ground<br />
<strong>Freescale</strong>, the <strong>Freescale</strong> logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of <strong>Freescale</strong><br />
<strong>Semiconductor</strong>, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC<br />
Engine, SMARTMOS, TurboLink and VortiQa are trademarks of <strong>Freescale</strong> <strong>Semiconductor</strong>, Inc. All other product or service names are the property of their respective owners. © 2010<br />
<strong>Freescale</strong> <strong>Semiconductor</strong>, Inc.<br />
n<br />
3-ph AC Induction Motor<br />
3-ph PM Synchronous Motor<br />
time to sensing<br />
stabilized<br />
56<br />
current<br />
sampling<br />
window<br />
PWM1 Q AT<br />
PWM2 Q AB<br />
I sense_A<br />
Dead<br />
Time<br />
TM
► Smart combination of the PWM + QTimer +<br />
ADC allows precise control of the<br />
sample event<br />
► The PWM synch output is connected to<br />
secondary input of QTimer - Ch3<br />
► The QTimer Ch3 output is connected to<br />
ADC SYNC0<br />
► The QTimer Ch2 output is connected to<br />
ADC SYNC1<br />
► The ADC sample can be easily synchronized<br />
with PWM with no software overhead<br />
(constant delay). Note the delay also can be<br />
applied to the external trigger signal<br />
► Cycle-by-cycle control of the QTimer<br />
addresses advanced ADC trigger<br />
delay control<br />
<strong>Freescale</strong>, the <strong>Freescale</strong> logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of <strong>Freescale</strong><br />
<strong>Semiconductor</strong>, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC<br />
Engine, SMARTMOS, TurboLink and VortiQa are trademarks of <strong>Freescale</strong> <strong>Semiconductor</strong>, Inc. All other product or service names are the property of their respective owners. © 2010<br />
<strong>Freescale</strong> <strong>Semiconductor</strong>, Inc.<br />
ADC to PWM Synchronization: MC56F80xx<br />
3<br />
57<br />
PWM Sync<br />
2<br />
1<br />
ADCA<br />
PWM<br />
MUX<br />
0<br />
ADC SYNC1<br />
ADCB<br />
IP BusCLK<br />
ADC SYNC0 * can be used to mimic<br />
ADC SYNC pulse during<br />
debugging<br />
*<br />
TM
► QTimer Ch3 settings:<br />
• Primary input: System clock<br />
• Secondary Input: 3-th input<br />
(PWM synch)<br />
• Operation mode: Triggered<br />
mode<br />
• Count length: Count until<br />
compare and reinitialize<br />
• Output mode: Clear on<br />
secondary, set on compare<br />
► t1 - time between PWM<br />
SYNC signal and TMR3<br />
output. TMR3 output starts<br />
ADC conversion<br />
immediately.<br />
► t2 – ADC conversion time<br />
ADC to PWM Synchronization Details: MC56F80xx<br />
PWM COUNTER<br />
PWM SYNC<br />
PWM<br />
GENERATOR<br />
OUTPUTS 0, 1<br />
PWM<br />
PINS 0, 1<br />
POWER<br />
STAGE<br />
VOLTAGE<br />
TMR3<br />
COUNTER<br />
TMR3<br />
OUTPUT<br />
ADC<br />
CONVERSION<br />
<strong>Freescale</strong>, the <strong>Freescale</strong> logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of <strong>Freescale</strong><br />
<strong>Semiconductor</strong>, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC<br />
Engine, SMARTMOS, TurboLink and VortiQa are trademarks of <strong>Freescale</strong> <strong>Semiconductor</strong>, Inc. All other product or service names are the property of their respective owners. © 2010<br />
<strong>Freescale</strong> <strong>Semiconductor</strong>, Inc.<br />
ADC<br />
ISR<br />
dead-time/2<br />
dead-time<br />
t1<br />
t2<br />
58<br />
dead-time/2<br />
dead-time<br />
TM
<strong>Freescale</strong>, the <strong>Freescale</strong> logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of <strong>Freescale</strong><br />
<strong>Semiconductor</strong>, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC<br />
Engine, SMARTMOS, TurboLink and VortiQa are trademarks of <strong>Freescale</strong> <strong>Semiconductor</strong>, Inc. All other product or service names are the property of their respective owners. © 2010<br />
<strong>Freescale</strong> <strong>Semiconductor</strong>, Inc.<br />
ADC to PWM Synchronization: MC56F800x<br />
59<br />
TM
Programmable Delay Block Operation Modes – MC56F800x<br />
► Individual Operation<br />
• Each ADC is controlled individually<br />
► ORed Operation<br />
• Both ADC converters operate in ping – pong<br />
mode. Up to four samples can be taken per<br />
conversion sequence<br />
► Pulsed (PWM) Operation<br />
• This mode can be used for window operation<br />
of high speed comparator<br />
• The output can be connected to pin and<br />
generated PWM signal<br />
<strong>Freescale</strong>, the <strong>Freescale</strong> logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of <strong>Freescale</strong><br />
<strong>Semiconductor</strong>, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC<br />
Engine, SMARTMOS, TurboLink and VortiQa are trademarks of <strong>Freescale</strong> <strong>Semiconductor</strong>, Inc. All other product or service names are the property of their respective owners. © 2010<br />
<strong>Freescale</strong> <strong>Semiconductor</strong>, Inc.<br />
60<br />
TM
ADC to PWM Synchronization: MC56F800x (Individual mode)<br />
<strong>Freescale</strong>, the <strong>Freescale</strong> logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of <strong>Freescale</strong><br />
<strong>Semiconductor</strong>, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC<br />
Engine, SMARTMOS, TurboLink and VortiQa are trademarks of <strong>Freescale</strong> <strong>Semiconductor</strong>, Inc. All other product or service names are the property of their respective owners. © 2010<br />
<strong>Freescale</strong> <strong>Semiconductor</strong>, Inc.<br />
61<br />
TM
ADC to PWM Synchronization: MC56F800x (ORed Mode)<br />
<strong>Freescale</strong>, the <strong>Freescale</strong> logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of <strong>Freescale</strong><br />
<strong>Semiconductor</strong>, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC<br />
Engine, SMARTMOS, TurboLink and VortiQa are trademarks of <strong>Freescale</strong> <strong>Semiconductor</strong>, Inc. All other product or service names are the property of their respective owners. © 2010<br />
<strong>Freescale</strong> <strong>Semiconductor</strong>, Inc.<br />
62<br />
TM
ADC to PWM Synchronization: MC56F800x (ORed Mode)<br />
<strong>Freescale</strong>, the <strong>Freescale</strong> logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of <strong>Freescale</strong><br />
<strong>Semiconductor</strong>, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC<br />
Engine, SMARTMOS, TurboLink and VortiQa are trademarks of <strong>Freescale</strong> <strong>Semiconductor</strong>, Inc. All other product or service names are the property of their respective owners. © 2010<br />
<strong>Freescale</strong> <strong>Semiconductor</strong>, Inc.<br />
63<br />
TM
5-bit<br />
VREF<br />
12-bit DAC output<br />
12-bit DAC output<br />
X4<br />
TB[3:0]<br />
X9<br />
PWMA[3:0]<br />
PWMB[3:0]<br />
PWMX[3]<br />
X3<br />
0<br />
1<br />
2<br />
3<br />
3<br />
0<br />
2<br />
1<br />
HSCMP<br />
Quad Timer B<br />
8-ch<br />
GHzPWM<br />
6<br />
ADC to PWM Synchronization: MC56F824x/5x<br />
OUT_TRIG0[2,0]<br />
OUT_TRIG1[2,0]<br />
14<br />
OR<br />
Functions<br />
2 OUT_TRIG0[3]<br />
OUT_TRIG1[3]<br />
Pin<br />
X6<br />
<strong>Freescale</strong>, the <strong>Freescale</strong> logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of <strong>Freescale</strong><br />
<strong>Semiconductor</strong>, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC<br />
Engine, SMARTMOS, TurboLink and VortiQa are trademarks of <strong>Freescale</strong> <strong>Semiconductor</strong>, Inc. All other product or service names are the property of their respective owners. © 2010<br />
<strong>Freescale</strong> <strong>Semiconductor</strong>, Inc.<br />
4<br />
4<br />
EXTA[3:0]<br />
EXT_SYNC[3:0]<br />
EXT_FORCE<br />
EXT_CLK<br />
FAULT[3:0]<br />
3<br />
3<br />
Window /<br />
Sample[2:0]<br />
4<br />
Crossbar<br />
Fabric<br />
X6<br />
Trigger[1:0]<br />
To comparators<br />
SYNC_IN<br />
I/O<br />
Muxing<br />
64<br />
Dual<br />
12-bit ADC<br />
DAC input for test only<br />
12-bit DAC Output<br />
12-Bit<br />
DAC<br />
peripheral<br />
functions<br />
Pin<br />
ADC_In<br />
Pin<br />
Pin<br />
I/O Module<br />
Pin<br />
I/O Module<br />
TM
<strong>Freescale</strong>, the <strong>Freescale</strong> logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of <strong>Freescale</strong><br />
<strong>Semiconductor</strong>, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC<br />
Engine, SMARTMOS, TurboLink and VortiQa are trademarks of <strong>Freescale</strong> <strong>Semiconductor</strong>, Inc. All other product or service names are the property of their respective owners. © 2010<br />
<strong>Freescale</strong> <strong>Semiconductor</strong>, Inc.<br />
<strong>eFlexPWM</strong> – PWM Generation<br />
65<br />
TM
8-ch <strong>eFlexPWM</strong><br />
submodule 0<br />
submodule 1<br />
submodule 2<br />
submodule 3<br />
ADC to PWM Synchronization Details: MC56F824x/5x<br />
OUT_TRIG0[0]<br />
OUT_TRIG1[0]<br />
OUT_TRIG0[1]<br />
OUT_TRIG1[1]<br />
OUT_TRIG0[2]<br />
OUT_TRIG1[2]<br />
OUT_TRIG0[3]<br />
OUT_TRIG1[3]<br />
OR<br />
OR<br />
OR<br />
<strong>Freescale</strong>, the <strong>Freescale</strong> logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of <strong>Freescale</strong><br />
<strong>Semiconductor</strong>, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC<br />
Engine, SMARTMOS, TurboLink and VortiQa are trademarks of <strong>Freescale</strong> <strong>Semiconductor</strong>, Inc. All other product or service names are the property of their respective owners. © 2010<br />
<strong>Freescale</strong> <strong>Semiconductor</strong>, Inc.<br />
OR<br />
crossbar input[16]<br />
crossbar input[17]<br />
66<br />
crossbar<br />
input[19]<br />
crossbar input[18]<br />
crossbar input[20]<br />
crossbar input[21]<br />
Crossbar<br />
Fabric<br />
TM
Low Cost Current Measurement -<br />
Single Shunt Current Reconstruction<br />
<strong>Freescale</strong>, the <strong>Freescale</strong> logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of <strong>Freescale</strong><br />
<strong>Semiconductor</strong>, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC<br />
Engine, SMARTMOS, TurboLink and VortiQa are trademarks of <strong>Freescale</strong> <strong>Semiconductor</strong>, Inc. All other product or service names are the property of their respective owners. © 2010<br />
<strong>Freescale</strong> <strong>Semiconductor</strong>, Inc.<br />
67<br />
TM
+U/2<br />
-U/2<br />
PWM At<br />
PWM Ab<br />
Shunt<br />
resistor<br />
<strong>Freescale</strong>, the <strong>Freescale</strong> logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of <strong>Freescale</strong><br />
<strong>Semiconductor</strong>, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC<br />
Engine, SMARTMOS, TurboLink and VortiQa are trademarks of <strong>Freescale</strong> <strong>Semiconductor</strong>, Inc. All other product or service names are the property of their respective owners. © 2010<br />
<strong>Freescale</strong> <strong>Semiconductor</strong>, Inc.<br />
Single Shunt Current Reconstruction<br />
PWM Bt PWM Ct<br />
Phase A Phase B Phase C<br />
PWM Bb PWM Cb<br />
Shunt<br />
resistor<br />
n<br />
3-ph AC Induction Motor<br />
3-ph PM Synchronous Motor<br />
68<br />
DC Bus<br />
Ground<br />
TM
(000) (100) (110) (111)<br />
A<br />
B<br />
C<br />
i DC =0<br />
i DC =+i a<br />
i DC =-i c<br />
i DC =0<br />
(110) (100)<br />
i DC =-i c<br />
i DC =+i a<br />
Single Shunt Current Reconstruction - Analysis<br />
t = t + t<br />
deadtime<br />
progdelay<br />
<strong>Freescale</strong>, the <strong>Freescale</strong> logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of <strong>Freescale</strong><br />
<strong>Semiconductor</strong>, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC<br />
Engine, SMARTMOS, TurboLink and VortiQa are trademarks of <strong>Freescale</strong> <strong>Semiconductor</strong>, Inc. All other product or service names are the property of their respective owners. © 2010<br />
<strong>Freescale</strong> <strong>Semiconductor</strong>, Inc.<br />
delay<br />
► Measurement Table<br />
Voltage Vector DC-Link current i dc<br />
V 1 (100) +i a<br />
V 2 (110) -i c<br />
V 3 (010) +i b<br />
V 4 (011) -i a<br />
V 5 (001) +i c<br />
V 6 (101) -i b<br />
V 7 (111) 0<br />
V 0 (000) 0<br />
69<br />
TM
►Two current samples cannot be taken:<br />
Single Shunt Current Reconstruction - Issues<br />
1. Voltage vector is crossing a sector border<br />
• Only one sample can be taken<br />
2. Low modulation indexes<br />
• Sampling intervals too short<br />
• None of current samples can be taken<br />
Passing Active Vector<br />
<strong>Freescale</strong>, the <strong>Freescale</strong> logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of <strong>Freescale</strong><br />
<strong>Semiconductor</strong>, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC<br />
Engine, SMARTMOS, TurboLink and VortiQa are trademarks of <strong>Freescale</strong> <strong>Semiconductor</strong>, Inc. All other product or service names are the property of their respective owners. © 2010<br />
<strong>Freescale</strong> <strong>Semiconductor</strong>, Inc.<br />
Low Modulation Index<br />
70<br />
TM
►Asymmetrical PWMs<br />
• Case 1 – Passing active vector:<br />
� Freeze center edge<br />
� Move one critical edge<br />
� Goes for higher modulation indexes<br />
Single Shunt Current Reconstruction - Solution<br />
• Case 2 – Low modulation indexes:<br />
� Freeze center edge<br />
� Move both side edges in opposite direction<br />
� Goes for low modulation indexes<br />
<strong>Freescale</strong>, the <strong>Freescale</strong> logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of <strong>Freescale</strong><br />
<strong>Semiconductor</strong>, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC<br />
Engine, SMARTMOS, TurboLink and VortiQa are trademarks of <strong>Freescale</strong> <strong>Semiconductor</strong>, Inc. All other product or service names are the property of their respective owners. © 2010<br />
<strong>Freescale</strong> <strong>Semiconductor</strong>, Inc.<br />
71<br />
Critical edge<br />
Move critical edge<br />
Critical edges<br />
Move critical edges<br />
TM
PWM Modulo Counter<br />
Compare level sample #2<br />
Compare level sample #1<br />
Compare level sample #0<br />
Timer ch. 3 Counter<br />
ADC Conversion<br />
ADC End-of-Scan ISR<br />
PWM Reload ISR<br />
Single Shunt Current Reconstruction – MC56F8013<br />
Implementation<br />
<strong>Freescale</strong>, the <strong>Freescale</strong> logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of <strong>Freescale</strong><br />
<strong>Semiconductor</strong>, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC<br />
Engine, SMARTMOS, TurboLink and VortiQa are trademarks of <strong>Freescale</strong> <strong>Semiconductor</strong>, Inc. All other product or service names are the property of their respective owners. © 2010<br />
<strong>Freescale</strong> <strong>Semiconductor</strong>, Inc.<br />
Conversion time<br />
each 2.48us<br />
ISR duration<br />
each 0.92us<br />
72<br />
ISR duration<br />
cca. 13.8us<br />
TM
BLDC Motor Commutation<br />
<strong>Freescale</strong>, the <strong>Freescale</strong> logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of <strong>Freescale</strong><br />
<strong>Semiconductor</strong>, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC<br />
Engine, SMARTMOS, TurboLink and VortiQa are trademarks of <strong>Freescale</strong> <strong>Semiconductor</strong>, Inc. All other product or service names are the property of their respective owners. © 2010<br />
<strong>Freescale</strong> <strong>Semiconductor</strong>, Inc.<br />
73<br />
TM
►Six Step BLDC Motor Control<br />
• Voltage applied on two phases only<br />
+U/2<br />
-U/2<br />
PWM At<br />
PWM Ab<br />
Shunt<br />
resistor<br />
PWM Bt PWM Ct<br />
Phase A Phase B Phase C<br />
PWM Bb PWM Cb<br />
Shunt<br />
resistor<br />
<strong>Freescale</strong>, the <strong>Freescale</strong> logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of <strong>Freescale</strong><br />
<strong>Semiconductor</strong>, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC<br />
Engine, SMARTMOS, TurboLink and VortiQa are trademarks of <strong>Freescale</strong> <strong>Semiconductor</strong>, Inc. All other product or service names are the property of their respective owners. © 2010<br />
<strong>Freescale</strong> <strong>Semiconductor</strong>, Inc.<br />
n<br />
3-ph Brushless DC Motor<br />
BLDC Motor Commutation<br />
DC Bus<br />
Ground<br />
74<br />
TM
►Six Step BLDC Motor Control<br />
• Voltage applied on two phases only<br />
• It creates 6 flux vectors<br />
• Phases are powered based on rotor position<br />
• The process is called commutation<br />
Phase voltages<br />
<strong>Freescale</strong>, the <strong>Freescale</strong> logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of <strong>Freescale</strong><br />
<strong>Semiconductor</strong>, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC<br />
Engine, SMARTMOS, TurboLink and VortiQa are trademarks of <strong>Freescale</strong> <strong>Semiconductor</strong>, Inc. All other product or service names are the property of their respective owners. © 2010<br />
<strong>Freescale</strong> <strong>Semiconductor</strong>, Inc.<br />
BLDC Motor Commutation<br />
75<br />
TM
►Complementary bipolar PWM switching<br />
<strong>Freescale</strong>, the <strong>Freescale</strong> logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of <strong>Freescale</strong><br />
<strong>Semiconductor</strong>, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC<br />
Engine, SMARTMOS, TurboLink and VortiQa are trademarks of <strong>Freescale</strong> <strong>Semiconductor</strong>, Inc. All other product or service names are the property of their respective owners. © 2010<br />
<strong>Freescale</strong> <strong>Semiconductor</strong>, Inc.<br />
BLDC Motor Commutation<br />
Q1=Q4=PWM; Q2=Q3=Q1<br />
76<br />
TM
70%<br />
1.<br />
30%<br />
2.<br />
BLDC Motor Commutation – MC56F800x, MC56F80xx<br />
A B C<br />
70%<br />
3.<br />
30%<br />
4.<br />
70%<br />
<strong>Freescale</strong>, the <strong>Freescale</strong> logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of <strong>Freescale</strong><br />
<strong>Semiconductor</strong>, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC<br />
Engine, SMARTMOS, TurboLink and VortiQa are trademarks of <strong>Freescale</strong> <strong>Semiconductor</strong>, Inc. All other product or service names are the property of their respective owners. © 2010<br />
<strong>Freescale</strong> <strong>Semiconductor</strong>, Inc.<br />
5.<br />
30%<br />
6.<br />
PWM Channel Control Register<br />
MASK<br />
0 0 0 0 0 0<br />
0 0 0<br />
One “shot” write to all six<br />
PWM channels!<br />
Value written to this register<br />
defines just the speed of<br />
motor rotation and<br />
PWM Value Register<br />
0 1 0 1 1 0 0 1 1 0 0 1 1 0 0 1<br />
5999h ≈ 70% of max. value of Duty Cycle<br />
when 7FFFh is the max. value<br />
77<br />
SWAP<br />
TM
0%<br />
1.<br />
0%<br />
2.<br />
BLDC Motor Commutation – MC56F800x, MC56F80xx<br />
A B C<br />
70%<br />
3.<br />
30%<br />
4.<br />
70%<br />
<strong>Freescale</strong>, the <strong>Freescale</strong> logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of <strong>Freescale</strong><br />
<strong>Semiconductor</strong>, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC<br />
Engine, SMARTMOS, TurboLink and VortiQa are trademarks of <strong>Freescale</strong> <strong>Semiconductor</strong>, Inc. All other product or service names are the property of their respective owners. © 2010<br />
<strong>Freescale</strong> <strong>Semiconductor</strong>, Inc.<br />
5.<br />
30%<br />
6.<br />
PWM Channel Control Register<br />
MASK<br />
0 0 0 0 1 1<br />
0 0 0<br />
6. 5. 4. 3. 2. 1.<br />
transistors<br />
Mask will disable<br />
the complementary<br />
transistor pair<br />
PWM Value Register<br />
MASK 0 1 0 1 1 0 0 1 1 0 0 1 1 0 0 1<br />
5999h ≈ 70% of max. value of Duty Cycle<br />
when 7FFFh is the max. value<br />
78<br />
SWAP<br />
TM
0%<br />
1.<br />
0%<br />
2.<br />
BLDC Motor Commutation – MC56F800x, MC56F80xx<br />
Mask and Swap are set simultaneously!<br />
Value written to this register defines the<br />
exact commutation stage.<br />
A B C<br />
70% 30%<br />
3.<br />
4.<br />
SWAP<br />
<strong>Freescale</strong>, the <strong>Freescale</strong> logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of <strong>Freescale</strong><br />
<strong>Semiconductor</strong>, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC<br />
Engine, SMARTMOS, TurboLink and VortiQa are trademarks of <strong>Freescale</strong> <strong>Semiconductor</strong>, Inc. All other product or service names are the property of their respective owners. © 2010<br />
<strong>Freescale</strong> <strong>Semiconductor</strong>, Inc.<br />
5.<br />
30% 70%<br />
6.<br />
PWM Channel Control Register<br />
MASK<br />
PWM Value Register<br />
79<br />
SWAP<br />
0 0 0 0 1 1<br />
0 0 1<br />
6. 5. 4. 3. 2. 1.<br />
transistors<br />
Swap reroutes the top<br />
and bottom control<br />
signals of complementary<br />
pair<br />
C B A<br />
phases<br />
0 1 0 1 1 0 0 1 1 0 0 1 1 0 0 1<br />
5999h ≈ 70% of max. value of Duty Cycle<br />
when 7FFFh is the max. value<br />
TM
►Advantage:<br />
BLDC Motor Commutation – MC56F800x, MC56F80xx<br />
• The MASK and SWAP feature is asynchronous to PWM generation<br />
• Speed control and commutation control are fully independent<br />
►The same approach can be used on 56F82xx using FORCE_OUT logic<br />
►The 56F82xx allows preloading of new state and time for next<br />
commutation. The commutation is performed based on timer event<br />
<strong>Freescale</strong>, the <strong>Freescale</strong> logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of <strong>Freescale</strong><br />
<strong>Semiconductor</strong>, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC<br />
Engine, SMARTMOS, TurboLink and VortiQa are trademarks of <strong>Freescale</strong> <strong>Semiconductor</strong>, Inc. All other product or service names are the property of their respective owners. © 2010<br />
<strong>Freescale</strong> <strong>Semiconductor</strong>, Inc.<br />
80<br />
TM
Motor Control and Energy Conversion Demos<br />
<strong>Freescale</strong>, the <strong>Freescale</strong> logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of <strong>Freescale</strong><br />
<strong>Semiconductor</strong>, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC<br />
Engine, SMARTMOS, TurboLink and VortiQa are trademarks of <strong>Freescale</strong> <strong>Semiconductor</strong>, Inc. All other product or service names are the property of their respective owners. © 2010<br />
<strong>Freescale</strong> <strong>Semiconductor</strong>, Inc.<br />
81<br />
TM
► Six step commutation<br />
► Sensorless back-EMF zero<br />
crossing detection technique<br />
► Back-EMF zero crossing<br />
detection using internal<br />
comparators<br />
► Running on MC9S08MP16<br />
► Both directions of rotation<br />
► Speed closed loop control<br />
► Torque closed loop control<br />
► Target applications:<br />
• Fans<br />
• Compressors<br />
• Pumps<br />
• Appliances<br />
Sensorless BLDC Motor Control Using MC9S08MP16<br />
<strong>Freescale</strong>, the <strong>Freescale</strong> logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of <strong>Freescale</strong><br />
<strong>Semiconductor</strong>, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC<br />
Engine, SMARTMOS, TurboLink and VortiQa are trademarks of <strong>Freescale</strong> <strong>Semiconductor</strong>, Inc. All other product or service names are the property of their respective owners. © 2010<br />
<strong>Freescale</strong> <strong>Semiconductor</strong>, Inc.<br />
82<br />
TM
► MC56F80xx digital signal controller<br />
► 3-phase AC/BLDC high voltage<br />
power stage board<br />
► 1-phase line input 110/230VAC @<br />
50/60Hz<br />
► Appliance PM motor<br />
► Initial rotor position detection<br />
► Full torque at motor start-up<br />
► Field weakening<br />
► Application based on C-callable<br />
library functions (GFLIB, GDFLIB,<br />
MCLIB, ACLIB)<br />
► Current control loop execution<br />
time: 55us<br />
► Speed control loop with field<br />
weakening execution time : 17us<br />
► Flash: ~ 6KB, RAM ~ 1.5KB<br />
► Reference design manual<br />
Sensorless PMSM Motor Control Using MC56F80xx<br />
<strong>Freescale</strong>, the <strong>Freescale</strong> logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of <strong>Freescale</strong><br />
<strong>Semiconductor</strong>, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC<br />
Engine, SMARTMOS, TurboLink and VortiQa are trademarks of <strong>Freescale</strong> <strong>Semiconductor</strong>, Inc. All other product or service names are the property of their respective owners. © 2010<br />
<strong>Freescale</strong> <strong>Semiconductor</strong>, Inc.<br />
83<br />
TM
► 500W digitally controlled LLC<br />
resonant converter<br />
► Input voltage<br />
• 85-265Vac @ 45-65Hz<br />
► Output voltage<br />
• 12V/41 Amps (max.)<br />
• 5V/25 Amps (max.)<br />
► Output power<br />
• 500W shared by both voltage outputs.<br />
The power limit can be set individually<br />
by SW for each voltage output.<br />
► Communication<br />
• PM bus communication (HW ready)<br />
• CAN communication (HW ready)<br />
• Communication with PC using USB<br />
► Full fault protection<br />
• Over-voltage, over-current, overtemperature<br />
on both primary and<br />
secondary side. Active controlled cooling<br />
<strong>Freescale</strong>, the <strong>Freescale</strong> logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of <strong>Freescale</strong><br />
<strong>Semiconductor</strong>, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC<br />
Engine, SMARTMOS, TurboLink and VortiQa are trademarks of <strong>Freescale</strong> <strong>Semiconductor</strong>, Inc. All other product or service names are the property of their respective owners. © 2010<br />
<strong>Freescale</strong> <strong>Semiconductor</strong>, Inc.<br />
AC/DC Switch Mode Power Supply<br />
84<br />
TM
► 400 VA digitally controlled solar inverter<br />
► One or two 200Wp solar panels<br />
► On grid/off grid operation<br />
► Single phase output 230V/50Hz or 115V/60Hz<br />
► Optional battery charger<br />
► MPPT algorithm implemented<br />
► Over-current, short circuit, input under-voltage protection<br />
<strong>Freescale</strong>, the <strong>Freescale</strong> logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, mobileGT, PowerQUICC, StarCore, and Symphony are trademarks of <strong>Freescale</strong><br />
<strong>Semiconductor</strong>, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC<br />
Engine, SMARTMOS, TurboLink and VortiQa are trademarks of <strong>Freescale</strong> <strong>Semiconductor</strong>, Inc. All other product or service names are the property of their respective owners. © 2010<br />
<strong>Freescale</strong> <strong>Semiconductor</strong>, Inc.<br />
Solar Inverter using MC56F8023<br />
85<br />
TM