eMIOS - Freescale
eMIOS - Freescale
eMIOS - Freescale
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
June, 2010<br />
MPC560xB PWM Generation and Diagnosis<br />
FTF-AUT-F0423<br />
Armin Winter<br />
Field Applications 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> Semiconductor, Inc.,<br />
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />
and VortiQa are trademarks of <strong>Freescale</strong> Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 <strong>Freescale</strong> Semiconductor, Inc.<br />
TM
►A design challenge in automotive body electronics<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> Semiconductor, Inc.,<br />
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />
and VortiQa are trademarks of <strong>Freescale</strong> Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 <strong>Freescale</strong> Semiconductor, Inc. 2<br />
Session Introduction (1/2)<br />
• Multiple loads like lamps, light emitting diodes (LEDs), etc.<br />
• Load protection<br />
� LEDs and bulbs are very sensitive components<br />
Requiring current and voltage control to achieve specified lifespan<br />
� LEDs are ‘current-driven’<br />
Emitted light depends on amount of current<br />
Variation in power supply requires current adjustment<br />
• Sophisticated pulse width modulation (PWM) generation<br />
• Advanced diagnostics<br />
• Unified system for lamp as well as for LED control<br />
TM
►The ideal system support?<br />
• Requires intelligent microcontroller hardware<br />
No CPU load<br />
Diagnosis sync with PWM<br />
Inrush current control<br />
Optimized design for EMC<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> Semiconductor, Inc.,<br />
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />
and VortiQa are trademarks of <strong>Freescale</strong> Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 <strong>Freescale</strong> Semiconductor, Inc. 3<br />
Session Introduction (2/2)<br />
Bulb-to-LED exchange<br />
Multiple PWM channels<br />
High PWM resolution<br />
Simplified implementation<br />
Fast ADC conversion times Software availability<br />
TM
►Target audience for this session:<br />
• Hardware and software design engineers<br />
• Systems engineers<br />
►After completing this session you will be able to:<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> Semiconductor, Inc.,<br />
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />
and VortiQa are trademarks of <strong>Freescale</strong> Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 <strong>Freescale</strong> Semiconductor, Inc. 4<br />
Session Objectives<br />
• Explain the PWM design challenges for automotive body control units<br />
• Specify the MPC560xB peripherals for PWM generation and diagnosis<br />
• Describe the interaction between the peripherals<br />
• Implement a solution for your application<br />
TM
Agenda<br />
►Introduction, objectives and agenda review<br />
►MPC560xB microcontroller<br />
• MPC5607B block diagram<br />
►PWM Generation and Diagnosis Concept<br />
►Enhanced Modular I/O Subsystem (<strong>eMIOS</strong>)<br />
• <strong>eMIOS</strong> - PWM generation<br />
►Cross Trigger Unit (CTU)<br />
►Analog to Digital Converter (ADC)<br />
►Demo / References<br />
►Session summary<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> Semiconductor, Inc.,<br />
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />
and VortiQa are trademarks of <strong>Freescale</strong> Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 <strong>Freescale</strong> Semiconductor, Inc. 5<br />
TM
System Integration<br />
VReg<br />
PIT 8ch 32b<br />
Oscillator<br />
FMPLL<br />
Interrupt Controller<br />
CTU<br />
I/O<br />
Bridge<br />
<strong>eMIOS</strong><br />
64ch, 16bit<br />
Power Mgt<br />
Crossbar Masters<br />
Power<br />
Architecure TM<br />
e200z0<br />
Core<br />
CROSSBAR SWITCH<br />
Memory Protection Unit (MPU)<br />
1.5M<br />
Flash<br />
64K Data<br />
Flash<br />
96K SRAM<br />
Crossbar Slaves<br />
Communications I/O System<br />
Up to 53 ch<br />
(81ch) ADC<br />
12bit / 10 Bit<br />
Standby RAM<br />
6<br />
FlexCAN<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> Semiconductor, Inc.,<br />
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />
and VortiQa are trademarks of <strong>Freescale</strong> Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 <strong>Freescale</strong> Semiconductor, Inc. 6<br />
MPC5607B block diagram<br />
10<br />
LINFlex<br />
Note: block diagram represents the MPC5607B.<br />
DMA<br />
6<br />
DSPI<br />
Debug<br />
JTAG<br />
Nexus 2+<br />
Boot<br />
Assist<br />
Module<br />
(BAM)<br />
1<br />
I2C<br />
TM
PWM<br />
Generation<br />
PWM & ADC<br />
Sync<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> Semiconductor, Inc.,<br />
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />
and VortiQa are trademarks of <strong>Freescale</strong> Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 <strong>Freescale</strong> Semiconductor, Inc.<br />
PWM Generation and Diagnosis Concept<br />
MPC560xB/C/D<br />
<strong>eMIOS</strong><br />
CTU<br />
ADC<br />
ADC trigger<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> Semiconductor, Inc.,<br />
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />
and VortiQa are trademarks of <strong>Freescale</strong> Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 <strong>Freescale</strong> Semiconductor, Inc.<br />
<strong>eMIOS</strong> - Enhanced Modular I/O Subsystem<br />
►Dual Action Output Compare<br />
►General Purpose Input Output<br />
►Input Period Measurement<br />
►Input Pulse Width Measurement<br />
►Modulus Counter<br />
►Buffered Modulus Counter<br />
►Buffered Output Pulse Width Modulation<br />
►Buffered Output Pulse Width Modulation with Trigger<br />
►Buffered Output Pulse Width and Frequency Modulation<br />
8<br />
TM
System<br />
Clock<br />
Global<br />
Prescaler<br />
8-bit<br />
Counter Bus A<br />
<strong>eMIOS</strong> - Enhanced Modular I/O Subsystem (1/2)<br />
230Hz<br />
Ch0<br />
Ch[1:7]<br />
Ch8<br />
Ch[9:15]<br />
Ch16<br />
Ch[17:22]<br />
Ch23<br />
Ch24<br />
Ch[25:31]<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> Semiconductor, Inc.,<br />
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />
and VortiQa are trademarks of <strong>Freescale</strong> Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 <strong>Freescale</strong> Semiconductor, Inc. 9<br />
7<br />
110Hz<br />
7<br />
6<br />
7<br />
Counter<br />
Bus B<br />
Counter<br />
Bus C<br />
Counter<br />
Bus D<br />
Counter<br />
Bus E<br />
Bulb-to-LED exchange<br />
TM
►Key <strong>eMIOS</strong> Features<br />
<strong>eMIOS</strong> - Enhanced Modular I/O Subsystem (2/2)<br />
• Two <strong>eMIOS</strong> blocks with 32 channels each<br />
� All 64 channels with buffered output pulse width modulation with trigger (OPWMT)<br />
� Both <strong>eMIOS</strong> blocks can be synchronized<br />
• One global prescaler<br />
• 16-bit data registers<br />
• 10 x 16-bit wide counter buses<br />
� Counter buses via unified channels (UC)<br />
� Shared time bases through the counter buses<br />
� Synchronization among time bases<br />
� Alternatives to the counter buses<br />
• Freeze option for debug purposes<br />
• Motor control capability<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> Semiconductor, Inc.,<br />
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />
and VortiQa are trademarks of <strong>Freescale</strong> Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 <strong>Freescale</strong> Semiconductor, Inc. 10<br />
Multiple PWM channels<br />
High PWM resolution<br />
TM
►Counter Bus<br />
System Clock<br />
Global<br />
Prescaler<br />
8-bit<br />
Ch0<br />
Counter<br />
Bus B<br />
Ch[1:7]<br />
Ch8<br />
Ch[9:15]<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> Semiconductor, Inc.,<br />
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />
and VortiQa are trademarks of <strong>Freescale</strong> Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 <strong>Freescale</strong> Semiconductor, Inc.<br />
<strong>eMIOS</strong> - PWM generation (1/3)<br />
7<br />
7<br />
Modulus Counter Mode<br />
Counter<br />
Bus B<br />
Counter<br />
Bus C<br />
Time<br />
11<br />
TM
►Each <strong>eMIOS</strong> channel supports<br />
• Two double buffered data registers (A1, A2, B1, B2)<br />
• Comparators (A ,B) comparing counter bus with data registers<br />
Counter<br />
Bus B<br />
Ch[4]<br />
Ch[5]<br />
Match A1 Match B1 Match A1<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> Semiconductor, Inc.,<br />
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />
and VortiQa are trademarks of <strong>Freescale</strong> Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 <strong>Freescale</strong> Semiconductor, Inc.<br />
<strong>eMIOS</strong> - PWM generation (2/3)<br />
Time<br />
Inrush current control<br />
Optimized design for EMC<br />
12<br />
TM
►Diagnosis trigger event<br />
• Data registers A2 contains trigger event value<br />
Counter<br />
Bus B<br />
Ch[4]<br />
Match A1<br />
Match A2<br />
Match B1 Match A1<br />
Trigger ADC<br />
Conversion (Trig[n])<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> Semiconductor, Inc.,<br />
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />
and VortiQa are trademarks of <strong>Freescale</strong> Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 <strong>Freescale</strong> Semiconductor, Inc.<br />
<strong>eMIOS</strong> - PWM generation (3/3)<br />
Time<br />
Diagnosis sync with PWM<br />
13<br />
TM
Trig0<br />
Trig1<br />
Trig[n]<br />
Flag<br />
ack<br />
MPC5604/3/2/1B/C/D<br />
Event<br />
Arbitration<br />
&<br />
Masking<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> Semiconductor, Inc.,<br />
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />
and VortiQa are trademarks of <strong>Freescale</strong> Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 <strong>Freescale</strong> Semiconductor, Inc. 14<br />
CTU – Cross Trigger Unit (1/3)<br />
<strong>eMIOS</strong> / PIT CTU<br />
ADC<br />
Event Configuration Register 0<br />
Event Configuration Register 1<br />
Event Configuration Register[n]<br />
Trigger Output Control<br />
Channel<br />
number<br />
Conversion<br />
Trigger<br />
TM
Trig0<br />
Trig1<br />
Trig[n]<br />
Flag<br />
ack<br />
MPC5607/6/5B/C<br />
Event<br />
Arbitration<br />
&<br />
Masking<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> Semiconductor, Inc.,<br />
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />
and VortiQa are trademarks of <strong>Freescale</strong> Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 <strong>Freescale</strong> Semiconductor, Inc. 15<br />
CTU – Cross Trigger Unit (2/3)<br />
<strong>eMIOS</strong> / PIT CTU<br />
ADC0<br />
Event Configuration Register 0<br />
Event Configuration Register 1<br />
Event Configuration Register[n]<br />
Trigger Output Control<br />
Channel<br />
number<br />
Conversion<br />
Trigger<br />
ADC1<br />
Channel<br />
number<br />
Conversion<br />
Trigger<br />
TM
►CTU features<br />
• 64 timer events<br />
• Each timer event can be assigned to an ADC channel<br />
• Hardware arbitration when simultaneous event occur<br />
• Event priorities are hardware defined<br />
• Single cycle delayed trigger output<br />
• Synchronization with ADC to avoid collision<br />
• Maskable interrupt generation on trigger output<br />
• Automatic <strong>eMIOS</strong>/PIT flag acknowledgment<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> Semiconductor, Inc.,<br />
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />
and VortiQa are trademarks of <strong>Freescale</strong> Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 <strong>Freescale</strong> Semiconductor, Inc.<br />
CTU – Cross Trigger Unit (3/3)<br />
Simplified implementation<br />
No CPU interrupt load<br />
16<br />
TM
Ch0<br />
Ch1<br />
Ch[n]<br />
MA[0:2]<br />
Analog<br />
MUX<br />
Ext<br />
MUX<br />
Ctrl<br />
Sample<br />
&<br />
Hold<br />
<strong>eMIOS</strong><br />
CTU<br />
ADC0<br />
Analog<br />
Watchdog<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> Semiconductor, Inc.,<br />
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />
and VortiQa are trademarks of <strong>Freescale</strong> Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 <strong>Freescale</strong> Semiconductor, Inc. 17<br />
ADC - Analog to Digital Converter (1/3)<br />
10bit/12bit<br />
Converter<br />
ADC<br />
Data Register<br />
Data0<br />
Data1<br />
Data[n]<br />
ADC<br />
Interrupts<br />
End of conversion<br />
End of injection<br />
Threshold violation<br />
TM
Ch0<br />
32<br />
Ch32<br />
Ch47<br />
Ch15<br />
32<br />
Ch64<br />
Ch71<br />
Ch72<br />
Ch79<br />
Ch80<br />
Ch87<br />
Ch88<br />
Ch95<br />
Ext<br />
MUX<br />
Ext<br />
MUX<br />
Ext<br />
MUX<br />
Ext<br />
MUX<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> Semiconductor, Inc.,<br />
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />
and VortiQa are trademarks of <strong>Freescale</strong> Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 <strong>Freescale</strong> Semiconductor, Inc. 18<br />
32<br />
ADC - Analog to Digital Converter (2/3)<br />
4 36<br />
3<br />
MA[0:2]<br />
Analog<br />
MUX<br />
Ext<br />
MUX<br />
Ctrl<br />
Sample<br />
and<br />
Hold<br />
<strong>eMIOS</strong><br />
CTU<br />
ADC0<br />
10-bit/12-bit<br />
Converter<br />
Analog<br />
Watchdog<br />
TM
►ADC features<br />
• 10-bit and/or 12-bit resolution<br />
• Minimum conversion time of 650ns<br />
• Three independent and configurable sample/conversion times<br />
• Up to 53 channels, expendable to 81 with external multiplexers<br />
• ±2LSB TUE (precise), ±3LSB TUE (standard and external)<br />
• Automatic control for external multiplexers<br />
• Dedicated result register for each channel<br />
• Analog watchdog<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> Semiconductor, Inc.,<br />
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />
and VortiQa are trademarks of <strong>Freescale</strong> Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 <strong>Freescale</strong> Semiconductor, Inc.<br />
ADC - Analog to Digital Converter (3/3)<br />
• One shot, scan, injection and triggered injection CTU modes<br />
Fast ADC conversion times<br />
No CPU interrupt load<br />
19<br />
TM
►Application Note AN3836<br />
• Advanced Headlights Control and Diagnostics ADC features<br />
• AppNote:<br />
http://www.freescale.com/files/microcontrollers/doc/app_note/AN3836.pdf<br />
• Software:<br />
http://www.freescale.com/files/microcontrollers/doc/app_note/AN3836SW.zip<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> Semiconductor, Inc.,<br />
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />
and VortiQa are trademarks of <strong>Freescale</strong> Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 <strong>Freescale</strong> Semiconductor, Inc. 20<br />
Demo / References<br />
►For more details, please contact your local <strong>Freescale</strong> sales<br />
representative or go to www.freescale.com<br />
Software availability<br />
TM
►MPC560xB offers ideal system support<br />
• Intelligent microcontroller hardware for<br />
multiple PWM generation and diagnosis<br />
<strong>eMIOS</strong><br />
Enhanced Modular<br />
I/O Subsystem<br />
CTU<br />
Cross Trigger Unit<br />
ADC<br />
Analog To Digital Converter<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> Semiconductor, Inc.,<br />
Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions logo, Flexis, MXC, Platform in a Package, Processor Expert, QorIQ, QUICC Engine, SMARTMOS, TurboLink<br />
and VortiQa are trademarks of <strong>Freescale</strong> Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2010 <strong>Freescale</strong> Semiconductor, Inc.<br />
21<br />
Session Summary<br />
Bulb-to-LED exchange<br />
Multiple PWM channels<br />
High PWM resolution<br />
Inrush current control<br />
Optimized design for EMC<br />
Diagnosis sync with PWM<br />
Simplified implementation<br />
No CPU load<br />
Fast ADC conversion times<br />
Software availability<br />
TM