TM Alan Yang(杨涛) Field Applications Engineer (зЋ°ењєеє”з”Ёе·ҐзЁ‹её€пј‰ August 2012 Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service TM names are the property of their respective owners. В© 2012 Freescale Semiconductor, Inc. . 1 Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. В© 2012 Freescale Semiconductor, Inc. • MPC560xB Overview(概述) • Clock Generation Moduleпј€ж—¶й’џжЁЎеќ—пј‰ • Run Modesпј€иїђиЎЊжЁЎејЏпј‰ • Low Power & Power Management Unitпј€дЅЋеЉџиЂ—е’ЊдЅЋеЉџиЂ—еЌ• е…ѓпј‰ • RTC/API • Wakeup(单片机唤醒) • Hands-on sessionпј€е®ћдѕ‹пј‰ TM 2 Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. В© 2012 Freescale Semiconductor, Inc. Up to 32k cache Dual Issue /VLE e200z7 7-stage pipeline Performance / Features жЂ§ иѓЅ/ 特 жЂ§ 10-stage pipeline 7-stage pipeline Up to 32k cache 5-stage pipeline VLE Up to 16k cache e200z6 Dual Issue / VLE 200 MHz Up to 32k cache FPU SIMD 120 MHz FPU 144 MHz SIMD FPU e200z4 SIMD e200z6 FPU 266 MHz SIMD 4-stage pipeline VLE e200z3 4-stage pipeline 80 MHz VLE FPU SIMD e200z1 4-stage pipeline 64 MHz VLE Only e200z0 64 MHz 2005 2004 TM 2006 3 2007 Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. В© 2012 Freescale Semiconductor, Inc. Entry BCM Mid-High BCM Integrated Gateways MPC5668G Productionдє§е“Ѓ Security z6+z0, 116MHz, Up to 2M Flash, 598k RAM FlexRay, Ethernet, MLB, CANx6, LINx6 MPC5646/5/4C MPC5668E MPC5646/5/4B z6+z0, 116MHz, Up to 2M Flash, 128k RAM CANx5, LINx12 z4, 120MHz, Up to 3M Flash, 192k RAM, FlexRay, CANx6, LINx10, Security MPC5607/6/5/B Dual CoreеЏЊж ё z4+z0, 120MHz, Up to 3M Flash, 256k RAM, FlexRay, Ethernet, CANx6, LINx10, Security Single CoreеЌ•ж ё Security z0, 64MHz, Up to 1.5M Flash, 96k RAM CANx6, LINx10 MPC5604/3/2/B/C z0, 64MHz, Up to 512k Flash, 48k RAM CANx6, LINx4 MPC5602/1D z0, 48MHz, Up to 256k Flash, 16k RAM CANx1, LINx3 Past TM 2012 4 Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. В© 2012 Freescale Semiconductor, Inc. System Integration “Monaco” “Pictus” “Bolero” “Spectrum” (Powertrain) (Steering/Airbag) (Body/Gateway) (Inst Cluster) Crossbar Masters Debug Crossbar Masters PowerPC TM e200z3 Core SIMD MMU JTAG System Integration DMA RTC Nexus FMPLL DMA I/O Bridge Boot Assist Module (BAM) Nexus Oscillator PowerPC TM e200z0 Core FMPLL DMA RTC PIT 4ch 32b Nexus Display Interface Unit Interrupt Controller Mc Timer 32 ch ATD 12bit 512Kb Flash CROSSBAR SWITCH CROSSBAR SWITCH Memory Protection Unit (MPU) Memory Protection Unit (MPU) 32K SRAM I/O Bridge Power Sw Boot Assist Module (BAM) Crossbar Slaves Communications I/O System 2 DSPI DMA Ready RTC 40K SRAM 512Kb Flash Mc Timer 2 eSCI PowerPC TM e200z0 Core FMPLL Crossbar Slaves Mc Timer 2 FlexCAN JTAG 1Mb Flash Video RAM (tbd ) 64K SRAM External Bus (208MAPBGA) Boot Assist Module (BAM) Crossbar Slaves Communications I/O System Communications I/O System ADC I/F 10 bit 650 nsec S&H S&H mux mux 1or2 FlexCAN 1 eSCI 3 DSPI eMIOSLite 8ch IO 36ch shift PWM 2 I2 C 3 FlexCAN 4 LINFlex 3 DSPI 32 ch ATD 12bit eMIOSLite 24 ch. 2 CAN 2 LIN Flex 3 DSPI 2 I2 C 16 ch ATD 10bit 6 gauge drivers sound eTPU 32 ch. Oscillator Interrupt Controller Communications I/O System 2.5K Code RAM 12K Data RAM Debug VReg CROSSBAR SWITCH Boot Assist Module (BAM) Crossbar Slaves Crossbar Masters JTAG MCM I/O Bridge 48K SRAM Nexus FlexRay Interrupt Controller Cal Bus Interface CROSSBAR SWITCH 1Mb Flash PowerPC TM e200z0 Core RTC Interrupt Controller Debug System Integration Crossbar Masters VReg Oscillator Mc PWM FMPLL eMIOSLite 24ch Debug VReg Oscillator I/O Bridge System Integration JTAG VReg 32-bit standard architecture adopted across all product families 32дЅЌж ‡е‡†жћ¶жћ„пјЊйЂ‚з”ЁдєЋж‰Ђжњ‰дє§е“Ѓзі»е€— • • • • Maximum IP reuseпј€жњЂе¤љзљ„жЁЎеќ—е¤Ќз”Ёпј‰ Optimized design and test flowпј€дј�化的设计测试流程) Consolidated tool chainпј€з»џдёЂзљ„е·Ґе…·й“ѕпј‰ Strong marketing message in compatibility(最好的兼容性) TM 5 Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. В© 2012 Freescale Semiconductor, Inc. 40x4 LCD • System Integration Crossbar Masters PIT 4ch 32b в€’ в€’ в€’ в€’ Debug JTAG VReg CORE • MEMORY в€’ PowerPCTM Power Mgt Nexus 2+ e200z0 Core Oscillator FMPLL в€’ в€’ в€’ в€’ Interrupt Controller • CROSSBAR SWITCH в€’ 3x enhanced FlexCAN в€’ в€’ в€’ 4x LINFlex 3x DSPI, 8-16 bits wide & chip selects 1x IВІC  Standby RAM 512K Flash • 48K SRAM 64K Data Flash Boot Assist Module (BAM) Crossbar Slaves в€’ 3 FlexCAN 4 LINFlex 3 DSPI 1 I2C TIMED I/O • OTHER в€’ в€’ в€’ TM 6 5V ADC 10-bit resolution • в€’ в€’ CTU 36 ch ADC 10bit 64 Message Buffers each, full CAN 2.0 spec ANALOG в€’ Communications I/O System eMIOSLite 6ch IC/OC 50ch PWM 512Kbyte embedded program flash, 64 KByte data flash 64 Kbyte embedded data Flash (for EE emulation) Up to 64 MHz non-sequential access with 2WS ECC-enabled array with error detect/correct 48 Kbyte SRAM (single cycle access, ECCenabled) COMMUNICATIONS Memory Protection Unit (MPU) I/O Bridge PowerPC e200z0 core running 48-64 MHz VLE ISA instruction set for superior code density Vectored interrupt controller Memory Protection Unit with 8 regions, 32 byte granularity 16-bit eMIOS module CTU (Cross Triggering Unit) to sync ADC with PWM Channels Debug: Nexus 2+ I/O: 5V I/O, high flexibility with selecting GPIO functionality Packages: 100LQFP, 144LQFP, 208MAPBGA (Development only) Boot Assist Module for production and bench programming Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. В© 2012 Freescale Semiconductor, Inc. Additional DMA, bigger memories, Additional 12-bit ADC, richer peripheral set System Integration Crossbar Masters Debug VReg PIT 4ch 32b • CORE в€’ JTAG в€’ PowerPCTM e200z0 Core Power Mgt Oscillator FMPLL Nexus 2+ DMA Interrupt Controller в€’ в€’ • PowerPC e200z0 core running at 64 MHz @ Ta=105C (48 Mhz at 85oC Base) VLE ISA instruction set for superior code density Vectored interrupt controller Memory Protection Unit with 16 regions, 32 byte granularity MEMORY в€’ в€’ в€’ в€’ в€’ CROSSBAR SWITCH Memory Protection Unit (MPU) • I/O Bridge 1.5M Flash 64K Data Flash 6 FlexCAN 96K SRAM Crossbar Slaves 10 LINFlex 6 DSPI COMMUNICATIONS в€’ 6x enhanced FlexCAN в€’ в€’ в€’ 10 x LINFlex 6 x DSPI, 8-16 bits wide and chip selects 1 x IВІC • Standby RAM Boot Assist Module (BAM) Communications I/O System eMIOS 64ch, 16 bit 1 I2C • в€’ TIMED I/O • OTHER в€’ в€’ в€’ в€’ 7 Up to 52 ch. 5V ADC (16x12-bit, 36x10-bit) resolution • в€’ Up to 52 ch ADC 16x12bit, 36x10 Bit 64 message buffers each, full CAN 2.0 spec ANALOG в€’ TM 1.5 Mbyte embedded program flash 64 Kbyte embedded data Flash (for EE emulation) Up to 64 MHz non-sequential access with 2WS ECC-enabled array with error detect/correct 96Kbyte SRAM (single cycle access, ECCenabled) 16-bit eMIOS module, 64-ch. 32 channel DMA controller Debug: Nexus 2+ I/O: 5V I/O, high flexibility with selecting GPIO functionality Packages: 100LQFP, 144LQFP, 176LQFP, 208MAPBGA (TBD) Boot Assist Module for production and bench programming Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. В© 2012 Freescale Semiconductor, Inc. • The crossbar increases overall system performance by providing up to two simultaneous connections between в€’ 3 master ports Example Access: • • z0 instruction fetch from flash eDMA SRAM access e200z0 uses 2 master ports в€’ • • CPU e200z0 3 slave ports 32-bit address and 32-bit data on Bolero Data eDMA Controller Instr: Crossbar The eDMA offloads the processor tasks for data movement Flash controller SRAM • Timers can initiate complex DMA sequences (channel link) to have automatic peripheral management without CPU load TM IP Bus i/f to peripherals and I/Os FLASH Crossbar 3Mx3S 8 Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. В© 2012 Freescale Semiconductor, Inc. Summary Real Time Operating Systems, Virtualization and Middleware Trace-powered multi-core debugging that FINDS EVERY BUG Qorivva MPC55xx, 56xx, 57xx Powertrain, body, safety ADAS, chassis Nexus JTAG and Trace Probes TM Professional development tools and world’s fastest Qorivva compilers Support & Services 9 Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. В© 2012 Freescale Semiconductor, Inc. TM Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service TM names are the property of their respective owners. В© 2012 Freescale Semiconductor, Inc. . • Overview of Platform Clocks时钟模块总览 • FIRC (16 MHz), FXOSC (4 – 16 MHz), SIRC (128 KH z), SXOSC (32 KHz) • FMPLL • CMU 10 Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. В© 2012 Freescale Semiconductor, Inc. MPC560xB CGM clock sources • Main clock sourcesпј€дё»ж—¶й’џжєђпј‰ в€’ 4-16 MHz external crystal/oscillator -> FXOSC (Fast eXternal Osc) в€’ 16 MHz internal RC oscillator -> FIRC (Fast Internal RC)  Default system clock after reset  Trimmable • Low power clock sourcesпј€дЅЋеЉџиЂ—ж—¶й’џжєђпј‰ в€’ 32 KHz external crystal/oscillator -> SXOSC (Slow eXternal Osc)  Low power oscillator  Dedicated for RTC/API • 128 KHz internal RC oscillator -> SIRC (Slow Internal RC)  Dedicated for RTC/API and watchdog  Trimmable TM 11 Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. В© 2012 Freescale Semiconductor, Inc. FXOSC 4-16MHz FIRC 16MHz div 1 to 32 FXOSC_DIV FIRC_DIV div 1 to 32 SYSCLK System Clock Selector (ME) FMPLL FIRC FXOSC 32KHz 128KHz CMU SXOSC SIRC SXOSC 32KHz div 1 to 32 SIRC 128KHz div 1 to 32 div 1 to 16 Peripheral Set 1 div 1 to 16 Peripheral Set 2 div 1 to 16 Peripheral Set 3 FIRC_DIV SXOSC_DIV API / RTC SIRC_DIV FXOSC FIRC FMPLL TM RESET SAFE INT Core Platform SWT (Watchdog) CLKOUT Selector 12 div 1/2/4/8 CLOCK OUT Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. В© 2012 Freescale Semiconductor, Inc. • Provides the clock (divided or not) to the core/peripherals • жЏђдѕ›ж—¶й’џпј€е€†йў‘ж€–иЂ…дёЌе€†йў‘пј‰з»™е†…ж ёж€–иЂ…е¤–и®ѕ • Selected by ME_XXX_MC register • йЂљиї‡ME_XXX_MCеЇ„е�е™Ёиї›иЎЊйЂ‰ж‹© SYSCLK FXOSC Core Platform FXOSC_DIV FIRC FIRC_DIV FMPLL TM System Clock Selector (ME) Enable & div 1 to 16 Peripheral Set 1 Enable & div 1 to 16 Peripheral Set 2 Enable & div 1 to 16 Peripheral Set 3 13 Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. В© 2012 Freescale Semiconductor, Inc. Peripheral Set 1 Peripheral Set 2 Peripheral Set 3 All LINFlex modules All FlexCAN modules All eMIOS modules I2C module All DSPI modules CTUL ADC DEx: DIVx: TM Peripheral Set x Divider Enable (Default value 1 = ON) Peripheral Set x Divider x Division Value (1..15) 14 Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. В© 2012 Freescale Semiconductor, Inc. FXOSC 4-16MHz FIRC 16MHz div 1 to 32 FXOSC_DIV FIRC_DIV div 1 to 32 SYSCLK System Clock Selector (ME) FMPLL FIRC FXOSC 32KHz 128KHz CMU SXOSC SIRC SXOSC 32KHz div 1 to 32 SIRC 128KHz div 1 to 32 div 1 to 16 Peripheral Set 1 div 1 to 16 Peripheral Set 2 div 1 to 16 Peripheral Set 3 FIRC_DIV SXOSC_DIV API / RTC SIRC_DIV FXOSC FIRC FMPLL TM RESET SAFE INT Core Platform SWT (Watchdog) CLKOUT Selector 15 div 1/2/4/8 CLOCK OUT Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. В© 2012 Freescale Semiconductor, Inc. • Default clock after resetпј€й‡ЌеђЇеђЋзљ„й»�认时钟) • Division factors ranging from 1, 2, 3....32 • Trimming (+/- 1%) TM 16 Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. В© 2012 Freescale Semiconductor, Inc. TM Bit Name Description 10-15 RCTRIM RC trimming bits 19-23 RCDIV RC division factor 17 Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. В© 2012 Freescale Semiconductor, Inc. FXOSC 4-16 MHz FIRC 16 MHz div 1 to 32 FXOSC_DIV FIRC_DIV div 1 to 32 SYSCLK System Clock Selector (ME) FMPLL FIRC FXOSC CMU 32 KHz SXOSC SIRC 128 KHz SXOSC 32KHz div 1 to 32 SIRC 128KHz div 1 to 32 div 1 to 16 Peripheral Set 1 div 1 to 16 Peripheral Set 2 div 1 to 16 Peripheral Set 3 FIRC_DIV SXOSC_DIV API / RTC SIRC_DIV FXOSC FIRC FMPLL TM RESET SAFE INT Core Platform SWT (Watchdog) CLKOUT Selector 18 div 1/2/4/8 CLOCK OUT Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. В© 2012 Freescale Semiconductor, Inc. • Division factors ranging from 1, 2, 3....32(分频系数范围) • Bypass mode to enable external clock sourceпј€ж—Ѓи·ЇжЁЎејЏдЅї иѓЅе¤–йѓЁж—¶й’џпј‰ • Clock ready interrupt flag (时钟准备完成дёж–ж ‡иЇ†пј‰ в€’ Configurable start-up time (EOCV[7:0] * 512 = 0 .. 255*512)пј€еЏЇ 配置开始时间 TM 19 Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. В© 2012 Freescale Semiconductor, Inc. FXOSC 4-16MHz FIRC 16MHz div 1 to 32 FXOSC_DIV FIRC_DIV div 1 to 32 SYSCLK System Clock Selector (ME) FMPLL FIRC FXOSC 32KHz 128KHz CMU SXOSC SIRC SXOSC 32KHz div 1 to 32 SIRC 128KHz div 1 to 32 div 1 to 16 Peripheral Set 1 div 1 to 16 Peripheral Set 2 div 1 to 16 Peripheral Set 3 FIRC_DIV SXOSC_DIV API / RTC SIRC_DIV FXOSC FIRC FMPLL TM RESET SAFE INT Core Platform SWT (Watchdog) CLKOUT Selector 20 div 1/2/4/8 CLOCK OUT Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. В© 2012 Freescale Semiconductor, Inc. • Control SIRC state (ON/OFF) in STANDBY Mode. In all other modes e.g. RUN, HALT, the SIRC is always ONпј€ењЁ з‰еѕ…模式下控制SIRCзЉ¶жЂЃгЂ‚ењЁж‰Ђжњ‰жЁЎејЏдё‹SIRC处于开状态) • Division factors ranging from 1, 2, 3....32(分频系数) • Trimming (+/- 2%)пј€еѕ®и°ѓпј‰ TM 21 Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. В© 2012 Freescale Semiconductor, Inc. FXOSC 4-16 MHz FIRC 16 MHz div 1 to 32 FXOSC_DIV FIRC_DIV div 1 to 32 SYSCLK System Clock Selector (ME) FMPLL FIRC FXOSC CMU 32 KHz SXOSC SIRC 128 KHz SXOSC 32 KHz div 1 to 32 SIRC 128 KHz div 1 to 32 div 1 to 16 Peripheral Set 1 div 1 to 16 Peripheral Set 2 div 1 to 16 Peripheral Set 3 FIRC_DIV SXOSC_DIV API / RTC SIRC_DIV FXOSC FIRC FMPLL TM RESET SAFE INT Core Platform SWT (Watchdog) CLKOUT Selector 22 div 1/2/4/8 CLOCK OUT Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. В© 2012 Freescale Semiconductor, Inc. • SXOSC 32KHz power down control and status • Division factors ranging from 1, 2, 3....32(分频系数) • Bypass modeпј€ж—Ѓи·ЇжЁЎејЏпј‰ • Clock ready interrupt flag(时钟准备完成дёж–ж ‡еї—пј‰ • • Configurable start-up time (EOCV[7:0] * 512 = 0 .. 255*512)пј€еЏЇй…Ќ 置开始时间) Not available on MPC5601/2D TM 23 Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. В© 2012 Freescale Semiconductor, Inc. Bit Name Description 11-15 LPRCTRIM Trimming bits 19-23 LPRCDIV Division factor 27 S_LPRC SIRC Clock Status 31 LPRCON_STDBY Control in STANDBY mode Note: The LPRCTRIM bits are programmed at the factory. They cannot be read, but if you do a 32 bit write to the register to set the other configurable bits you will OVERWRITE the original trim values. To configure those bits, perform a 16 bit write to that section of the register instead.пј€LPRCTRIMжњ‰е·ҐеЋ‚й»�认配置,但ж�ЇеЏЇд»Ґе†™е…Ґ16дЅЌж–° еЂјпј‰ TM 24 Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. В© 2012 Freescale Semiconductor, Inc. FXOSC 4-16 MHz FIRC 16 MHz div 1 to 32 FXOSC_DIV FIRC_DIV div 1 to 32 SYSCLK System Clock Selector (ME) FMPLL FIRC FXOSC CMU 32 KHz SXOSC SIRC 128 KHz SXOSC 32 KHz div 1 to 32 SIRC 128 KHz div 1 to 32 div 1 to 16 Peripheral Set 1 div 1 to 16 Peripheral Set 2 div 1 to 16 Peripheral Set 3 FIRC_DIV SXOSC_DIV API / RTC SIRC_DIV FXOSC FIRC FMPLL TM RESET SAFE INT Core Platform SWT (Watchdog) CLKOUT Selector 25 div 1/2/4/8 CLOCK OUT Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. В© 2012 Freescale Semiconductor, Inc. • The purpose of the FMPLL is to generate a 64 MHz max (120 MHz target for Bolero 2M/4M) system clock from the FXOSC. пј€FMPLL用来从FXOSCзі»з»џж—¶й’џдє§з”џ64MHZ) • The FMPLL operating modes(ж“ЌдЅњжЁЎејЏпј‰ в€’ Power downпј€ж–з”µпј‰ в€’ Normalпј€ж™®йЂљпј‰ в€’ Normal with frequency modulation(普通频率调制) в€’ Progressive clock switchingпј€жҐиї›ж—¶й’џе€‡жЌўпј‰ в€’ 1:1 • These modes are controlled by two registers(模式控制寄 е�е™Ёпј‰ в€’ Control Register (CR)(控制寄е�е™Ёпј‰ в€’ Modulation Register (MR)(调制寄е�е™Ёпј‰ TM 26 Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. В© 2012 Freescale Semiconductor, Inc. TM Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. В© 2012 Freescale Semiconductor, Inc. . • The Mode Entry Module (MC_ME) provides SYSTEM modes and USER modes пј€жЁЎејЏиї›е…ҐжЁЎеќ—жЏђдѕ›дє†зі»з»џе’Њз”Ёж€·дё¤з§ЌжЁЎејЏпј‰ в€’ SYSTEM: RESET, DRUN (Default RUN), SAFE and TESTпј€зі»з»џжЁЎејЏпј‰ в€’ USER: RUN(0..3), HALT, STOP and STANDBYпј€з”Ёж€·жЁЎејЏпј‰ • For each mode the following parameters are configured/controlled: (每种模式有下列参数进行配置和控制) в€’ System clock sources (ON/OFF)пј€зі»з»џж—¶й’џжєђејЂе…іпј‰ в€’ System clock source selectionпј€зі»з»џж—¶й’џйЂ‰ж‹©пј‰ в€’ Flash power mode (ON, low power, power down)пј€Flashз”µжєђжЁЎејЏпј‰ в€’ Pad output driver state (Can disable Pad Output drivers, enabling high impedance mode)(管脚输出状态,可以禁жўж€–иЂ…й«�й�»пј‰ в€’ Peripherals’ clock (gated/clocked)пј€е¤–и®ѕж—¶й’џпј‰ TM 28 Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. В© 2012 Freescale Semiconductor, Inc. User Modesз”Ёж€·жЁЎејЏ System Modesзі»з»џжЁЎејЏ SW request软件需求 Recoverable RUN 0 HW failure可恢复硬件失效 Low Power ModesдЅЋеЉџиЂ—жЁЎејЏ SAFE HALT RUN 1 RESET DRUN STOP RUN 3 Non recoverable HW failure不可恢复硬件失效 TEST STANDBY HW triggered transition硬触发 SW triggered transition软触发 TM 29 Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. В© 2012 Freescale Semiconductor, Inc. • RESET в€’ Completely managed by hardware(完全硬件管理实现) в€’ The flash initialization is executed by hardware while device in RESETпј€FlashењЁRESET时的初始化有硬件来完成) • DRUN (Default RUNй»�认RUNжЁЎејЏ) в€’ Mode automatically entered out of RESET or STANDBYпј€и‡ЄеЉЁи·іе‡є RESETе’ЊSTANDBY) в€’ This mode is used by the application to configure the device out of RESET or out of STANDBY(这个模式用于应用程序配置设备跳出 RESETж€–иЂ…STANDBY) • SAFE automatically entered on “recoverable HW failure detection” like oscillator, PLL or voltage failure(可恢复失效例如晶振,PLL失效) в€’ Device in a SAFE configuration with sysclk = FIRC & output at high impedance (if configured so)(设备在安全模式配置下……) в€’ Mode • TEST в€’ Allow device self tests like flash checksum, RAM BIST (自测闪е�RAMпј‰ TM 30 Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. В© 2012 Freescale Semiconductor, Inc. • • • RUN[0..3] в€’ Full performance availableпј€RUN模式,所有特性使能) в€’ Support WAIT instruction to stop the core with the capability to restart with very short latency (< 4 system clocks)пј€ж”ЇжЊЃ WAIT指令停жўж ёеїѓпјЊеЏЇд»ҐжњЂеї«4个系统时钟恢复单片机) HALT в€’ Core stopped but system clock can remain the same as in RUN modeпј€ж ёеїѓеЃњжўпјЊж—¶й’џдїќжЊЃпј‰ в€’ Selective peripheral clock gatingпј€еЏЇйЂ‰ж‹©зљ„е¤–и®ѕж—¶й’џеЃњжўпј‰ в€’ Flash can be put in low power modeпј€flashиї›е…ҐдЅЋеЉџиЂ—жЁЎејЏпј‰ в€’ Useful to reduce device consumption during a slow serial communication, e.g. LIN frame transmission or receptionпј€ењЁиѕѓе°‘ 通讯时实用的减少设备功率消耗的方法,比如LINпј‰ в€’ Exit by interrupt, pin transition, or RTC/API timeoutпј€дёж–йЂЂе‡єпјЊз®Ўи„љдј иѕ“ж€–иЂ…ж—¶й—ґдёж–пј‰ STOP в€’ • Provides additional low power features beyond HALT, including:пј€жЏђдѕ›жЇ”HALT更低功耗)  Clock to the core is disabledпј€coreж—¶й’џз¦Ѓжўпј‰  May be configured to switch off most of the peripherals(可以切ж–大多的外设) STANDBY в€’ Mode providing the lowest possible consumptionпј€дѕ›з»™еЏЇиѓЅзљ„жњЂе°ЏеЉџиЂ—пј‰ в€’ Most functions (digital and analog) of the device are not powered(大多功能仍旧保留) в€’ Powers only the back-up logic (e.g. RTC/API, preserves wake-up inputs, part of SRAM) в€’ On STANDBY exit, the processor uses the RESET vector or a SRAM Vector if enabled  в€’ WISR register in the Wake Up Unit can be used to verify the wake up source Exit by RTC/API timeout or pin transition (退出机制) TM 31 Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. В© 2012 Freescale Semiconductor, Inc. • Mode Enable Register пј€жЁЎејЏе…Ѓи®ёеЇ„е�е™Ёпј‰ в€’ • Mode Config Register (one for each mode)пј€жЁЎејЏй…ЌзЅ®еЇ„е�е™Ёпј‰ в€’ в€’ • Enable each peripheral to chose one of the 7 Run and LP Peripheral Control Registersпј€дЅїиѓЅе¤–и®ѕиїђиЎЊењЁ7з§Ќrun和低功耗外设控制寄е�е™Ёпј‰ Mode Entry Control RegisterжЁЎејЏиї›е…ҐеЇ„е�е™Ё в€’ в€’ • Define which clocks are on/off in each mode for a peripheral(定义外设时钟源 ејЂ/е…іпј‰ Peripheral Control register Register (0-143)外设控制寄е�е™Ё в€’ • Define characteristics for each mode(定义每种模式的特性) Voltage reg, Flash, FMPLL, FXOSC, FIRC on/off; which sysclock to use Run/LP Peripheral Control Register (0-7)外设控制寄е�е™Ё в€’ • Define which modes are allowed(定义那些模式允许) Select mode and write key Select mode and write inverse key Mode Entry Global Status Registerе…Ёе±ЂзЉ¶жЂЃеЇ„е�е™Ё в€’ Read mode transition status bit and wait until it clearsиЇ»еЏ–зЉ¶жЂЃеЇ„е�器直到清零 TM 32 Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. В© 2012 Freescale Semiconductor, Inc. • Each mode has a Mode Configuration registerжЇЏз§ЌжЁЎејЏйѓЅжњ‰дёЂдёЄжЁЎ ејЏй…ЌзЅ®еЇ„е�е™Ё в€’ • Example: ME_DRUN_MC Key RUN mode configurations are circled: 0 1 2 3 4 5 6 7 reserved 16 17 18 19 20 21 22 23 8 9 PDO reserved 24 25 PLL ON reserved • PDO: Disable pad outputs (put in hi Z) • MVRON: control VREG on/off • CFLAON/DFLAON: control code / data flash module 10 11 MVR ON 26 27 OSC ON IRC ON 12 13 DFLAON 28 14 15 CFLAON 29 30 31 SYSCLK • PLLON: control PLL on/off • OSCON: control XOSC on/off • IRCON: control IRC16M on/off • SYSCLK: select system clock  Normal  Low Power  Power Down TM 33 Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. В© 2012 Freescale Semiconductor, Inc. • It is useful to keep a table of mode configurations used • Example below uses two USER modes. (Per AN2865 rev 4) TM 34 Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. В© 2012 Freescale Semiconductor, Inc. • Modes must be enabled before entering them per the Mode Enable registerењЁиї›е…ҐжЁЎејЏе‰Ќеї…йЎ»й¦–е…€йЂљиї‡дЅїиѓЅеЇ„е�器使能他们 • An interrupt is generated if attempt is made to enter disabled mode如果没有使能的情况下进入会产生дёж– TM 35 Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. В© 2012 Freescale Semiconductor, Inc. S_CURRENT_Mode – Current device mode status 0000 =RESET 0001 =TEST 0010 =SAFE 0011 =DRUN 0100 =RUN0 0101 =RUN1 0110 =RUN2 0111 =RUN3 1000 =HALT0 1010 =STOP0 1101 =STANDBY0 TM S_PDO - Output power-down status specifies output powerdown status of I/Os. This bit is asserted whenever outputs of pads are forced to high impedance state or the pad’s power sequence driver is switched off.еЅ“IOиѕ“е‡єж€ђй«�й�»жЂЃ S_MTRANS - Mode transition statusжЁЎејЏиЅ¬жЌўзЉ¶жЂЃ 0 Mode transition process is not activeиЅ¬жЌўжІЎжњ‰ејЂеђЇ 1 Mode transition is ongoingжЁЎејЏиЅ¬жЌўжЈењЁиї›иЎЊ S_DC - Device current consumption status设备功耗状态 0 = Device consumption is low enough to allow powering down of main voltage regulator(设备功耗低至可以移除电压源) 1 = Device consumption requires main voltage regulator to remain powered regardless of mode configuration(设备需要保 з•™з”µжєђ 36 Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. В© 2012 Freescale Semiconductor, Inc. MS_MVR - Main voltage regulator status 0 = Main voltage regulator is not ready 1 = Main voltage regulator is ready for use S_DFLA - Data flash availability status 00 = Data flash is not available 01 = Data flash is in power-down mode 10 = Data flash is in low-power mode 11 = Data flash normal mode & available for use S_FMPLL - FMPLL Locked Status 0 =FMPLL is not stable 1 = FMPLL is providing stable clock F_FXOSC – Fast external crystal osc (4-16 MHz) 0 = Not stable 1= Stable TM S_ CFLA - Code flash availability status 00 =Code flash is not available 01 =Code flash is in power-down mode 10 =Code flash is in low-power mode 11 =Code flash is in normal mode and available for use F_FIRC - Fast internal RC osc (16MHz) 0 = Not stable 1= Stable S_SYSCLK - System clock switch status: Identifies clock currently used by the system. 0000 =16 MHz int. RC osc. 0001 =div. 16 MHz int. RC osc. 0010 =4-16 MHz ext. XTAL osc. 0011 =div. ext. XTALl osc. 0100 =freq. mod. PLL 1111 = System clock is disabled 37 Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. В© 2012 Freescale Semiconductor, Inc. • Each peripheral can be associated with a particular clock gating policy每个外设都可以和一个特殊时钟关ж–з–з•Ґе…іиЃ” • The policy is determined by two groups of peripheral configuration registers:з–з•Ґе†іе®љдєЋдё¤з»„е¤–и®ѕй…ЌзЅ®еЇ„е�е™Ё в€’ ME_RUN_PC0:7 for RUN modes в€’ ME_LP_PC0:7 for Low Power modes • Clocks to peripherals are gated off unless enabled for that mode 外设时钟处于关ж–状态,除非在那种模式下被使能 в€’ Example (per AN2865 rev 4): TM 38 Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. В© 2012 Freescale Semiconductor, Inc. Defines a selection of 8 possible RUN mode configurations for a peripheral定义 е¤–и®ѕењЁRUNжЁЎејЏеЏЇиѓЅзљ„8з§Ќй…ЌзЅ® TM 39 Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. В© 2012 Freescale Semiconductor, Inc. For each peripheral, there is a ME_PCTLx register to control clock gating to that peripheral:жЇЏз§Ќе¤–и®ѕйѓЅжњ‰дёЂдёЄд»…е�е…¶з”ЁжќҐжЋ§е€¶ж—¶й’џе…іж– - Selects one of the 8 Run peripheral set configurations - Selects one of the 8 Low Power peripheral set configurations - Enables/disables freezing the clock during debug PERIPHERAL 143 PERIPHERAL 3 PERIPHERAL 2 PERIPHERAL 1 TM 40 Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. В© 2012 Freescale Semiconductor, Inc. • Software handled transition в€’A transition is requested writing a key protected sequence in ME_MCTL в€’ Mode Entry configures the modules according to the ME_xxx_MC register of the target modeжЁЎејЏе…ҐеЏЈжЊ‰з…§MExxеЇ„е�е™Ёж‰ЂеЇ№еє”жЁЎејЏй…ЌзЅ®жЁЎ еќ— в€’ Once all modules are ready, the new mode is enteredж‰Ђжњ‰жЁЎеќ—е°±з»ЄпјЊж–° жЁЎејЏиї›е…Ґ в€’ Transition completion signalling: status bit/interruptжЁЎејЏиЅ¬жЌўе®Њж€ђ в€’ Note: Modification of a ME_xxx_MC register (even the current one) is taken into account on next mode “xxx” entryеЇ„е�е™Ёй…ЌзЅ®ењЁдё‹ж¬ЎжЁЎејЏиї›е…Ґ з”џж•€ • Hardware triggered transition硬件触发转换 в€’ Exit from low power modeд»ЋдЅЋеЉџиЂ—йЂЂе‡є в€’ SAFE transition caused by hardware failure硬件失效导致的SAFEиЅ¬жЌў в€’ RESET transition caused by hardware failure硬件故障导致重启转换 TM 41 Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. В© 2012 Freescale Semiconductor, Inc. Example: Peripheral Status Register 0иЊѓдѕ‹пјље¤–и®ѕзЉ¶жЂЃеЇ„е�е™Ё в€’ Each bit indicates whether peripheral is frozen or activeжЇЏдёЄдёєеЇ№еє”е¤–и®ѕзЉ¶жЂЃ TM 42 Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. В© 2012 Freescale Semiconductor, Inc. • RUN mode configurations allow(RunжЁЎејЏй…ЌзЅ®е…Ѓи®ёпј‰ 1. Enabling/disabling system clock sourcesпј€дЅїиѓЅ/з¦Ѓжўзі»з»џж—¶й’џпј‰ 2. Selecting appropriate system clockпј€йЂ‰ж‹©еђ€йЂ‚зљ„зі»з»џж—¶й’џпј‰ 3. Gating clocks to peripheralsпј€е…іж–е¤–и®ѕж—¶й’џпј‰ • Peripheral clocks can be divided as needed on a set basis • Example PLL: Initializing System Clock TM 43 Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. В© 2012 Freescale Semiconductor, Inc. • Mode Enable Register жЁЎејЏдЅїиѓЅеЇ„е�е™Ё в€’ • Define which modes are allowed定义那种模式ж�Їе…Ѓи®ёзљ„ Mode Config Register (one for each mode)жЁЎејЏй…ЌзЅ®еЇ„е�е™Ё в€’ Define characteristics for each mode定义每种模式的特点 в€’ Voltage reg, flash, FMPLL, FXOSC, FIRC on/off; which sysclock to use • Run/LP Peripheral Control Register (0-7)外设控制寄е�е™Ё в€’ Define • which clocks are on/off in each mode for a peripheral Peripheral Control register Register (0-143)外设控制寄е�е™Ё в€’ Enable each peripheral to chose one of the 7 Run and LP Peripheral Control Registers • Mode Entry Control Register в€’ Select mode and write key в€’ Select mode and write inverse key • Mode Entry Global Status Register в€’ Read mode transition status bit and wait until it clears TM 44 Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. В© 2012 Freescale Semiconductor, Inc. TM Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. В© 2012 Freescale Semiconductor, Inc. . • Two elements to total power:所有功耗的两种特 еѕЃ в€’Dynamic Power в€’Static Power TM – Run CurrentеЉЁжЂЃеЉџиЂ— – Stop Currentйќ™жЂЃеЉџиЂ— 46 Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. В© 2012 Freescale Semiconductor, Inc. Dynamic PowerеЉЁжЂЃеЉџиЂ— • Basically caused by charging and discharging the gates of the millions of MOS transistors and their interconnects. еџєжњ¬дёЉж�Їз”± дєЋе‡ з™ѕдё‡зљ„MOSз®Ўзљ„ејЂеђ€е……ж”ѕз”µеј•иµ·зљ„ TM 47 Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. В© 2012 Freescale Semiconductor, Inc. Current proportional to capacitance and switching speed 功耗和芯片的电容值和开关速度成жЈжЇ” Smaller technology = Smaller transistors = Smaller gates Smaller capacitances = Reduced power! • и¶Ље°Џзљ„дё‰жћЃз®Ўе®№еЂјпјЊеЉџиЂ—и¶Ље°Џ Increased frequencies = Faster switching speeds Larger currents = Increased power • 芯片频率的升й«�导致功耗升й«� Fortunately…the reduced capacitance wins out over the faster switching speeds. е№ёиїђзљ„ж�Їе®№еЂје‡Џе°‘的功耗大于频率 еўћеЉ зљ„еЉџиЂ— Lower overall dynamic power TM 48 Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. В© 2012 Freescale Semiconductor, Inc. Static Powerйќ™жЂЃеЉџиЂ— • Static leakage is a result of leakage current due to the finiteresistance of the off transistors between power and ground that exist whenever power is applied to a CMOS circuit. жјЏз”µжµЃ • Current is highly dependent on the threshold voltage.з”µжµЃдёҐж јеЏ—е€¶дєЋз”µеЋ‹й�ЂеЂј • As technology scales to ever smaller dimensions, supply voltage levels are likewise scaled. е·Ґи‰єзљ„ж”№еЏ�дїѓдЅїз”µеЋ‹ж°ґе№із›ёеє”ж”№еЏ� • To improve circuit speed, the threshold voltages are also decreased. ж”№е–„з”µи·ЇйЂџеє¦пјЊз”µеЋ‹й�ЂеЂјй™ЌдЅЋ • This decrease in threshold voltage results in an exponential increase in the subthreshold leakage current !!!!з”µеЋ‹й�ЂеЂјзљ„降低导致相应的漏 з”µжµЃжЊ‡ж•°зє§еўћй•ї • Becoming a much larger part of the total power equation!иї™ж€ђдёєжЂ»еЉџ 耗消耗的巨大组成部分 TM 49 Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. В© 2012 Freescale Semiconductor, Inc. • Static and Dynamic Power Trends (Frequency fixed)йќ™жЂЃе’ЊеЉЁ 态电流的趋势(频率一定情况下) Power Dynamic Static Technology shrinking TM 50 Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. В© 2012 Freescale Semiconductor, Inc. • Trend for static power is upйќ™жЂЃз”µжµЃдёЉж¶Ё • Even though dynamic power trends lower…increased requirements for performance mean that the increased frequency offsets any savings made through technology.纵然动态电流降低,增强的性能需 求使得频率增й«�,抵消了工艺改进的节省功耗 • Overall…Power is going UP !总之,功耗上涨 TM 51 Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. В© 2012 Freescale Semiconductor, Inc. What can be done to “defy” physics?如何克服物理特性? Clock managementж—¶й’џз®Ўзђ† • Ability to stop clocks on a per module basisеЃњжўжЁЎеќ—ж—¶й’џзљ„иѓЅ еЉ› • Ability to divide down system clock to peripheralsй™ЌйЂџиѓЅеЉ› On board clockingжќїзє§ж—¶й’џ • Part can self clock without PLL部分可以不需要PLLзљ„и‡Єз”Ёж—¶й’џ • 16 MHz internal Osc Power gatingе…іж–з”µжєђ • Literally removing power to large areas of siliconйЂђжҐе…іж–з”µжєђ TM 52 Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. В© 2012 Freescale Semiconductor, Inc. User Modes Low Power Modes System Modes Recoverable HW failure SW request RUN 0 SAFE HALT RUN 1 RESET DRUN STOP RUN 3 Non recoverable HW failure TEST STANDBY HW triggered transition SW triggered transition TM 53 Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. В© 2012 Freescale Semiconductor, Inc. • HALT в€’ в€’ в€’ в€’ • STOP в€’ • Core stopped but system clock can remain the same as in RUN mode Selective peripheral clock gating Flash can be put in low power mode Useful to reduce device consumption during a slow serial communication, e.g. LIN frame transmission or reception or providing PWM output Provides additional low power features beyond HALT, including:  System clock can be disabled  PLL is always disabled STANDBY в€’ в€’ в€’ Mode providing the lowest possible consumption Most functions (digital and analog) of the device are not powered Powers only the back-up logic (e.g. RTC/API, preserves wake-up lines, part of SRAM) There is no “pad keeper” function such as on MPC5510  I/O other than wake-up lines go to high impedance, so external pullups/pulldowns may be needed  в€’ в€’ MPC560xB implements one standby mode: STANDBY0 On STANDBY exit, the processor uses the RESET vector or a SRAM vector if enabled  WISR register in the Wake Up Unit can be used to verify the wake up source TM 54 Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. В© 2012 Freescale Semiconductor, Inc. Key low power mode configuration controls are circled: 0 1 2 3 4 5 6 7 reserved 16 17 18 19 20 21 22 23 8 9 PDO reserved 24 25 PLL ON reserved • PDO: Disable pad outputs (put in hi Z) • MVRON: control VREG on/off • CFLAON/DFLAON: control code / data flash module 10 26 OSC ON 11 MVR ON 27 IRC ON 12 13 DFLAON 28 14 15 CFLAON 29 30 31 SYSCLK • PLLON: control PLL on/off • OSCON: control XOSC on/off • IRCON: control IRC16M on/off • SYSCLK: select system clock  Normal  Low Power  Power Down TM 55 Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. В© 2012 Freescale Semiconductor, Inc. Peripheral Control Registers also specify peripheral clock gating policy for low power by specifying one of 8 low power configuration registers (ME_LP_PC0:7) PERIPHERAL 143 PERIPHERAL 3 PERIPHERAL 2 PERIPHERAL 1 Example: 3 peripherals sharing a single low power peripheral configuation TM 56 Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. В© 2012 Freescale Semiconductor, Inc. Defines a selection of 8 possible LP mode configurations for a peripheral TM 57 Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. В© 2012 Freescale Semiconductor, Inc. • The MCU peripherals are allocated to various power domains • 单片机外设分配了多个区域 • The PCU allows users to remove or apply power to a power domain depending on the operating modeе…Ѓи®ёз”Ёж€·з§»й™¤еЉ иЅЅењЁ жџђдёЄеЊєеџџзљ„з”µжєђењЁз›ёеЇ№еє”зљ„ж“ЌдЅњжЁЎејЏдё‹ Power Domain Contains 0 Minimal circuitry for low power, including first 8 KB SRAM Always ON 1 The rest of the device except SRAM STANDBY: OFF Other modes: ON 2 SRAM other than the first 8KB SRAM Configurable for each mode TM 58 State Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. В© 2012 Freescale Semiconductor, Inc. • Each time the MCU changes mode, the PCU: в€’ Evaluates the required status of each power domain в€’ Provides controlled power-up or power-down of the power domain (if required) • Only one power domain (2) can be controlled by the PCU в€’ Power • domains 0 and 1 are not controllable A status register indicates the current state of each power domain TM 59 Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. В© 2012 Freescale Semiconductor, Inc. TM 60 Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. В© 2012 Freescale Semiconductor, Inc. TM 61 Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. В© 2012 Freescale Semiconductor, Inc. • Before entering low power mode:进入模式之前 в€’ Configure modes and peripherals (mode registers, peripheral control registers)й…ЌзЅ®жЁЎејЏе’Ње¤–и®ѕпј€жЁЎејЏеЇ„е�器,外设控制寄е�е™Ёпј‰ в€’ Transition to RUN modeиЅ¬жЌўе€°RUNжЁЎејЏ в€’ Configure wake up pins (if necessary)配置唤醒管脚 в€’ Configure wake up timers (RTC/API)配置唤醒计数器 в€’ Enable wake up pins使能唤醒管脚 в€’ Enable wake up timers使能唤醒计数器 в€’ Configure where you will wake up (RGM_STDBY reg, BOOT_FROM_BKP_RAM)配置唤醒源 • Enter standby mode. (ME_MCTL. Target mode + key, Target mode+ invkey)иї›е…ҐstandbyжЁЎејЏ TM 62 Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. В© 2012 Freescale Semiconductor, Inc. • PURPOSE: Reduce overall device power consumption в€’ Power switchingз›®зљ„пјље‡Џе°ЏжЂ»дЅ“е¤–и®ѕеЉџиЂ—  Power can be saved by disconnecting parts of the device from the power supply via a power switching可以通过开关移除外设电源  The device is grouped into multiple parts having this capability which are called “power domainsвЂќе¤–и®ѕеЏЇд»Ґиў«е€†ж€ђе‡ дёЄеЏЇе…іж–区域来尽可能省电  When a power domain is disconnected from the supply, the power consumption is reduced to zero in that domainеЅ“жџђдёЄеЊєеџџж–电后可以减少 еЉџиЂ—  Any status information of such a power domain is lostеЅ“е‰ЌеЊєеџџзљ„зЉ¶жЂЃдїЎжЃЇ 消失  When re-connecting a power domain to the supply voltage, the domain draws an increased current until the power domain reaches its operational voltageй‡Ќж–°иїћжЋҐиЇҐеЊєеџџдјљйЂђжҐеўћеЉ еЉџиЂ—з›ґе€°еЉ иЅЅзљ„з”µеЋ‹зЁіе®љ TM 63 Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. В© 2012 Freescale Semiconductor, Inc. • Power Control电源控制 в€’ Power domains are controlled on a device mode basis в€’ For each mode, software can configure whether certain power domains are connected to the supply voltage (power-up state) or disconnected (power-down state) (Power Domain 2 for Bolero) в€’ Maximum power saving is reached by entering the STANDBY0 mode в€’ On each mode change request, the MC_PCU evaluates the power domain settings in the power domain configuration registers and initiates a power-down or a power-up sequence for each individual power domain в€’ The power-up/down sequences are handled by finite state machines to ensure a smooth and safe transition from one power state to the other STANDBY Mode в€’ Exiting the STANDBY0 mode can only be done via a system wakeup event because all power domains other than power domain #0 are in the power-down state TM 64 Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. В© 2012 Freescale Semiconductor, Inc. TM Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. В© 2012 Freescale Semiconductor, Inc. . RTC is a free running counter used for time keeping applications в€’ Can generate interrupt independent of RUN or Low Power Mode в€’ Can first generate a wakeup for low power exit, then interrupt в€’ Continues counting through resets except for power up reset Three selectable counter clock sources with optional prescalers: в€’ SIRC (128 KHz) в€’ SXOSC (32 KHz) в€’ FIRC (16 MHz) API provides regular timeouts for wakeup / interrupt в€’ Compares lower 10 bits RTC to 10 bit compare value в€’ At match, automatically adds programmed value for next compare RTC provides longer timeout for wakeup / interrupt в€’ Compares 12 bits above API to 12 bit compare value TM 66 Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. В© 2012 Freescale Semiconductor, Inc. TM 67 Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. В© 2012 Freescale Semiconductor, Inc. TM 68 Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. В© 2012 Freescale Semiconductor, Inc. TM 69 Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. В© 2012 Freescale Semiconductor, Inc. TM 70 Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. В© 2012 Freescale Semiconductor, Inc. TM Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. В© 2012 Freescale Semiconductor, Inc. . External wakeup/interrupt support with外部唤醒дёж–ж”ЇжЊЃ в€’ в€’ в€’ в€’ в€’ в€’ в€’ Three system interrupt vectors for up to 18 interrupt sources for Bolero MPC5602/3/4B Four system interrupt vectors for up to 24 interrupt sources for Bolero MPC5605/6/7B Analog glitch filter per each wakeup line每个唤醒线路都有模拟错误滤波 Independent interrupt mask独立的дёж–е±Џи”Ѕ Edge detection边沿侦测 Configurable system wakeup triggering from all interrupt sources Configurable pull-up (recommended)可配置上拉 Non-maskable interrupt support withдёЌеЏЇе±Џи”Ѕдёж–ж”ЇжЊЃ в€’ в€’ в€’ Edge detection边沿侦测 One NMI source with bypassable glitch filterдёЂдёЄдёЌеЏЇе±Џи”Ѕдёж–源并且支持旁路错误滤波器 Independent interrupt destination: non-maskable interrupt, critical interrupt, or machine check request On-chip wakeup support片上唤醒支持 в€’ в€’ Two wakeup sources (RTC and API)两个唤醒源 Wakeup status mapped to same register as external wakeup/interrupt status TM 72 Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. В© 2012 Freescale Semiconductor, Inc. • The WKPU remains powered in low power mode • Each pin can:唤醒单元在低功耗模式下保持开机状态 в€’ Issue only a wakeup, or an interrupt, or both产生唤醒,дёж– в€’ Be sensitive on rising, falling or both edgesеЇ№дёЉеЌ‡дё‹й™ЌжІїж•Џж„џ в€’ Has an analog glitch filter, which can be separately enabled в€’ Internal pull-up内部上拉 In addition the chip provides external interrupts through different external pins芯片提通过外部管脚供外 йѓЁдёж– TM 73 Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. В© 2012 Freescale Semiconductor, Inc. • • Interrupt Vector 0 в€’ в€’ API в€’ RTC PF[13], GPIO[93], E1UC[26], WKUP[16] (not in 100-pin package) в€’ PA[2], GPIO[2], E0UC[2], WKUP[3] в€’ PB[1], GPIO[17], CAN0RX, WKUP[4] PG[3], GPIO[103], E1UC[12], WKUP[17] (not in 100-pin package) в€’ PG[5], GPIO[105], E1UC[14], WKUP[18] (not in 100-pin package) в€’ PC[11], GPIO[43], CAN1RX, CAN4RX2, WKUP[5] в€’ в€’ PE[0], GPIO[64], E0UC[16], CAN5RX2, WKUP[6] в€’ PE[9], GPIO[73], CAN2RX3, CAN3RX2, E0UC[23], WKUP[7] в€’ PA[1], GPIO[1], E0UC[1], NMI, WKUP[2] в€’ • Interrupt Vector 2 • PG[7], GPIO[103], LIN6RX, E1UC[16], E1UC[30], WKUP[20] (on MPC5605/6/7B only) в€’ PG[9], GPIO[105], LIN7RX, E1UC[18], SCK_2, WKUP[21] (on MPC5605/6/7B only) в€’ PB[10], GPIO[26], ANS[2], WKUP[8] в€’ PA[4], GPIO[4], E0UC[4], WKUP[9] PA[15], GPIO[15], CS0_0, SCK_0, WKUP[10] в€’ в€’ PB[3], GPIO[19], LIN0RX, SCL, WKUP[11] в€’ PC[7], GPIO[39], LIN1RX, WKUP[12] PF[9], GPIO[89], CAN3RX, CAN2RX, E1UC[1], CS5_0, WKUP[22] (on MPC5605/6/7B only) в€’ PI[3], GPIO[131], LIN9RX, E0UC[31], WKUP[23] (on MPC5605/6/7B only) в€’ PI[1], GPIO[129], LIN8RX, E0UC[29], WKUP[24] (on MPC5605/6/7B only) в€’ PC[9], GPIO[41], LIN2RX, WKUP[13] в€’ PE[11], GPIO[75], LIN3RX, CS4_1, WKUP[14] в€’ PF[11], GPIO[91], WKUP[15] (not in 100-pin package) TM Interrupt Vector 3 (on MPC5605/6/7B only) в€’ Interrupt Vector 1 в€’ PA[0], GPIO[0], E0UC[0], CLKOUT, WKUP[19] 74 Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. В© 2012 Freescale Semiconductor, Inc. • Table shows wakeup sources for иЎЁж јж�ѕз¤є 唤醒源MPC5604B, MPC5606S • Smaller packages do not contain all ports е°Џе°ЃиЈ…еЏЇиѓЅдёЌеЊ…еђ«ж‰Ђ жњ‰ TM 75 Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. В© 2012 Freescale Semiconductor, Inc. NameеђЌз§° Symbol 符号 Wakeup / Interrupt Status Flag Register WISR Wakeup / Interrupt Rising-Edge Event Enable Register WIREER Wakeup / Interrupt Falling-Edge Event Enable Register WIFEER Interrupt Request Enable Register Wakeup / Interrupt Filter Enable Register Wakeup / Interrupt Pull-up Enable Register Descriptionз›®ж ‡ Flags event as defined by WIREER and WIFEER Enables rising-edge event Enables rising-edge event IRER Enables flags to cause interrupt req. WIFER Enables analog glitch filter on external pad input (filters glitch < 40 ns, passes signals > 1000 ns) WIPUER Enables pull-up on external pad (use for all pads to minimize leakage) NMI Configuration Register NCR Configuration settings for NMI NMI Status Flag Register NSR Holds NMI status flags TM 76 Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. В© 2012 Freescale Semiconductor, Inc. Low power mode configurations allow power savings byдЅЋеЉџиЂ—й…ЌзЅ®е…Ѓи®ёйЂљиї‡ • • • • Turning the main voltage regulator on/off打开关й—дё»з”µеЋ‹и°ѓиЉ‚е™Ё Putting the flash arrays in lower powerе°†й—Єе�иї›е…ҐдЅЋеЉџиЂ— Disabling signal outputs to padsз¦ЃжўдїЎеЏ·иѕ“е‡єе€°з®Ўи„љ Providing a total power switch to most circuits using power domainsжЏђдѕ›з”µжєђејЂе…іе€°ж‰Ђжњ‰зљ„з”µжєђеџџ External input signals or internal timers can cause low power exit • Typical values at room temp for Bolero 1.5M:室温下典型值 в€’ в€’ в€’ в€’ в€’ Run (64 MHz) = 70 mA Halt = 8 mA Stop = 250 ВµA Standby (8k RAM) = 15-20 ВµA Standby (32K RAM) = 30 ВµA TM 77 Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. В© 2012 Freescale Semiconductor, Inc. • Before entering low power mode в€’ Configure modes and peripherals (mode registers, peripheral control registers) в€’ Transition to RUN mode в€’ Configure wake up pins (if necessary) в€’ Configure wake up timers (RTC/API) в€’ Enable wake up pins в€’ Enable wake up timers в€’ Configure where you will wake up (RGM_STDBY reg, BOOT_FROM_BKP_RAM) в€’ Enter standby mode (ME_MCTL. Target mode + key, Target mode+ invkey) TM 78 Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. В© 2012 Freescale Semiconductor, Inc. TM Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. В© 2012 Freescale Semiconductor, Inc. . MPC5604B Starter Trak Board User LEDs Power Status LEDs USB User buttons Pot MCU TM Pin Headers 80 Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. В© 2012 Freescale Semiconductor, Inc. • Steps в€’ Configure modes and peripherals (mode registers, peripheral control registers) в€’ Transition в€’ Setup to RUN mode pin to drive LED в€’ Configure and enable RTC timer (RTC val = 27) в€’ Wait for timeout в€’ Turn LED on в€’ Configure в€’ Turn and enable RTC timer (RTC val = 3) LED off в€’ Configure and enable RTC timer (RTC val = 27) …….. TM 81 Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. В© 2012 Freescale Semiconductor, Inc. • Steps в€’ в€’ в€’ в€’ в€’ в€’ в€’ в€’ в€’ в€’ в€’ в€’ в€’ в€’ Configure modes and peripherals (mode registers, peripheral control registers) Transition to RUN3 mode. Configure Wake Up registers Configure and enable RTC timer (RTC val = 27) Enter STOP mode On RTC timeout Verify RUN3 is current mode Configure pin to drive LED and turn on Configure and enable RTC timer (RTC val = 3) Enter STOP mode On RTC timeout Verify RUN3 in current mode Turn LED off Configure and Enable RTC timer (RTC val = 27) …….. TM 82 Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. В© 2012 Freescale Semiconductor, Inc. • Steps в€’ в€’ в€’ в€’ в€’ в€’ в€’ в€’ в€’ в€’ в€’ в€’ в€’ в€’ Configure modes and peripherals (mode registers, peripheral control registers) Transition to RUN3 mode Configure Wake Up registers Configure and enable RTC timer (RTC val = 27) Enter STOP mode On RTC timeout Verify RUN3 is current mode Configure pin to drive LED and turn on. Configure and enable RTC timer (RTC val = 3) Enter STOP mode On RTC timeout Verify RUN3 in current mode Turn LED off Configure and Enable RTC timer (RTC val = 27) …….. TM 83 Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. В© 2012 Freescale Semiconductor, Inc. • Thank you Freescale on Kaixin Tag yourself in photos and upload your own! Weibo? Please use hashtag #FTF2012# Session materials will be posted @ www.freescale.com/FTF TM 84 Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. В© 2012 Freescale Semiconductor, Inc. TM
© Copyright 2024 Paperzz