Freescale Semiconductor Confidential and Proprietary Information. Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc TM DPTC Presentation Fabrice Sorel Based on IC team material
TM Freescale Semiconductor Confidential and Proprietary Information. Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc Agenda What is DPTC DPTC system overview How the lookup table looks like ? DPTC h/w controller block diagram DPTC control flow
TM Freescale Semiconductor Confidential and Proprietary Information. Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc What is DPTC ? - DPTC stands for Dynamic Process Temperature Compensation - Goal of using this technique is to reduce active power consumption by adjusting supply voltage accordingly to specific process case, chip was fabricated, and ambient temperature. - DPTC provides dynamic adjustment of the supply voltage relatively to the process corner case and temperature of the chip. While design of IC is done for worst case process and hot temperature assumptions, in most cases IC will be manufactured in typical process case and will function in room temperature. Better speed performance of the chip in typical conditions allows reducing supply voltage without impact on chip performance. Concept and implementation of DPTC are protected with several patents
TM Freescale Semiconductor Confidential and Proprietary Information. Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc DPTC system overview DPTC system includes two main components: H/W controller S/W driver H/W controller module performs an estimation about the expected performance, based on : >Existing supply voltage level >IC temperature >IC production case If the combination of the listed parameters provide a high or low expected performance, the supply voltage is changed accordingly based on the lookup table. S/W driver Manages the h/w controller
TM Freescale Semiconductor Confidential and Proprietary Information. Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc How the lookup table looks like ? Basic lookup table:
TM Freescale Semiconductor Confidential and Proprietary Information. Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc System overview Reference counting circuits count results Lookup table Emergency voltage lower Comparator Voltage supply regulator software h/w module vcc level Interrupt service interrupt request Rise/Lower Comparator Lookup table registers lower PMIC SPI interface vcc rise
TM Freescale Semiconductor Confidential and Proprietary Information. Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc DPTC h/w controller block diagram Limits registers Configuration bits Reference circuits
TM Freescale Semiconductor Confidential and Proprietary Information. Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc DPTC control flow
TM Freescale Semiconductor Confidential and Proprietary Information. Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc DPTC control flow DPTC Monitor Daemon PM Driver DPTC Controller ATLAS Driver SPI HardwareOS kernelUser space External hardware PMIC / ATLAS User Configuration 1 Configure 2 3 New Voltage levels 6 4 Change Voltage request 5 Disable, Set thresholds 8 Enable 7 Time out
TM Freescale Semiconductor Confidential and Proprietary Information. Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc End of DPTC presentation
TM Freescale Semiconductor Confidential and Proprietary Information. Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc Backup Slides
TM Freescale Semiconductor Confidential and Proprietary Information. Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc DPTC h/w controller module cont. H/W controller module is tracking the estimated performance by reference circuits (ref_cir_0 … ref_cir_3). When the estimated performance is too low even for one of the reference circuits, an interrupt to increase supply voltage is created. If the estimated performance is too high for all active reference circuits, an interrupt to decrease supply voltage is created. Status bits (VAI [1:0]) provides the information about needed voltage adjustment after the interrupt was created.
TM Freescale Semiconductor Confidential and Proprietary Information. Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc DPTC H/W Controller Programming Model DPTC logic configuration: PMCR register Enable: DEN bit Reference circuits enable (bit per reference circuit): DRCE0, DRCE1, DRCE2, DRCE3 Output interrupt masking: VAIM DPTC performance limits registers: DCVR0 – DCVR3 Upper limit (ULV 10 bits) Lower limit (LLV 10 bits) Emergency limit (ELV 10 bits) In each register (register per reference circuit)
TM Freescale Semiconductor Confidential and Proprietary Information. Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc DPTC H/W Controller Enable Procedure Start (DPTC disabled) Will this ref. cir. be used? Set DRCEx = 0 Set DRCEx = 1 Set DCVRx register: ULV, LLV, ELV for highest voltage from lookup table Y N Set DEN = 1 (enable DPTC) Repeat 4 times (for each reference circuit) END (DPTC enabled)
TM Freescale Semiconductor Confidential and Proprietary Information. Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc DPTC H/W Controller Disable Procedure Start (DPTC enabled) Update ATLAS voltage to max Set DEN = 0 (disable DPTC) END (DPTC disabled)
TM Freescale Semiconductor Confidential and Proprietary Information. Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc DPTC H/W Controller Output When performance of the reference circuits exceeds appropriate limits, an interrupt is generated. Status bits (VAI [1:0] ) provides the information about needed voltage adjustment: 00 no interrupt 01 voltage should be decreased. 10 voltage should be increased. 11 voltage should be increased immediately. Note: if interrupt masking (VAIM) is set, no interrupt will be generated, but status bits still will be updated
TM Freescale Semiconductor Confidential and Proprietary Information. Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc DPTC Linux Driver Description
TM Freescale Semiconductor Confidential and Proprietary Information. Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc A+ DPTC Relationship Diagram DPTC Monitor Human Interface Configuration Embedded Modules OS kernelUser spaceUser External hardware PMIC / ATLAS DPTC Controller SPI ATLAS Driver Power Management Driver Power Management Driver Power Management Driver DPTC Driver
TM Freescale Semiconductor Confidential and Proprietary Information. Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc DPTC Control Flow Chart Start (DPTC irq generated) Mask DPTC interrupt or disables DPTC Send request of voltage update to Atlas END (DPTC is working) Load new performance limits Unmask DPTC interrupt or enable DPTC Wait by real-time timer a voltage update time