PRODUCT DATA SHEET PAC5220 Power Application Controller TM Multi-Mode Power ManagerTM Configurable Analog Front EndTM Application Specific Power DriversTM ARM® CortexTM-M0 Controller Core TM www.active-semi.com Copyright © 2014 Active-Semi, Inc. PAC5220 Power Application Controller TABLE OF CONTENTS 1. General Description........................................................................................................................................... 7 2. PAC Family Applications.................................................................................................................................... 8 3. Product Selection Summary............................................................................................................................... 9 4. Ordering Information.......................................................................................................................................... 9 5. PAC5220 Features........................................................................................................................................... 10 6. Absolute Maximum Ratings.............................................................................................................................. 11 7. Architectural Block Diagram............................................................................................................................. 12 8. Pin Configuration.............................................................................................................................................. 13 8.1. PAC5220QS............................................................................................................................................. 13 9. Pin Description................................................................................................................................................. 14 10. Multi-Mode Power Manager (MMPM)............................................................................................................ 20 10.1. Features................................................................................................................................................. 20 10.2. Block Diagram........................................................................................................................................ 20 10.3. Functional Description............................................................................................................................ 20 10.3.1. Multi-Mode Switching Supply (MMSS) Controller...........................................................................20 10.3.2. Linear Regulators........................................................................................................................... 22 10.3.3. Power Up Sequence...................................................................................................................... 23 10.3.4. Hibernate Mode.............................................................................................................................. 23 10.3.5. Power and Temperature Monitor.................................................................................................... 24 10.3.6. Voltage Reference.......................................................................................................................... 24 10.4. Electrical Characteristics........................................................................................................................ 25 10.5. Typical Performance Characteristics...................................................................................................... 28 11. Configurable Analog Front End (CAFE).......................................................................................................... 29 11.1. Block Diagram........................................................................................................................................ 29 11.2. Functional Description............................................................................................................................ 30 11.2.1. Differential Programmable Gain Amplifier (DA)..............................................................................30 11.2.2. Single-Ended Programmable Gain Amplifier (AMP).......................................................................30 11.2.3. General Purpose Comparator (CMP)............................................................................................. 30 11.2.4. Phase Comparator (PHC).............................................................................................................. 30 11.2.5. Protection Comparator (PCMP)...................................................................................................... 30 11.2.6. Analog Output Buffer (BUF)............................................................................................................ 31 11.2.7. Analog Front End I/O (AIO)............................................................................................................ 31 11.2.8. Push Button (PBTN)....................................................................................................................... 31 11.2.9. HP DAC and LP DAC..................................................................................................................... 31 11.2.10. ADC Pre-Multiplexer..................................................................................................................... 31 11.2.11. Configurable Analog Signal Matrix (CASM)..................................................................................31 11.2.12. Configurable Digital Signal Matrix (CDSM)...................................................................................31 11.3. Electrical Characteristics........................................................................................................................ 33 11.4. Typical Performance Characteristics...................................................................................................... 36 12. Application Specific Power Drivers (ASPD).................................................................................................... 37 12.1. Features................................................................................................................................................. 37 12.2. Block Diagram........................................................................................................................................ 37 12.3. Functional Description............................................................................................................................ 38 12.3.1. Low-Side Gate Driver..................................................................................................................... 38 12.3.2. High-Side Gate Driver.................................................................................................................... 38 12.3.3. High-Side Switching Transients...................................................................................................... 39 12.3.4. Open-Drain Drivers........................................................................................................................ 39 12.3.5. Power Drivers Control.................................................................................................................... 39 12.3.6. Gate Driver Fault Protection........................................................................................................... 40 12.4. Electrical Characteristics........................................................................................................................ 41 12.5. Typical Performance Characteristics...................................................................................................... 43 -2- Rev 1.0‒February 25, 2014 PAC5220 Power Application Controller 13. ADC with Auto-Sampling Sequencer.............................................................................................................. 45 13.1. Block Diagram........................................................................................................................................ 45 13.2. Functional Description............................................................................................................................ 46 13.2.1. ADC................................................................................................................................................ 46 13.2.2. Auto-Sampling Sequencer............................................................................................................. 46 13.2.3. EMUX Control................................................................................................................................ 46 13.3. Electrical Characteristics........................................................................................................................ 47 14. Memory System............................................................................................................................................. 48 14.1. Features................................................................................................................................................. 48 14.2. Block Diagram........................................................................................................................................ 48 14.3. Functional Description............................................................................................................................ 49 14.3.1. Program and Data FLASH............................................................................................................. 49 14.3.2. SRAM............................................................................................................................................. 49 14.4. Electrical Characteristics........................................................................................................................ 50 15. Clock Control System..................................................................................................................................... 51 15.1. Features................................................................................................................................................. 51 15.2. Block Diagram........................................................................................................................................ 51 15.3. Functional Description............................................................................................................................ 52 15.3.1. Free Running Clock (FRCLK)........................................................................................................ 52 15.3.2. Fast Clock (FCLK).......................................................................................................................... 52 15.3.3. High-Speed Clock (HCLK)............................................................................................................. 52 15.3.4. Auxiliary Clock (ACLK)................................................................................................................... 52 15.3.5. Clock Gating................................................................................................................................... 52 15.3.6. Ring Oscillator (ROSC).................................................................................................................. 52 15.3.7. Trimmed 4MHz RC Oscillator......................................................................................................... 52 15.3.8. Internal Slow RC Oscillator............................................................................................................ 52 15.3.9. Crystal Oscillator Driver................................................................................................................. 52 15.3.10. External Clock Input..................................................................................................................... 52 15.3.11. PLL............................................................................................................................................... 52 15.4. Electrical Characteristics........................................................................................................................ 53 16. ARM Cortex-M0 Microcontroller Core............................................................................................................ 54 16.1. Features................................................................................................................................................. 54 16.2. Block Diagram........................................................................................................................................ 54 16.3. Functional Description............................................................................................................................ 55 16.4. Electrical Characteristics........................................................................................................................ 56 16.5. Typical Performance Characteristics...................................................................................................... 57 17. I/O Controller.................................................................................................................................................. 58 17.1. Features................................................................................................................................................. 58 17.2. Block Diagram........................................................................................................................................ 58 17.3. Functional Description............................................................................................................................ 58 17.3.1. PAx, PDx, and PEx........................................................................................................................ 58 17.3.2. PCx................................................................................................................................................ 59 17.4. Electrical Characteristics........................................................................................................................ 60 18. Serial Interface............................................................................................................................................... 61 18.1. Block Diagram........................................................................................................................................ 61 18.2. Functional Description............................................................................................................................ 61 18.2.1. I2C Controller................................................................................................................................. 61 18.3. UART Controller..................................................................................................................................... 62 18.4. SPI Controller......................................................................................................................................... 62 18.5. Dynamic Characteristics........................................................................................................................ 63 19. Timers............................................................................................................................................................ 66 19.1. Block Diagram........................................................................................................................................ 66 19.2. Functional Description............................................................................................................................ 67 19.2.1. Timer A........................................................................................................................................... 67 -3- Rev 1.0‒February 25, 2014 PAC5220 Power Application Controller 19.2.2. Timer B........................................................................................................................................... 67 19.2.3. Timer C.......................................................................................................................................... 67 19.2.4. Timer D.......................................................................................................................................... 68 19.2.5. Watchdog Timer............................................................................................................................. 68 19.2.6. SOC Bus Watchdog Timer............................................................................................................. 68 19.2.7. Wake-Up Timer.............................................................................................................................. 68 19.2.8. Real-Time Clock............................................................................................................................. 68 20. Thermal Characteristics................................................................................................................................. 69 21. Application Examples..................................................................................................................................... 70 22. Package Outline and Dimensions.................................................................................................................. 72 22.1. TQFN88-56 Package Outline and Dimensions......................................................................................72 23. Legal Information........................................................................................................................................... 73 -4- Rev 1.0‒February 25, 2014 PAC5220 Power Application Controller LIST OF TABLES Table 3-1. Product Selection Summary.................................................................................................................. 9 Table 4-1. Ordering Information.............................................................................................................................. 9 Table 6-1. Absolute Maximum Ratings................................................................................................................. 11 Table 9-1. Multi-Mode Power Manager and System Pin Description....................................................................14 Table 9-2. Configurable Analog Front End Pin Description..................................................................................15 Table 9-3. Application Specific Power Drivers Pin Description.............................................................................16 Table 9-4. I/O Ports Pin Description..................................................................................................................... 16 Table 9-5. I/O Ports Pin Description (Continued).................................................................................................. 17 Table 9-6. I/O Ports Pin Description (Continued).................................................................................................. 18 Table 10-1. Multi-Mode Switching Supply Controller Electrical Characteristics....................................................25 Table 10-2. Linear Regulators Electrical Characteristics......................................................................................27 Table 10-3. Power System Electrical Characteristics...........................................................................................27 Table 11-1. Differential Programmable Gain Amplifier (DA) Electrical Characteristics..........................................33 Table 11-2. Single-Ended Programmable Gain Amplifier (AMP) Electrical Characteristics..................................33 Table 11-3. General Purpose Comparator (CMP) Electrical Characteristics........................................................34 Table 11-4. Phase Comparator (PHC) Electrical Characteristics..........................................................................34 Table 11-5. Protection Comparator (PCMP) Electrical Characteristics.................................................................34 Table 11-6. Analog Output Buffer (BUF) Electrical Characteristics.......................................................................34 Table 11-7. Analog Front End I/O (AIO) Electrical Characteristics........................................................................35 Table 11-8. Push Button (PBTN) Electrical Characteristics..................................................................................35 Table 11-9. HP DAC and LP DAC Electrical Characteristics................................................................................35 Table 12-1. Power Driver Resources by Part Numbers........................................................................................ 38 Table 12-2. Microcontroller Port and PWM to Power Driver Mapping..................................................................40 Table 12-3. Power Driver Delay Configuration..................................................................................................... 40 Table 12-4. Gate Drivers Electrical Characteristics.............................................................................................. 41 Table 12-5. Open-Drain Drivers Electrical Characteristics...................................................................................42 Table 13-1. ADC and Auto-Sampling Sequencer Electrical Characteristics.........................................................47 Table 14-1. Memory System Electrical Characteristics........................................................................................ 50 Table 15-1. Clock Control System Electrical Characteristics................................................................................53 Table 16-1. Microcontroller and Clock Control System Electrical Characteristics.................................................56 Table 17-1. I/O Controller Electrical Characteristics.............................................................................................60 Table 18-1. Serial Interface Dynamic Characteristics...........................................................................................63 Table 18-2. I2C Dynamic Characteristics............................................................................................................. 64 Table 20-1. Thermal Characteristics..................................................................................................................... 69 -5- Rev 1.0‒February 25, 2014 PAC5220 Power Application Controller LIST OF FIGURES Figure 1-1. Power Application Controller................................................................................................................ 7 Figure 2-1. Simplified Application Diagram............................................................................................................ 8 Figure 7-1. Architectural Block Diagram............................................................................................................... 12 Figure 8-1. PAC5220QS Pin Configuration (TQFN88-56 Package).....................................................................13 Figure 9-1. Power Supply Bypass Capacitor Routing..........................................................................................19 Figure 10-1. Multi-Mode Power Manager............................................................................................................. 20 Figure 10-2. Buck Mode....................................................................................................................................... 21 Figure 10-3. Ultra-High-Voltage Buck Mode......................................................................................................... 21 Figure 10-4. AC/DC Flyback Mode....................................................................................................................... 22 Figure 10-5. Linear Regulators............................................................................................................................. 23 Figure 10-6. Power Up Sequence........................................................................................................................ 23 Figure 11-1. Configurable Analog Front End........................................................................................................ 29 Figure 12-1. Application Specific Power Drivers................................................................................................... 37 Figure 12-2. Typical Gate Driver Connections...................................................................................................... 38 Figure 12-3. High-Side Switching Transients and Optional Circuitry....................................................................39 Figure 13-1. ADC with Auto-Sampling Sequencer................................................................................................45 Figure 14-1. Memory System............................................................................................................................... 48 Figure 15-1. Clock Control System...................................................................................................................... 51 Figure 16-1. ARM Cortex-M0 Microcontroller Core.............................................................................................. 54 Figure 17-1. I/O controller.................................................................................................................................... 58 Figure 18-1. Serial Interface................................................................................................................................. 61 Figure 18-2. I2C Timing Diagram......................................................................................................................... 65 Figure 19-1. Timers A, B, C, and D...................................................................................................................... 66 Figure 19-2. SOC Bus Watchdog and Wake-Up Timer........................................................................................67 Figure 19-3. Real-Time Clock and Watchdog Timer.............................................................................................67 Figure 21-1. 3-phase Motor Drive Using PAC5220 (Simplified Diagram).............................................................70 Figure 21-2. Solar LED Street Lighting Using PAC5220 (Simplified Diagram).....................................................70 Figure 21-3. WPC type A11 Wireless Power Transmitter Using PAC5220 (Simplified Diagram)..........................71 -6- Rev 1.0‒February 25, 2014 PAC5220 Power Application Controller 1. GENERAL DESCRIPTION The PAC5220 belongs to Active-Semi's broad portfolio of full-featured Power Application Controller TM (PAC) products that are highly optimized for controlling and powering next generation smart energy appliances, devices, and equipment. These application controllers integrate a 50MHz ARM ® CortexTM-M0 32-bit microcontroller core with Active-Semi's proprietary and patent-pending Multi-Mode Power Manager TM, Configurable Analog Front EndTM, and Application Specific Power Drivers TM to form the most compact microcontroller-based power and general purpose application systems ranging from digital power supply to motor control. The PAC5220 microcontroller features up to 32kB of embedded FLASH and 8kB of SRAM memory, a high-speed 10-bit 1µs analog-to-digital converter (ADC) with dual auto-sampling sequencers, 5V/3.3V I/Os, flexible clock sources, timers, a versatile 14-channel PWM engine, and several serial interfaces. The Multi-Mode Power Manager (MMPM) provides “all-in-one” efficient power management solution for multiple types of power sources. It features a configurable multi-mode switching supply controller capable of operating in buck, flyback, or boost mode, and up to four linear regulated voltage supplies. The Application Specific Power Drivers (ASPD) are high-voltage power drivers designed for each target set of control applications, including half bridge, H-bridge, 3-phase, intelligent power module (IPM), and general purpose driving. The Configurable Analog Front End (CAFE) comprises differential programmable gain amplifiers, single-ended programmable gain amplifiers, comparators, digital-to-analog converters, and I/Os for programmable and inter-connectible signal sampling, feedback amplification, and sensor monitoring of multiple analog input signals. Together, these modules and microcontroller enable a wide range of compact applications with highly integrated power management, driving, feedback, and control for DC supply up to 52V and for line AC supply. Figure 1-1. Power Application Controller SERIAL INTERFACE SPI, I22C, UART PWM ENGINE 4 16-bit timers, 14 channels, HW dead-time control, 10ns resolution control 50MHz ARM CORTEX-M0 MICROCONTROLLER CORE & MEMORY 1-cycle 32-bit multiplier, 24-bit RTC, 24-bit WDT, 24-bit SysTick, NVIC, FLASH & SRAM DATA ACQUISITION & SEQUENCER MULTI-MODE POWER MANAGER AC/DC, DC/DC, linear regulators APPLICATION SPECIFIC POWER DRIVERS High-side & low-side gate drivers, open-drain drivers CONFIGURABLE ANALOG FRONT END 3 Differential PGAs, 4 Single-ended PGAs, 10 Comparators, 2 DACs (10-bit & 8-bit), Temperature monitor 10-bit 1µs ADC, dual auto-sampling sequencer The PAC5220 is available in a 56-pin, 8mmx8mm TQFN package. The PAC family includes a range of part numbers optimized to work with different targeted primary applications. -7- Rev 1.0‒February 25, 2014 PAC5220 Power Application Controller 2. PAC FAMILY APPLICATIONS General purpose high-voltage system controllers Home appliances Power tools Motor controllers LED lighting controllers Uninterruptible power supply (UPS) Solar micro-inverters Wireless power controllers Digital power controllers Industrial applications Figure 2-1. Simplified Application Diagram PAC52xx SPI/I2C/UART PWM ENGINE MULTI-MODE POWER MANAGER 50MHz ARM CORTEX-M0 MICROCONTROLLER CORE & MEMORY APPLICATION SPECIFIC POWER DRIVERS SERIAL INTERFACE BUCK/ BOOST/ FLYBACK M MONITORING SIGNALS DATA ACQUISITION & SEQUENCER °C CONFIGURABLE ANALOG FRONT END -8- Rev 1.0‒February 25, 2014 PAC5220 Power Application Controller 3. PRODUCT SELECTION SUMMARY Table 3-1. Product Selection Summary 3 LS (1A/1A) 3 HS (1A/1A) 2 OD (40V/40mA) 6 Int 50 32 8 28 SPI I2C UART SWD PRIMARY APPLICATION XTAL 11 INTERFACE 2 GPIO 10 SRAM (kB) 4 FLASH (kB) ADC CHANNEL 3 SPEED (MHz) DAC Y FAULT PROTECT COMPARATOR 5.252V MICROCONTROLLER PWM CHANNEL PGA 56-pin 8x8 TQFN DIFF-PGA PAC5220 MULTI-MODE SW PIN PKG INPUT VOLTAGE PART NUMBER APPLICATION SPECIFIC POWER DRIVERS POWER DRIVER CONFIGURABLE ANALOG FRONT END POWER MANAGER Y 3 half bridge, 3-phase control Notes: DIFF-PGA = differential programmable gain amplifier, GD = gate driver, HS = high-side , LS = low-side, OD = open-drain driver, PGA = programmable gain amplifier, UHV = ultra-high-voltage. 4. ORDERING INFORMATION Table 4-1. Ordering Information PART NUMBER(2) TEMPERATURE RANGE PACKAGE PINS PACKING PAC5220QS -40°C to 105°C TQFN88-56 56 + Exposed Pad Tray (1) See Product Selection Summary for product features for each part number. (2) For the latest packaging and ordering information please see http://www.active-semi.com/ or contact us under [email protected] . -9- Rev 1.0‒February 25, 2014 PAC5220 Power Application Controller 5. PAC5220 FEATURES Proprietary Multi-Mode Power Manager Multi-mode switching supply controller configurable as high-voltage or ultra-high-voltage buck, AC/DC or flyback DC supply up to 52V or line AC input 4 linear regulators with power and hibernate management Power and temperature monitor, warning, and fault detection Proprietary Configurable Analog Front End 10 analog front end I/O pins 3 differential programmable gain amplifiers 4 single-ended programmable gain amplifiers 10 comparators 2 DACs (10-bit and 8-bit) Proprietary Application Specific Power Drivers 3 low-side and 3 high-side gate drivers 1A gate driving capability 2 open-drain drivers Configurable delays and fast fault protection 50MHz ARM Cortex-M0 32-bit microcontroller core Fast single cycle 32-bit x 32-bit multiplier 24-bit SysTick timer Nested vectored interrupt controller (NVIC) with 20 external interrupts Wake-up interrupt controller allowing power-saving sleep modes Clock-gating allowing low power operation 32kB FLASH and 8kB SRAM memory 10-bit 1µs ADC with multi-input/multi-sample control engine 11 ADC inputs including input from configurable analog front end 3.3V I/Os 4 general purpose I/Os with tri-state and dedicated analog input to ADC True 5V I/Os 14 general purpose I/Os with tri-state, pull-up and pull-down and dedicated I/O supply Configurable as true 5V or 3.3V I/Os Flexible clock and PLL from internal 2% oscillator, ring oscillator, external clock, or crystal 9 timing generators Four 16-bit timers with up to 16 PWM/CC blocks and 7 independent dead-time controllers 24-bit watchdog timer 4s or 8s watchdog timer 24-bit real time clock 24-bit SysTick timer Wake-up timer for sleep modes from 0.125s to 8s SPI, I2C, and UART communication interfaces SWD debug interface with interface disable function - 10 - Rev 1.0‒February 25, 2014 PAC5220 Power Application Controller 6. ABSOLUTE MAXIMUM RATINGS Table 6-1. Absolute Maximum Ratings (Do not exceed these limits to prevent damage to the device. Exposure to absolute maximum rating conditions for long periods may affect device reliability.) VALUE UNIT VHM, DRM to VSSP PARAMETER -0.3 to 54 V VP to VSS -0.3 to 17 V -0.3 to VP + 0.3 V -0.3 to 6 V VCC33 to VSS -0.3 to 4.1 V VCC18 to VSS -0.3 to 2.5 V AIOx/.. (except AIO6/..) to VSS -0.3 to VSYS + 0.3 V PDx/.., PEx/.. to VSS -0.3 to VCCIO + 0.3 V XIN, XOUT to VSS -0.3 to VCC18 + 0.3 V PCx/.. to VSSA -0.3 to VCC33 + 0.3 V DRLx to VSSP -0.3 to VP + 0.3 V DRBx to VSSP -0.3 to 66 V DRSx to VSSP -6 to 54 V 5 V/ns DRBx, DRHx to respective DRSx -0.3 to 17 V OHIx to VSSP -0.3 to 48 V -0.3 to 0.3 V 0.2 ARMS 0.4 ARMS CSM, REGO to VSS VSYS, VCCIO, AIO6/.. to VSS DRSx allowable offset slew rate (dVDRSx/dt) VSSP, VSSA to VSS VSS, VSYS, DRM, DRLx, DRHx, REGO, OHIx RMS current VSSP RMS current VP RMS current (1) (1) (1) 0.6 ARMS -40 to 105 °C Human body model (JEDEC) 2 kV Charge device model (JEDEC) 1 kV 200 V Operating temperature range Electrostatic discharge (ESD) Machine model (JEDEC) (1) Peak current can be 10 times higher than RMS value for pulses shorter than 10µs. - 11 - Rev 1.0‒February 25, 2014 PAC5220 Power Application Controller 7. ARCHITECTURAL BLOCK DIAGRAM Figure 7-1. Architectural Block Diagram PAC5220 Power Application Controller MULTI-MODE POWER MANAGER VHM DRM VP CSM VSSP, VSS, VSSA MULTIMODE SWITCHING SUPPLY SWDIO, SWDCL DEBUG 32kB/16kB FLASH AHB/APB XIN, XOUT CLOCK CONTROL PAC SOC BUS ARM CORTEX-M0 CORE 8kB/4kB SRAM REGO VSYS VCCIO VCC33 VCC18 LINEAR REGULATORS (4) APPLICATION SPECIFIC POWER DRIVERS OD (2) OHIx PWM ENGINE TIMERS (4) DRBx HSGD (3) PWMAx, PWMBx, PWMCx, PWMDx DRHx DRSx PWM / CC (14) RTC LSGD (3) DEAD TIME (7) PCx, PDx, PEx DRLx GPIO (18) CONFIGURABLE ANALOG FRONT END BRIDGE SPICSx, SPIMISO, SPIMOSI, SPICLK PGA/ CMP (4) SPI AMPx/CMPx/PHCx WATCHDOG I2CSDA, I2CSCL DAC (2) I2C UARTRX, UARTTX UART 10-BIT ADC MUX DATA ACQUISITION & SEQUENCER DIFF-PGA/ PCMP (3) DAxP/PCMPx DAxN ADx nRESET1 SYSTEM CONTROL AUTO SAMPLING - 12 - AIO CONTROL (10) AIOx BUF6 PBTN Rev 1.0‒February 25, 2014 PAC5220 Power Application Controller 8. PIN CONFIGURATION 8.1. PAC5220QS 43 PD3/PWMA5/PWMA7/PWMB1 44 PD2/PWMA3/PWMA4/PWMB0 45 PD1/SWDCL/EXTCLK 46 PD0/SWDIO 47 PE0/SPICLK 48 PE1/SPIMOSI/UARTTX 49 PE2/SPIMISO/UARTRX 50 PE3/SPICS0/nRESET1 51 PE4/SPICS1/I2CSCL 52 PE5/SPICS2/I2CSDA 53 VCCIO 54 XIN 55 XOUT 56 VCC18 Figure 8-1. PAC5220QS Pin Configuration (TQFN88-56 Package) PC5/AD5 1 42 PD4/PWMD1 PC4/AD4 2 41 PD5/PWMA5/PWMC1 PC3/AD3 3 40 PD6/PWMA7/PWMB1 PC2/AD2 4 39 PD7/PWMA6/PWMD0 VCC33 5 38 OHI7 VSSA 6 37 OHI6 VSS 7 AIO0/DA0N 8 PAC5220QS 36 DRB5 TQFN88-56 35 DRH5 AIO1/DA0P/PCMP0 9 34 DRS5 AIO2/DA1N 10 33 DRB4 AIO3/DA1P/PCMP1 11 32 DRH4 AIO4/DA2N 12 31 DRS4 AIO5/DA2P/PCMP2 13 30 DRB3 EP (VSS) - 13 - DRS3 28 DRL1 26 DRL2 27 DRL0 25 VSSP 24 DRM 23 VP 21 VHM 22 CSM 20 REGO 19 VSYS 18 AIO9/AMP9/CMP9/PHC9 17 AIO8/AMP8/CMP8/PHC8 16 29 DRH3 AIO7/AMP7/CMP7/PHC7 15 AIO6/AMP6/CMP6/BUF6/PBTN 14 Rev 1.0‒February 25, 2014 PAC5220 Power Application Controller 9. PIN DESCRIPTION Table 9-1. Multi-Mode Power Manager and System Pin Description PIN NAME PIN NUMBER TYPE CSM 20 Analog Switching supply current sense input. Connect to the positive side of the current sense resistor. DRM 23 Analog Switching supply driver output. Connect to the base or gate of the external power NPN or n-channel MOSFET. See PAC User Guide and application notes. EP (VSS) EP Power Exposed pad. Must be connected to VSS in a star ground configuration. Connect to a large PCB copper area for power dissipation heat sinking. REGO 19 Power System regulator output. Connect to VSYS directly or through an external powerdissipating resistor. VCC18 56 Power Internally generated 1.8V core power supply. Connect a 2.2μF or higher value ceramic capacitor from VCC18 to VSSA. See Figure 9-1. Power Supply Bypass Capacitor Routing below. VCC33 5 Power Internally generated 3.3V power supply. Connect a 2.2μF or higher value ceramic capacitor from VCC33 to VSSA. See PCB layout note below. VCCIO 53 Power Internally generated digital I/O power supply. Connect a 4.7μF or higher value ceramic capacitor from VCCIO to VSSA. See Figure 9-1. Power Supply Bypass Capacitor Routing below. Power Switching supply controller supply input. Connect a 1μF or higher value ceramic capacitor, or a 0.1μF ceramic capacitor in parallel with a 10μF or higher electrolytic capacitor from VHM to VSSP. This pin requires good capacitive bypassing to VSSP, so the ceramic capacitor must be connected with a shorter than 10mm trace from the pin. See Figure 9-1. Power Supply Bypass Capacitor Routing below. VHM 22 DESCRIPTION VP 21 Power Main power supply. Provides power to the power drivers as well as voltage feedback path for the switching supply. Connect a properly sized supply bypass capacitor in parallel with a 0.1μF ceramic capacitor from VP pin to VSS for voltage loop stabilization. This pin requires good capacitive bypassing to VSS, so the ceramic capacitor must be connected with a shorter than 10mm trace from the pin. See See Figure 9-1. Power Supply Bypass Capacitor Routing below. VSS 7 Power Ground. VSSA 6 Power Analog ground. Connect to VSS in a star ground configuration. VSSP 24 Power Power ground. Connect to VSS in a star ground configuration. VSYS 18 Power 5V system power supply. Connect a 4.7μF or higher value ceramic capacitor from VSYS to VSSP. See Figure 9-1. Power Supply Bypass Capacitor Routing below. XIN 54 Analog Crystal oscillator driver input. Leave floating if unused. XOUT 55 Analog Crystal oscillator driver output. Leave floating if unused. - 14 - Rev 1.0‒February 25, 2014 PAC5220 Power Application Controller Table 9-2. Configurable Analog Front End Pin Description PIN NAME AIO0/DA0N AIO1/DA0P/PCMP0 AIO2/DA1N AIO3/DA1P/PCMP1 AIO4/DA2N AIO5/DA2P/PCMP2 AIO6/AMP6/CMP6/BUF6/PBTN AIO7/AMP7/CMP7/PHC7 AIO8/AMP8/CMP8/PHC8 AIO9/AMP9/CMP9/PHC9 PIN NUMBER 8 9 10 11 12 13 14 15 16 17 FUNCTION TYPE DESCRIPTION AIO0 I/O DA0N Analog Analog front end I/O 0. AIO1 I/O DA0P Analog Differential PGA 0 positive input. PCMP0 Analog Protection comparator input 0. Differential PGA 0 negative input. Analog front end I/O 1. AIO2 I/O DA1N Analog Analog front end I/O 2. AIO3 I/O DA1P Analog Differential PGA 1 positive input. PCMP1 Analog Protection comparator input 1. Differential PGA 1 negative input. Analog front end I/O 3. AIO4 I/O DA2N Analog Analog front end I/O 4. AIO5 I/O DA2P Analog Differential PGA 2 positive input. PCMP2 Analog Protection comparator input 2. Differential PGA 2 negative input. Analog front end I/O 5. AIO6 I/O AMP6 Analog Analog front end I/O 6. PGA input 6. CMP6 Analog Comparator input 6. BUF6 Analog Buffer output 6. PBTN Analog Push button input. AIO7 I/O AMP7 Analog Analog front end I/O 7. PGA input 7. CMP7 Analog Comparator input 7. PHC7 Analog Phase comparator input 7. AIO8 I/O Analog front end I/O 8. AMP8 Analog PGA input 8. CMP8 Analog Comparator input 8. PHC8 Analog Phase comparator input 8. AIO9 I/O AMP9 Analog PGA input 9. CMP9 Analog Comparator input 9. PHC9 Analog Phase comparator input 9. - 15 - Analog front end I/O 9. Rev 1.0‒February 25, 2014 PAC5220 Power Application Controller Table 9-3. Application Specific Power Drivers Pin Description PIN NAME PIN NUMBER TYPE DESCRIPTION DRB3 30 Analog High-side gate driver bootstrap 3. DRB4 33 Analog High-side gate driver bootstrap 4. DRB5 36 Analog High-side gate driver bootstrap 5. DRH3 29 Analog High-side gate driver 3. DRH4 32 Analog High-side gate driver 4. DRH5 35 Analog High-side gate driver 5. DRL0 25 Analog Low-side gate driver 0. DRL1 26 Analog Low-side gate driver 1. DRL2 27 Analog Low-side gate driver 2. DRS3 28 Analog High-side gate driver source 3. DRS4 31 Analog High-side gate driver source 4. DRS5 34 Analog High-side gate driver source 5. OHI6 37 OD, I High-voltage open-drain driver and input 6. OHI7 38 OD, I High-voltage open-drain driver and input 7. Table 9-4. I/O Ports Pin Description PIN NAME PIN NUMBER PC2/AD2 4 PC3/AD3 3 PC4/AD4 2 PC5/AD5 1 FUNCTION TYPE PC2 I/O AD2 PC3 AD3 PC4 AD4 PC5 AD5 - 16 - DESCRIPTION I/O port C2. Analog ADC input 2. I/O I/O port C3. Analog ADC input 3. I/O I/O port C4. Analog ADC input 4. I/O I/O port C5. Analog ADC input 5. Rev 1.0‒February 25, 2014 PAC5220 Power Application Controller Table 9-5. I/O Ports Pin Description (Continued) PIN NAME PD0/SWDIO PD1/SWDCL/EXTCLK PD2/PWMA3/PWMA4/PWMB0 PD3/PWMA5/PWMA7/PWMB1 PIN NUMBER 46 45 44 43 PD4/PWMD1 42 PD5/PWMA5/PWMC1 41 PD6/PWMA7/PWMB1 PD7/PWMA6/PWMD0 PE0/SPICLK PE1/SPIMOSI/UARTTX PE2/SPIMISO/UARTRX 40 39 47 48 49 FUNCTION TYPE DESCRIPTION PD0 I/O I/O port D0. SWDIO I/O Serial wire debug I/O. PD1 I/O I/O port D1. SWDCL I Serial wire debug clock. EXTCLK I External clock. PD2 I/O I/O port D2. PWMA3 I/O Timer A PWM/capture 3. PWMA4 I/O Timer A PWM/capture 4. PWMB0 I/O Timer B PWM/capture 0. PD3 I/O I/O port D3. PWMA5 I/O Timer A PWM/capture 5. PWMA7 I/O Timer A PWM/capture 7. PWMB1 I/O Timer B PWM/capture 1. PD4 I/O I/O port D4. PWMD1 I/O Timer D PWM/capture 1. PD5 I/O I/O port D5. PWMA5 I/O Timer A PWM/capture 5. PWMC1 I/O Timer C PWM/capture 1. PD6 I/O I/O port D6. PWMA7 I/O Timer A PWM/capture 7. PWMB1 I/O Timer B PWM/capture 1. PD7 I/O I/O port D7. PWMA6 I/O Timer A PWM/capture 6. PWMD0 I/O Timer D PWM/capture 0. PE0 I/O I/O port E0. SPICLK I/O SPI clock. PE1 I/O I/O port E1. SPIMOSI I/O SPI master out slave in (MOSI). UARTTX O UART transmit output. PE2 I/O I/O port E2. SPIMISO I/O SPI master in slave out (MISO). UARTRX I - 17 - UART receive input. Rev 1.0‒February 25, 2014 PAC5220 Power Application Controller Table 9-6. I/O Ports Pin Description (Continued) PIN NAME PE3/SPICS0/nRESET1 PE4/SPICS1/I2CSCL PE5/SPICS2/I2CSDA PIN NUMBER FUNCTION TYPE PE3 I/O I/O port E3. 50 SPICS0 O SPI chip select 0. nRESET1 I Reset input 1 (active low). PE4 I/O I/O port E4. SPICS1 O SPI chip select 1. I2CSCL I/O I2C clock. PE5 I/O I/O port E5. SPICS2 O SPI chip select 2. I2CSDA I/O I2C data. 51 52 - 18 - DESCRIPTION Rev 1.0‒February 25, 2014 PAC5220 Power Application Controller Figure 9-1. Power Supply Bypass Capacitor Routing - 19 - Rev 1.0‒February 25, 2014 PAC5220 Power Application Controller 10. MULTI-MODE POWER MANAGER (MMPM) 10.1. Features Multi-mode switching supply controller configurable as high voltage or ultra-high-voltage buck, AC/DC DC supply up to 52V or line AC input 4 linear regulators with power and hibernate management Power and temperature monitor, warning, and fault detection 10.2. Block Diagram Figure 10-1. Multi-Mode Power Manager MULTI-MODE POWER MANAGER MULTI-MODE SWITCHING SUPPLY CONTROLLER COMP & CURR LIMIT START UP & MODE CTRL CLAMP POWER OK & OVP ERROR COMP IMOD DAC PWM LOGIC CURR SENSE DRM DRIVER VSSP MUX VOLTAGE SETTING VP VHM ERROR AMP MUX 1.2V REGO SYSTEM SUPPLY REG TIMERS LINEAR REG LINEAR REG LINEAR REG VSYS VCCIO VCC33 HIBERNATE 2.5V VREF VTHREF POWER & TEMP MON MUX CSM VSSA VMON VTEMP VSS VCC18 10.3. Functional Description The Multi-Mode Power Manager (Figure 10-1) is optimized to efficiently provide "all-in-one" power management required by the PAC and associated application circuitry from a wide range of input power sources. It incorporates a dedicated multi-mode switching supply (MMSS) controller operable as a buck, flyback, or boost converter to efficiently convert power from a DC or AC input source to generate a main supply output V P. Four linear regulators provide VSYS, VCCIO, VCC33, and VCC18 supplies for 5V system, 5V or 3.3V I/O, 3.3V mixed signal, and 1.8V microcontroller core circuitry. The power manager also handles system functions including internal reference generation, timers, hibernate mode management, and power and temperature monitoring. 10.3.1. Multi-Mode Switching Supply (MMSS) Controller The MMSS controller drives an external power transistor for pulse-width modulation switching of an inductor or transformer for power conversion. The DRM output drives the gate of the n-channel MOSFET or the base of the NPN between the VHM on state and VSSP off state at proper duty cycle and switching frequency to ensure that the main supply voltage VP is regulated. The VP regulation voltage is initially set to 9V during start up, and can be - 20 - Rev 1.0‒February 25, 2014 PAC5220 Power Application Controller reconfigured to be 5V, 12V, or 15V by the microcontroller after initialization. When V P is lower than the target regulation voltage, the internal feedback control circuitry causes the inductor current to increase to raise V P. Conversely, when VP is higher than the regulation voltage, the feedback loop control causes the inductor current to decrease to lower VP. The feedback loop is internally stabilized. The output current capability of the switching supply is determined by the external current sense resistor. In the high-side current sense buck mode, the inductor current signal is sensed differentially between the CSM pin and V P, and has a peak current limit threshold of 0.26V. In the low-side current sense flyback or boost mode, the inductor current signal is sensed differentially between the CSM pin and VSSP, and has a peak current limit threshold of 1V. The MMSS controller is flexible and configurable as a buck, flyback, or boost converter. Input sources include battery supply for buck mode (Figure 10-2), and AC line supply voltage range for ultra-high-voltage buck mode (Figure 10-3), AC/DC flyback mode(Figure10-4). The MMSS controller operational mode is determined by external configuration and register setting from the microcontroller after power up. It can operate in either highside or low-side current sense mode, and does not require external feedback loop compensation circuitry. For optional extended application range, the MMSS also incorporates additional digital control by the microcontroller to add accurate computations for outer feedback loop control such as power factor correction and accurate current control. Figure 10-2. Buck Mode VHM VIN PAC52xx PAC5220 DRM VP (12V typical) CSM VP Figure 10-3. Ultra-High-Voltage Buck Mode VHM VAC (120V/230V) PAC5220 DRM VP (12V typical) CSM VP - 21 - Rev 1.0‒February 25, 2014 PAC5220 Power Application Controller Figure 10-4. AC/DC Flyback Mode VHM VAC (120V/230V) PAC5220 VP DRM CSM VP (12V typical) The MMSS detects and selects between high-side and low-side mode during start up based on the placement of the current sense resistor and the CSM pin voltage. It employs a safe start up mode with a 9.5kHz switching frequency until VP exceeds 4.3V under-voltage-lockout threshold, then transitions to the 45kHz default switching frequency for at least 6ms to bring V P close to the target voltage, before enabling the linear regulators. Any extra load should only be applied after the supplies are available and the microprocessor has initialized. The switching frequency can be reconfigured by the microprocessor to be 181kHz to 500kHz in the high switching frequency mode for battery-based applications, and to be 45kHz to 125kHz in the low switching frequency mode for AC applications. Upon initialization, the microcontroller must reconfigure the MMSS to the desired settings for VP regulation voltage, switching mode, switching frequency, and V HM clamp. Refer to the PAC application notes and user guide for MMSS controller design and programming. If a stable external 5V to 12V power source is available, it can power the V P main supply and all the linear regulators directly without requiring the MMSS controller to operate. In such applications, V HM can be connected directly to VP and the microcontroller should disable the MMSS upon initialization to reduce power loss. 10.3.2. Linear Regulators The MMPM includes up to four linear regulators. The system supply regulator is a medium voltage regulator that takes the VP supply and sources up to 200mA at REGO until V SYS, externally coupled to REGO, reaches 5V. This allows a properly rated external resistor to be connected from REGO to V SYS to close the current loop and offload power dissipation between V P and VSYS. Once VSYS is above 4V, the three additional 40mA linear regulators for VCCIO, VCC33, and VCC18 supplies sequentially power up. Figure 10-5 shows typical circuit connections for the linear regulators. For 5V I/O systems, short the V CCIO pin to VSYS to bypass the VCCIO regulator. For 3.3V I/O systems, the V CCIO regulator generates 3.3V. The V CC33 and VCC18 regulators generate 3.3V and 1.8V, respectively. When V SYS, VCCIO, VCC33, and VCC18 are all above their respective power good thresholds, and the configurable power on reset duration has expired, the microcontroller is initialized. - 22 - Rev 1.0‒February 25, 2014 PAC5220 Power Application Controller Figure 10-5. Linear Regulators VP VP (12V typical) PAC5220 VSYS & VCCIO (5V) REGO VSYS 4.7µF (1) VCCIO VCC33 VCC18 VSS VSSA 1µF 1µF (1) 5V I/O connection shown. Connect instead to a 4.7µF capacitor for 3.3V I/O. 10.3.3. Power Up Sequence The MMPM follows a typical power up sequence as in the Figure 10-6 below. A typical sequence begins with input power supply being applied, followed by the safe start up and start up durations to bring the switching supply output VP to 9V, before the linear regulators are enabled. When all the supplies are ready, the internal clocks become available, and the microcontroller starts executing from the program memory. During initialization, the microcontroller can reconfigure the switching supply to a different V P regulation voltage such as 12V and to an appropriate switching frequency and switching mode. The total loading on the switching supply must be kept below 25% of the maximum output current until after the reconfiguration of the switching supply is complete. For AC input supply applications, the start up sequence includes an additional charging time for V HM depending on the start-up resistor and capacitor values. Figure 10-6. Power Up Sequence Safe start up Start up Regulators Power-onenabled reset delay 6ms Reconfiguration by firmware System operation 1ms VIN or VHM VIN or VHM 14.8V VP (9V start up default) VP VSYS and VCCIO 4.3V VSYS and VCCIO (5V) 4V VCC33 (3.3V) VCC33 VCC18 VP (12V) VCC18 (1.8V) 76% Internal clocks Power on reset Microcontroller reset Microcontroller initializing Microcontroller executing 10.3.4. Hibernate Mode The IC can go into an ultra-low power hibernate mode via the microcontroller firmware or via the optional push button (PBTN, see Push Button description in Configurable Analog Front End). In hibernate mode, only a minimal amount (typically 18µA) of current is used by VHM, and the MMSS controller and all internal regulators - 23 - Rev 1.0‒February 25, 2014 PAC5220 Power Application Controller are shut down to eliminate power drain from the output supplies. The system exits hibernate mode after a wakeup timer duration (configurable from 125ms to 8s or infinite) has expired or, if push button enabled, after an additional push button event has been detected. When exiting the hibernate mode, the power manager goes through the start up cycle and the microcontroller is reinitialized. Only the persistent power manager status bits (resets and faults) are retained during hibernation. 10.3.5. Power and Temperature Monitor Whenever any of the VSYS, VCCIO, VCC33, or VCC18 power supplies falls below their respective power good threshold voltage, a fault event is detected and the microcontroller is reset. The microcontroller stays in the reset state until VSYS, VCCIO, VCC33, and VCC18 supply rails are all good again and the reset time has expired. A microcontroller reset can also be initiated by a maskable temperature fault event that occurs when the IC temperature reaches 170°C. The fault status bits are persistent during reset, and can be read by the microcontroller upon reinitialization to determine the cause of previous reset. A power monitoring signal V MON is provided onto the ADC pre-multiplexer for monitoring various internal power supplies. VMON can be set to be VCC18, 0.4•VCC33, 0.4•VCCIO, 0.4•VSYS, 0.1•VREGO, 0.1•VP, 0.0333•VHM, or the internal compensation voltage VCOMP for switching supply power monitoring. For power and temperature warning, a V P low event at 77% of the regulation voltage and an IC temperature warning event at 140°C are provided as maskable interrupts to the microcontroller. These warnings allow the microcontroller to safely power down the system. In addition to the temperature warning interrupt and fault reset, a temperature monitor signal VTEMP = 1.5 + 5.04e-3 • (T - 25°C) (V) is provided onto the ADC pre-multiplexer for IC temperature measurement. 10.3.6. Voltage Reference The reference block includes a 2.5V high precision reference voltage that provides the 2.5V reference voltage for the ADC, the DACs, and the 4-level programmable threshold voltage V THREF (0.1V, 0.2V, 0.5V, and 1.25V). - 24 - Rev 1.0‒February 25, 2014 PAC5220 Power Application Controller 10.4. Electrical Characteristics Table 10-1. Multi-Mode Switching Supply Controller Electrical Characteristics (VHM = 24V, VP = 12V, and TA = -40°C to 105°C unless otherwise specified.) SYMBOL PARAMETER CONDITIONS MIN TYP MAX UNIT Input Supply (VHM) IHIB;VHM VHM hibernate mode supply current VHM, hibernate mode 18 36 µA ISU;VHM VHM start up supply current VHM < VUVLOR;VHM 75 120 µA IOP;VHM VHM operating supply current DRM floating 0.3 0.5 mA VOP:VHM VHM operating voltage range 5.2 52 V VUVLOR;VHM VHM under-voltage lockout rising 13.5 14.5 16 V 6.8 7.5 8.1 V 23 26.6 V VUVLOF;VHM VHM under-voltage lockout falling VCLAMP;VHM VHM clamp voltage Clamp enabled, sink current = 100µA ICLAMP;VHM VHM clamp sink current limit Clamp enabled 0.72 1.2 mA Output Supply and Feedback (VP) VREG;VP VP output regulation voltage Programmable to 5V, 9V, 12V, or 15V Load = 0 to 500mA -7 -1 5 % kPOK;VP VP power OK threshold VP rising, hysteresis = 10% 82 87 92 % kOVP;VP VP over voltage protection threshold VP rising, hysteresis = 15% 136 % Switching Control fSWMACC;DRM Switching frequency accuracy -10 10 High frequency mode, 8 settings 181 500 Low frequency mode, 8 settings 45 125 % fSWM;DRM Switching frequency programmable range fSSU;DRM Safe start up switching frequency 9.5 kHz Minimum on time 440 ns Low duty-cycle & Low-frequency mode 25 % Low duty-cycle & High frequency mode 440 nS High duty-cycle mode 820 nS tONMIN;DRM tOFFMIN;DRM Minimum off time - 25 - kHz Rev 1.0‒February 25, 2014 PAC5220 Power Application Controller SYMBOL PARAMETER CONDITIONS MIN TYP MAX UNIT Current Sense (CSM Pin) VDET;CSM CSM mode detection threshold Rising, hysteresis = 50mV 0.40 0.55 0.69 V VHSLIM;CSM High-side current limit threshold 181kHz, duty = 25%, relative to VP 0.17 0.26 0.35 V VLSLIM;CSM Low-side current limit threshold 45kHz, duty = 25% 0.7 1 1.48 V tBLANK;CSM Current sense blanking time VPROT;CSM Low-side abnormal current sense protection threshold 200 VP < 4.3V 0.8 VP > 4.3V 1.9 ns V Gate Driver Output (DRM Pin) VOH;DRM High-level output voltage IDRM = -20mA VOL;DRM Low-level output voltage IDRM = 20mA IOH;DRM High-level output source current VDRM = VHM - 5V -0.1 A IOL;DRM Low-level output sink current VDRM = 5V 0.25 A tPD;DRM Strong pull down pulse width High-side current sense mode 240 ns - 26 - VHM−1.4 V 0.6 V Rev 1.0‒February 25, 2014 PAC5220 Power Application Controller Table 10-2. Linear Regulators Electrical Characteristics (VP = 12V and TA = -40°C to 105°C unless otherwise specified.) SYMBOL VOP;VP VUVLO;VP PARAMETER CONDITIONS VP operating voltage range MIN TYP MAX UNIT 16 V 4.3 4.5 V 4.5 VP under-voltage-lockout threshold VP rising, hysteresis = 0.2V VP quiescent supply current Power manager only, including IQ;VSYS 400 750 µA IQ;VSYS VSYS quiescent supply current VCCIO, VCC33, and VCC18 regulators only 350 600 µA VSYS VSYS output voltage Load = 10µA to 200mA 5 5.18 V VCCIO VCCIO output voltage Load = 10mA VCC33 VCC33 output voltage VCC18 VCC18 output voltage IQ;VP 4 4.8 VCCIO shorted to VSYS VCCIO from regulator VSYS V 3.152 3.3 3.398 Load = 10mA 3.185 3.3 3.415 V Load = 10mA 1.834 1.9 1.979 V ILIM;VSYS VSYS regulator current limit 220 330 mA ILIM;VCCIO VCCIO regulator current limit 45 80 mA ILIM;VCC33 VCC33 regulator current limit 45 80 mA ILIM;VCC18 VCC18 regulator current limit 45 80 mA 50 % kSCFB VDO;VSYS VUVLO;VSYS Short circuit current fold back VSYS dropout voltage VP =5V, ISYS=100mA 350 680 mV VSYS under-voltage-lockout threshold VSYS rising, hysteresis = 0.2V 3.5 4 4.4 V kPOKIO VCCIO Power OK threshold VCCIO rising, hysteresis = 10% 75 82 89 % kPOK33 VCC33 Power OK threshold VCC33 rising, hysteresis = 10% 71 78 85 % kPOK18 VCC18 Power OK threshold VCC18 falling, hysteresis = 10% 58 66 74 % MIN TYP MAX UNIT TA = 25°C 2.487 2.5 2.513 TA = -40°C to 105°C 2.463 2.5 2.537 Table 10-3. Power System Electrical Characteristics (VSYS = VCCIO = 5V, VCC33 = 3.3V, and TA = -40°C to 105°C unless otherwise specified.) SYMBOL VREF PARAMETER Reference voltage CONDITIONS VCC18 kMON Power monitoring voltage (VMON) coefficient V 1 VSYS, VCCIO, VCC33 0.4 VP, VREGO 0.1 VHM V/V 0.0333 VTEMP Temperature monitor voltage at 25°C TA = 25°C, at ADC kTEMP Temperature monitor coefficient At ADC 5.04 mV/K TWARN Over-temperature warning threshold Hysteresis = 10°C 140 °C TFAULT Over-temperature fault threshold Hysteresis = 10°C 170 °C - 27 - 1.475 1.5 1.540 V Rev 1.0‒February 25, 2014 PAC5220 Power Application Controller 10.5. Typical Performance Characteristics (VP = 12V and TA = 25°C unless otherwise specified.) Buck Mode Efficiency vs. Output Current 50 70 VIN = 48V 60 50 40 30 20 0 0 100 0.1 0.2 0.3 0.4 40 50 60 0.30 0.5 1 1.5 2 0.20 0.15 RSTARTUP = 1MΩ 0.10 0.05 VP = 12V, fSW;DRM = 45kHz 10 PACMMPM-004 PACMMPM-003 30 20 VP = 12V, all regulators on 0.25 40 0 30 AC/DC Flyback Mode Standby Power vs. Input Voltage 50 0 20 AC/DC Flyback Mode Efficiency vs. Output Current VAC = 230V 60 0 0.5 Input Voltage (V) 80 70 20 Output Current (A) VAC = 120V 90 30 10 VP = 12V, fSW;DRM = 181kHz 10 Efficiency (%) 40 Input Power (W) Efficiency (%) 80 PACMMPM-002 PACMMPM-001 VIN = 24V 90 Input Current (µA) 100 Buck Mode Hibernate Input Current vs. Input Voltage RSTARTUP = 2MΩ 0 2.5 90 135 180 225 270 Input Voltage (VAC) Output Current (A) DRM Driver Output On Resistance vs. Temperature PACMMPM-005 80 On Resistance (Ω) 70 60 50 40 Pull up 30 20 Pull down 10 0 -40 0 40 80 120 Temperature (°C) - 28 - Rev 1.0‒February 25, 2014 PAC5220 Power Application Controller 11. CONFIGURABLE ANALOG FRONT END (CAFE) 11.1. Block Diagram Figure 11-1. Configurable Analog Front End CONFIGURABLE ANALOG FRONT END LP DAC DIFF-PGA & PCOMP INT1 PROTECT HP DAC ADC PRE-MUX DAxN MUX S/H DAxP/PCMPx BUF6 COMPARATOR MUX VTHREF MUX CMPx DINx VTEMP, VMON, VREF/2 VSYS VSYS AFE I/O I/O CONTROL AIOx MUX (except AIO6) ADC MUX CONFIGURABLE DIGITAL SIGNAL MATRIX MUX MUX AMPx CONFIGURABLE ANALOG SIGNAL MATRIX OFFSET CAL PGA PR1, PR2 DINx PHASE COMPARATOR PHCx DINx PBTN PUSH BUTTON MUX PHASE REF MUX 3V - 29 - PHASE POS INT2/POS Rev 1.0‒February 25, 2014 PAC5220 Power Application Controller 11.2. Functional Description The device includes a Configurable Analog Front End (CAFE, Figure 11-1) accessible through up to 10 analog and I/O pins. These pins can be configured to form flexible interconnected circuitry made up of up to 3 differential programmable gain amplifiers, 4 single-ended programmable gain amplifiers, 4 general purpose comparators, 3 phase comparators, 10 protection comparators, and one buffer output. These pins can also be programmed as analog feed-through pins, or as analog front end I/O pins that can function as digital inputs or digital open-drain outputs. The PAC proprietary configurable analog signal matrix (CASM) and configurable digital signal matrix (CDSM) allow real time asynchronous analog and digital signals to be routed in flexible circuit connections for different applications. A push button function is provided for optional push button on, hibernate, and off power management function. 11.2.1. Differential Programmable Gain Amplifier (DA) The DAxP and DAxN pin pair are positive and negative inputs, respectively, to a differential programmable gain amplifier. The differential gain can be programmable to be 1x, 2x, 4x, 8x, 16x, 32x, and 48x for zero ohm signal source impedance. The differential programmable gain amplifier has -0.3V to 3.5V input common mode range, and its output can be configured for routing directly to the ADC pre-multiplexer, or through a sample-and-hold circuit synchronized with the ADC auto-sampling mechanism. Each differential amplifier is accompanied by offset calibration circuitry, and two protection comparators for protection event monitoring. The programmable gain differential amplifier is optimized for use with signal source impedance lower than 500Ω and with matched source impedance on both positive and negative inputs for minimal offset. The effective gain is scaled by 13.5k / (13.5k + RSOURCE), where RSOURCE is the matched source impedance of each input. 11.2.2. Single-Ended Programmable Gain Amplifier (AMP) Each AMPx input goes to a single-ended programmable gain amplifier with signal relative to V SSA. The amplifier gain can be programmed to be 1x, 2x, 4x, 8x, 16x, 32x, and 48x, or as analog feed-through. The programmable gain amplifier output is routed via a multiplexer to the configurable analog signal matrix CASM. 11.2.3. General Purpose Comparator (CMP) The general purpose comparator takes the CMPx input and compares it to either the programmable threshold voltage (VTHREF) or a signal from the configurable analog signal matrix CASM. The comparator has 0V to V SYS input common mode range, and its polarity-selectable output is routed via a multiplexer to either a data input bit or the configurable digital signal matrix CDSM. Each general purpose comparator has two mask bits to prevent or allow rising or falling edge of its output to trigger second microcontroller interrupt INT2. 11.2.4. Phase Comparator (PHC) The phase comparator takes the PHCx input and compares it to either the programmable threshold voltage (VTHREF) or a signal from the configurable analog signal matrix CASM. The comparison signal can be set to a phase reference signal generated by averaging the PHCx input voltages. In a three-phase motor control application, the phase reference signal acts as a virtual center tap for BEMF detection. The PHCx inputs are optionally fed through to the CASM. The phase comparator has 0V to V SYS input common mode range, and its polarity-selectable output is routed to a data input bit and to the phase/position multiplexer synchronized with the auto-sampling sequencers. 11.2.5. Protection Comparator (PCMP) Two protection comparators are provided in association with each differential programmable gain amplifier, with outputs available to trigger protection events and accessible as read-back output bits. The high-speed protection (HP) comparator compares the PCMPx pin to the 8-bit HP DAC output voltage, with full scale voltage of 2.5V. The limit protection (LP) comparator compares the differential programmable gain amplifier output to the 10-bit LP DAC output voltage, with full scale voltage of 2.5V. Each protection comparator has a mask bit to prevent or allow it to trigger the main microcontroller interrupt INT1. Each protection comparator also has one mask bit to prevent or allow it to activate protection event PR1, - 30 - Rev 1.0‒February 25, 2014 PAC5220 Power Application Controller and another mask bit to prevent or allow it to activate protection event PR2. These two protection events can be used directly by protection circuitry in the Application Specific Power Drivers (ASPD) to protect devices being driven. 11.2.6. Analog Output Buffer (BUF) A subset of the signals from the configurable analog signal matrix CASM can be multiplexed to the BUF6 pin for external use. The buffer offset voltage can be minimized with the built-in swap function. 11.2.7. Analog Front End I/O (AIO) Up to 10 AIOx pins are available in the device. In the analog front end I/O mode, the pin can be configured to be a digital input or digital open-drain output. The AIOx input or output signal can be set to a data input or output register bit, or multiplexed to one of the signals in the configurable digital signal matrix CDSM. The signal can be set to active high (default) or active low, with V SYS supply rail. Where AIO6,7,8,9 supports microcontroller interrupt for external signals. Each has two mask bits to prevent or allow rising or falling edge of its corresponding digital input to trigger second microcontroller interrupt INT2. 11.2.8. Push Button (PBTN) The push button PBTN, when enabled, can be used by the microcontroller to detect a user active-low push button event and to put the system into an ultra-low-power hibernate mode. Once the system is in hibernate mode, PBTN can be used to wake up the system. In addition, PBTN can also be used as a hardware reset for the microcontroller when it is held low for longer than 8s during normal operation. The PBTN input is active low and has a 55kΩ pull-up resistor to 3V. 11.2.9. HP DAC and LP DAC The 8-bit HP DAC can be used as the comparison voltage for the high-speed protection (HP) comparators, or routed for general purpose use via the AB2 signal in the CASM. The HP DAC output full scale voltage is 2.5V. The 10-bit LP DAC can be used as the comparison voltage for the limit protection (LP) comparators, or routed for general purpose use via the AB3 signal in the CASM. The LP DAC output full scale voltage is 2.5V. 11.2.10. ADC Pre-Multiplexer The ADC pre-multiplexer is a 16-to-1 multiplexer that selects between the 3 differential programmable gain amplifier outputs, AB1 through AB9, temperature monitor signal (V TEMP), power monitor signal (VMON), and offset calibration reference (VREF / 2). The ADC pre-multiplexer can be directly controlled or automatically scanned by the auto-sampling sequencer. When the ADC pre-multiplexer is automatically scanned, the unbuffered or sensitive signals should be masked by setting appropriate register bits. 11.2.11. Configurable Analog Signal Matrix (CASM) The CASM has 9 general purpose analog signals labeled AB1 through AB9 that can be used for: Routing the single-ended programmable gain amplifier or analog feed-through output to AB1 through AB9 Routing an analog signal via AB1, AB2, or AB3 to the negative input of a general purpose comparator or phase comparator Routing the 8-bit HP DAC output to AB2 Routing the 10-bit LP DAC output to AB3 Routing analog signals via AB1 through AB12 to the ADC pre-multiplexer Routing phase comparator feed-through signals to AB7, AB8, and AB9, and averaged voltage to AB1 11.2.12. Configurable Digital Signal Matrix (CDSM) The CDSM has 7 general purpose bi-directional digital signals labeled DB1 through DB7 that can be used for: - 31 - Rev 1.0‒February 25, 2014 PAC5220 Power Application Controller Routing the AIOx input to or output signals from DB1 through DB7 Routing the general purpose comparator output signals to DB1 through DB7 Routing the OHIx input signals to DB1 through DB7 Routing the OHIx open-drain driver control signals from DB1 through DB7 - 32 - Rev 1.0‒February 25, 2014 PAC5220 Power Application Controller 11.3. Electrical Characteristics Table 11-1. Differential Programmable Gain Amplifier (DA) Electrical Characteristics (VSYS = VCCIO = 5V, VCC33 = 3.3V, and TA = -40°C to 105°C unless otherwise specified.) PARAMETER ICC;DA Operating supply current MIN Each enabled amplifier TYP MAX UNIT 150 300 µA VICMR;DA Input common mode range -0.3 3.5 V VOLR;DA Output linear range 0.1 3.5 V VOS;DA Input offset voltage -8 8 mV AVZI;DA Differential amplifier gain (zero ohm source impedance) kCMRR;DA Common mode rejection ratio RINDIF;DA Differential input impedance Slew rate tST;DA (1) CONDITIONS (1) Gain = 48x, VDAxP= VDAxN = 0V, TA = 25°C Gain = 1x 1 Gain = 2x 2 Gain = 4x 4 Gain = 8x, VDAxP = 125mV, VDAxN = 0V, TA = 25°C 8 2% Gain = 16x 16 Gain = 32x 32 Gain = 48x 48 Gain = 8x, VDAxP= VDAxN = 0V, TA = 25°C 55 dB 27 kΩ Gain = 8x Settling time (1) -2% 7 To 1% of final value 10 200 V/µs 400 ns TYP MAX UNIT 80 140 µA 3.5 V 10 mV Guaranteed by design. Table 11-2. Single-Ended Programmable Gain Amplifier (AMP) Electrical Characteristics (VSYS = VCCIO = 5V, VCC33 = 3.3V, and TA = -40°C to 105°C unless otherwise specified.) SYMBOL ICC;AMP PARAMETER Operating supply current VOLR;AMP Output linear range VOS;AMP Input offset voltage AV;AMP IIN;AMP Amplifier gain tST;AMP MIN Each enabled amplifier 0.1 Gain = 1x, TA = 25°C, VAMPX = 2.5V -10 Gain = 1x 1 Gain = 2x 2 Gain = 4x 4 Gain = 8x, VAMPx = 125mV, TA = 25°C -2% 16 Gain = 32x 32 Gain = 48x 48 0 (1) Settling time 8 Gain = 16x Input current Slew rate (1) CONDITIONS Gain = 8x (1) 8 To 1% of final value 2% 1 12 150 µA V/µs 300 ns Guaranteed by design. - 33 - Rev 1.0‒February 25, 2014 PAC5220 Power Application Controller Table 11-3. General Purpose Comparator (CMP) Electrical Characteristics (VSYS = VCCIO = 5V, VCC33 = 3.3V, and TA = -40°C to 105°C unless otherwise specified.) SYMBOL ICC;CMP VICMR;CMP Operating supply current CONDITIONS MIN TYP MAX UNIT 35 110 µA 0 VSYS V -10 10 mV Each enabled comparator Input common mode range VOS;CMP Input offset voltage VHYS;CMP Hysteresis 23 Input current 0 IIN;CMP tDEL;CMP (1) PARAMETER Comparator delay VCMPx = 2.5V, TA = 25°C mV 1 µA 0.1 µs TYP MAX UNIT 35 110 µA (1) Guaranteed by design. Table 11-4. Phase Comparator (PHC) Electrical Characteristics (VSYS = VCCIO = 5V, VCC33 = 3.3V, and TA = -40°C to 105°C unless otherwise specified.) SYMBOL ICC;PHC VICMR;PHC Operating supply current Input offset voltage VHYS;PHC Hysteresis tDEL;PHC CONDITIONS MIN Each enabled comparator Input common mode range VOS;PHC IIN;PHC (1) PARAMETER VPHCx = 2.5V, TA = 25°C 0 VSYS V -10 10 mV 23 Input current Comparator delay 0 mV 1 µA 0.1 µs TYP MAX UNIT 35 100 µA 0.3 VSYS -1 V -10 10 mV (1) Guaranteed by design. Table 11-5. Protection Comparator (PCMP) Electrical Characteristics (VSYS = VCCIO = 5V, VCC33 = 3.3V, and TA = -40°C to 105°C unless otherwise specified.) SYMBOL ICC;PCMP VICMR;PCMP Operating supply current CONDITIONS MIN Each enabled comparator Input common mode range VOS;PCMP Input offset voltage VHYS;PCMP Hysteresis 20 Input current 0 IIN;PCMP tDEL;PCMP (1) PARAMETER Comparator delay VPCMPx = 2.5V, TA = 25°C mV 1 µA 0.1 µs TYP MAX UNIT 35 100 µA (1) Guaranteed by design. Table 11-6. Analog Output Buffer (BUF) Electrical Characteristics (VSYS = VCCIO = 5V, VCC33 = 3.3V, and TA = -40°C to 105°C unless otherwise specified.) SYMBOL ICC;BUF PARAMETER Operating supply current CONDITIONS MIN No load VICMR;BUF Input common mode range 0.05 3.5 V VOLR;AMP Output linear range 0.1 3.5 V VOS;BUF Offset voltage VBUF = 2.5V, TA = 25°C -18 18 mV Maximum output current CL = 0.1nF 0.8 IOMAX - 34 - 1.3 mA Rev 1.0‒February 25, 2014 PAC5220 Power Application Controller Table 11-7. Analog Front End I/O (AIO) Electrical Characteristics (VSYS = VCCIO = 5V, and TA = -40°C to 105°C unless otherwise specified.) SYMBOL VAIO PARAMETER CONDITIONS Pin voltage range MIN TYP 0 VIH;AIO High-level input voltage VIL;AIO Low-level input voltage RPD;AIO Pull-down resistance Input mode VOL;AIO Low-level output voltage IAIOx = 7mA, open-drain output mode IOL;AIO Low-level output sink current VAIOx = 0.4V, open-drain output mode ILK;AIO High-level output leakage current VAIOx = 5V, open-drain output mode MAX UNIT 5 V 2.2 0.5 6 V 1 0.8 V 1.8 MΩ 0.4 V 14 mA 0 10 μA TYP MAX UNIT 5 V Table 11-8. Push Button (PBTN) Electrical Characteristics (VSYS = VCCIO = 5V, and TA = -40°C to 105°C unless otherwise specified.) SYMBOL PARAMETER CONDITIONS MIN VI;PBTN Input voltage range 0 VIH;PBTN High-level input voltage 2 VIL;PBTN Low-level input voltage RPU;PBTN Pull-up resistance To 3V, push button input mode V 0.35 V 40 55 95 kΩ MIN TYP MAX UNIT TA = 25°C 2.480 2.5 2.520 TA = -40°C to 105°C 2.453 2.5 2.547 Table 11-9. HP DAC and LP DAC Electrical Characteristics (VSYS = VCCIO = 5V, and TA = -40°C to 105°C unless otherwise specified.) SYMBOL VDACREF PARAMETER DAC reference voltage V HP 8-bit DAC INL(1) -1 1 LSB HP 8-bit DAC DNL(1) -0.5 0.5 LSB -2 2 LSB -1 1 LSB LP 10-bit DAC INL (1) LP 10-bit DAC DNL (1) CONDITIONS (1) Guaranteed by design and characterization. - 35 - Rev 1.0‒February 25, 2014 PAC5220 Power Application Controller 11.4. Typical Performance Characteristics (VSYS = 5V and TA = 25°C unless otherwise specified.) Differential PGA (DAx) Gain Characteristics at 1x, 2x, 4x, and 8x Settings Differential PGA (DAx) Gain Characteristics at 16x, 32x, and 48x Settings PACCAFE-001 4000 8x 4x 2x 48x Output Voltage (mV) Output Voltage (mV) 5000 3000 1x 2000 1000 0 0 500 1000 1500 2000 0 50 100 150 200 PGA (AMPx) Gain Characteristics at 16x, 32x, and 48x Settings 250 5000 4x 2x Output Voltage (mV) 8x 48x 3000 1x 2000 1000 0 500 1000 1500 2000 32x 4000 16x 3000 2000 1000 0 2500 PACCAFE-004 PACCAFE-003 Output Voltage (mV) 1000 PGA (AMPx) Gain Characteristics at 1x, 2x, 4x, and 8x Settings 0 50 100 150 200 Input Voltage (mV) Input Voltage (mV) LP DAC Output Voltage vs. Input Code HP DAC Output Voltage vs. Input Code 2500 250 2500 Output Voltage (mV) 2000 1500 1000 500 0 100h 200h 300h 2000 1500 1000 500 0 3FFh Input Code PACCAFE-006 PACCAFE-005 Output Voltage (mV) 2000 Differential Input Voltage (mV) 4000 0 16x 3000 Differential Input Voltage (mV) 5000 0 32x 4000 0 2500 PACCAFE-002 5000 0 40h 80h C0h FFh Input Code - 36 - Rev 1.0‒February 25, 2014 PAC5220 Power Application Controller 12. APPLICATION SPECIFIC POWER DRIVERS (ASPD) 12.1. Features 3 low-side and 3 high-side gate drivers 1A gate driving capability Open-drain drivers with input capability Configurable delays and fast fault protection 12.2. Block Diagram Figure 12-1. Application Specific Power Drivers APPLICATION SPECIFIC POWER DRIVERS DRBx HIGH-SIDE GATE DRIVERS DELAY LEVEL SHIFT PREDRIVER DRHx HS DRSx FAULT PROTECT LS LOW-SIDE GATE DRIVERS PREDRIVER DRLx ENDRV DINOHIx DOUTOHIx MUX PORT/PWM SIGNALS CONFIGURABLE DIGITAL SIGNAL MATRIX DELAY VP OHIx CONFIG OHI DRIVERS - 37 - Rev 1.0‒February 25, 2014 PAC5220 Power Application Controller 12.3. Functional Description The Application Specific Power Drivers (ASPD, Figure 12-1) module handles power driving for power control applications. The PAC5220 has three low-side gate drivers (DRLx), three high-side gate drivers (DRHx), and two high-voltage open-drain drivers (OHIx). Each gate driver can drive an external MOSFET or IGBT switch in response to high-speed control signals from the microcontroller ports, and a pair of high-side and low-side gate drivers can form a half-bridge driver. The open-drain drivers provide activation control for relays, LEDs, buffers, and other loads. Figure 12-2 below shows typical gate driver connections and Table 12-1 shows the ASPD resources available on different PAC part numbers. The PAC5220 gate drivers support up to a 52V supply. Figure 12-2. Typical Gate Driver Connections DRBx VP VIN DRHx DRSx (To loads/inductors.) DRLx PAC5220 Table 12-1. Power Driver Resources by Part Numbers PART NUMBER PAC5220 LOW-SIDE GATE DRIVER HIGH-SIDE GATE DRIVER OPEN-DRAIN DRIVER DRLx SOURCE / SINK CURRENT DRHx MAX SUPPLY SOURCE/ SINK CURRENT OHIx 3 1A/1A 3 52V 1A/1A 2 (40V/ 40mA) The ASPD includes built-in configurable fault protection for the internal gate drivers. 12.3.1. Low-Side Gate Driver The DRLx low-side gate driver drives the gate of an external MOSFET or IGBT switch between the low-level VSSP power ground rail and high-level V P supply rail. The DRLx output pin has sink and source output current capability of 1A. Each low-side gate driver is controlled by a microcontroller port signal with 4 configurable levels of propagation delay. 12.3.2. High-Side Gate Driver The DRHx high-side gate driver drives the gate of an external MOSFET or IGBT switch between its low-level DRSx driver source rail and its high-level DRBx bootstrap rail. The DRSx pin can go up to 52V steady state. The DRHx output pin has sink and source output current capability of 1A. The DRBx bootstrap pin can have a maximum operating voltage of 16V relative to the DRSx pin, and up to 64V steady state. The DRSx pin is designed to tolerate momentary switching negative spikes down to -5V without affecting the DRHx output state. Each high-side gate driver is controlled by a microcontroller port signal with 4 configurable levels of propagation - 38 - Rev 1.0‒February 25, 2014 PAC5220 Power Application Controller delay. For bootstrapped high-side operation, connect an appropriate capacitor between DRBx and DRSx and a properly rated bootstrap diode from V P to DRBx. To operate the DRHx output as a low-side gate driver, connect its DRBx pin to VP and its DRSx pin to VSSP. 12.3.3. High-Side Switching Transients Typical high-side switching transients are shown in Figure 12-3(a). To ensure functionality and reliability, the DRSx and DRBx pins must not exceed the peak and undershoot limit values shown. This should be verified by probing the DRBx and DRSx pins directly relative to VSS pin. A small resistor and diode clamp for the DRSx pin can be used to make sure that the pin voltage stays within the negative limit value. In addition, the high-side slew rate dV/dt must be kept within ±5V/ns for DRSx. This can be achieved by adding a resistor-diode pair in series, and an optional capacitor in parallel with the power switch gate. The parallel capacitor also provides a low impedance and close gate shunt against coupling from the switch drain. These optional protection and slew rate control are shown in Figure 12-3(b). Figure 12-3. High-Side Switching Transients and Optional Circuitry VDRBx ≤ 65V DRBx VP VIN DRHx DRSx dV/dt VDRBx PAC5220 dV/dt DRLx VDRSx VDRSx ≥ -5V (a) High-Side Switching Transients (b) Optional Transient Protection and Slew Rate Control 12.3.4. Open-Drain Drivers The OHIx pin can be configured to be a 40V/40mA or 40V/15mA open-drain driver output, or a logic input. When configured as an open-drain driver output, the OHIx pin can be controlled by either a register bit or a configurable digital signal matrix (CDSM) signal. With default polarity, the OHIx pin is switched to V SSP with 17.5Ω (40mA mode) or 50Ω (15mA mode) impedance in the on state when the corresponding bit or signal is '1', and is in the high-impedance off state when the corresponding bit or signal is '0'. When configured as an input, the OHIx pin signal can flow to a register bit or to a CDSM signal. The polarity bit determines the signal polarity in both input and output modes. 12.3.5. Power Drivers Control All power drivers are initially disabled from power-on-reset. To enable the power drivers, the microprocessor must first set the driver enable bit to '1'. The gate drivers are controlled by the microcontroller ports and/or PWM signals according to Table 12-2, with configurable delays as shown in Table 12-3. The OHIx open-drain drivers are controlled by their corresponding register bits. Refer to the PAC application notes and user guide for additional information on power drivers control programming. - 39 - Rev 1.0‒February 25, 2014 PAC5220 Power Application Controller Table 12-2. Microcontroller Port and PWM to Power Driver Mapping PART NUMBER PWMA0 PWMA1 PWMA2 PWMA3/ PWMA4/ PWMB0 PWMA5/ PWMC0 PWMA6/ PWMD0 PAC5220 DRL0 DRL1 DRL2 DRH3 DRH4 DRH5 Table 12-3. Power Driver Delay Configuration DRLx DRHx DELAY SETTING RISING FALLING RISING FALLING 00b Default Setting 130ns 140ns 160ns 140ns 01b Setting 170ns 180ns 200ns 180ns 10b Setting 230ns 250ns 260ns 240ns 11b Setting 360ns 380ns 380ns 370ns 12.3.6. Gate Driver Fault Protection The ASPD incorporates a configurable fault protection mechanism using protection signal from the Configurable Analog Front End (CAFE), designated as protection event 1 (PR1) signal. The DRL0/DRL1/DRL2 drivers are designated as low-side group 1. The DRH3/DRH4/DRH5 gate drivers are designated as high-side group 1. The PR1 signal from the CAFE can be used to disable low-side group 1, high-side group 1, or both depending on the PR1 mask bit settings. - 40 - Rev 1.0‒February 25, 2014 PAC5220 Power Application Controller 12.4. Electrical Characteristics Table 12-4. Gate Drivers Electrical Characteristics (VP = 12V, VSYS = 5V, and TA = -40°C to 105°C unless otherwise specified.) SYMBOL PARAMETER CONDITIONS MIN TYP VP−0.5 VP−0.25 MAX UNIT Low-Side Gate Drivers (DRLx Pins) VOH,DRL High-level output voltage IDRLx = -50mA VOL,DRL Low-level output voltage IDRLx = 50mA IOHPK,DRL High-level pulsed peak source current 10µs pulse -1 A IOLPK,DRL Low-level pulsed peak sink current 10µs pulse 1 A 0.175 V 0.35 V High-Side Gate Drivers (DRHx, DRBx and DRSx Pins) Repetitive, 10µs pulse -5 53 Steady state 0 52 Repetitive, 10µs pulse 5.2 65 Steady state 5.2 64 Bootstrap supply voltage range VDRBx, relative to respective VDRSx 5.2 16 V Bootstrap UVLO threshold VDRBx rising, relative to respective VDRSx ,Hysteresis= 1V 4.1 5.2 V Gate Driver Disabled 23 35 Gate Driver Enabled 30 45 Gate Driver Disabled 0.5 10 Gate Driver Enabled 220 300 VDRS Level-shift driver source voltage range VDRB Bootstrap pin voltage range VBS;DRB VUVLO;DRB V V IBS;DRB Bootstrap circuit supply current IOS;DRB Offset supply current VOH;DRH High-level output voltage IDRHx = -50mA VOL;DRH Low-level output voltage IDRHx = 50mA IOHPK;DRH High-level pulsed peak source current 10µs pulse -1 A IOLPK;DRH Low-level pulsed peak sink current 10µs pulse 1 A Delay setting 00 10 ns Delay setting 01 50 ns Delay setting 10 120 ns Delay setting 11 250 ns VDRBx−0.6 VDRBx −0.25 VDRSx +0.175 µA µA V VDRSx +0.35 V High-Side and Low-Side Gate Driver Propogation Delay tPD Propagation Delay - 41 - Rev 1.0‒February 25, 2014 PAC5220 Power Application Controller Table 12-5. Open-Drain Drivers Electrical Characteristics (VP = 12V, VSYS = 5V, and TA = -40°C to 105°C unless otherwise specified.) SYMBOL PARAMETER CONDITIONS MIN TYP MAX UNIT 40 V High-Voltage Open-Drain Drivers (OHIx Pins) VOHI Output voltage range Off state 0 RON;OHI On state resistance IOHIx = 10mA IOL;OHI On state sink current VOHIx = 2V ILK;OHI Leakage current VOHIx = 40V, off state VIH;OHI High-level input voltage Input mode VIL;OHI Low-level input voltage Input mode RPD;OHI Pull-down resistance Input mode 40mA driver mode 17.5 45 15mA driver mode 50 110 40mA driver mode 40 80 15mA driver mode 15 30 0 mA 10 2 μA V 0.8 1 - 42 - Ω V MΩ Rev 1.0‒February 25, 2014 PAC5220 Power Application Controller 12.5. Typical Performance Characteristics (VP = 12V, VSYS = 5V and TA = 25°C unless otherwise specified.) Low-Side Gate Driver (DRLx) Source/Sink Current vs. Temperature 7 On Resistance (Ω) Source/Sink Current (A) 2 PACASPD-002 8 PACASPD-001 3 Low-Side Gate Driver (DRLx) On Resistance vs. Temperature Source current 1 Sink current 6 5 Pull up Pull down 4 3 2 1 0 40 80 -40 0 40 80 120 Temperature (°C) Temperature (°C) High-Side Gate Driver (DRHx) Source/Sink Current vs. Temperature High-Side Gate Driver (DRHx) On Resistance vs. Temperature 2 PACASPD-004 8 PACASPD-003 3 Source/Sink Current (A) 0 120 7 On Resistance (Ω) 0 -40 Source current 1 Sink current 6 5 Pull down Pull up 4 3 2 1 0 -40 0 40 80 0 120 40 80 120 Low-Side Gate Driver (DRLx) Turn-On Delay vs. Temperature Low-Side Gate Driver (DRLx) Turn-Off Delay vs. Temperature 500 Turn-Off Delay (ns) 11b setting 300 10b setting 200 01b setting 00b setting (default) 100 CL = 1nF 0 40 80 Temperature (°C) 11b setting 400 300 10b setting 01b setting 200 00b setting (default) 100 0 -40 120 PACASPD-008 400 PACASPD-007 Turn-On Delay (ns) 0 Temperature (°C) 500 0 -40 -40 Temperature (°C) CL = 1nF 0 40 80 120 Temperature (°C) - 43 - Rev 1.0‒February 25, 2014 PAC5220 Power Application Controller Typical Performance Characteristics (Continued) (VP = 12V, VSYS = 5V and TA = 25°C unless otherwise specified.) High-Side Gate Driver (DRHx) Turn-On Delay vs. Temperature High-Side Gate Driver (DRHx) Turn-Off Delay vs. Temperature 500 300 Turn-Off Delay (ns) 11b setting 400 10b setting 01b setting 200 00b setting (default) 100 CL = 1nF 0 -40 0 40 80 400 120 11b setting 300 10b setting 200 01b setting 00b setting (default) 100 0 -40 Temperature (°C) PACASPD-011 PACASPD-009 Turn-On Delay (ns) 500 CL = 1nF 0 40 80 120 Temperature (°C) OHIx Open-Drain Driver On State Output Voltage vs. Output Current On State Output Voltage (V) PACASPD-013 4 105°C 3 105°C 25°C 25°C 2 -30°C -30°C 1 40mA mode 15mA mode 0 0 20 40 60 80 100 Output Current (mA) - 44 - Rev 1.0‒February 25, 2014 PAC5220 Power Application Controller 13. ADC WITH AUTO-SAMPLING SEQUENCER 13.1. Block Diagram Figure 13-1. ADC with Auto-Sampling Sequencer ADC RESULT REGISTERS (16) AHB/APB ADC WITH AUTO-SAMPLING SEQUENCER REGISTER REGISTER REGISTER REGISTER ADx MUX ADC CONFIGURABLE ANALOG FRONT END 10-BIT ADC DIFF-PGA DAxN AUTO-SAMPLING SEQUENCER ADC PRE-MUX S/H DAxP MUX DIFFERENTIAL PGA STATE MACHINE 0 STATE MACHINE 1 CASM EMUX CONTROL VTEMP, VMON, VREF/2 EMUX - 45 - Rev 1.0‒February 25, 2014 PAC5220 Power Application Controller 13.2. Functional Description 13.2.1. ADC The analog-to-digital converter (ADC) is a 10-bit succesive approximation register (SAR) ADC with 1 μs conversion time and up to 1MSPS capability. The ADC input clock has a user-configurable divider from /1 to /8 of the system clock. The integrated analog multiplexer allows selection from up to 6 direct ADx inputs, and from up to 10 analog inputs signals in the Configurable Analog Front End (CAFE), including up to 3 differential input pairs. The ADC can be configured for repeating or non-repeating conversions and can interrupt the microcontroller when a conversion is finished. 13.2.2. Auto-Sampling Sequencer Two independent and flexible auto-sampling sequencer state machines allow signal sampling using the ADC without interaction from microcontroller core. Each auto-sampling sequencer state machine can be programmed to take and store up to 8 samples each in the ADC result register from different analog inputs, able to control the ADC MUX and ADC Premux as well as the precise timing of the S/H in the Configurable analog frontend. The sampling start of the auto-sampling sequencer can be precisely triggered using timers A, B, C, or D or any of their associated PWM edges (high-to-low or low-to-high). It also supports manual start or a ping-pong-scheme, where one auto-sampling sequencer state machine triggers the other when it finishes sampling. The auto-sampling sequencer can interrupt the microcontroller when either conversion sequence is finished. 13.2.3. EMUX Control A dedicated low latency interface controllable by the auto-sampling sequencer or register control allows changing the ADC premultiplexer and asserting/deasserting the S/H circuit in the configurable analog front end, allowing back to back conversions of multiple analog inputs without microcontroller interaction. - 46 - Rev 1.0‒February 25, 2014 PAC5220 Power Application Controller 13.3. Electrical Characteristics Table 13-1. ADC and Auto-Sampling Sequencer Electrical Characteristics (VSYS = VCCIO = 5V, VCC33 = 3.3V, VCC18 = 1.8V, and TA = -40°C to 105°C unless otherwise specified.) SYMBOL PARAMETER CONDITIONS MIN TYP MAX UNIT 16 MHz 1 μs ADC fADCLK ADC conversion clock input tADCONV ADC conversion time fADCLK = 16MHz ADC resolution 10 ADC effective resolution bits 9.2 ADC differential non-linearity (DNL) bits ±0.5 LSB ADC integral non-linearity (INL) ±1 LSB ADC offset error 0.6 %FS ADC gain error 0.12 %FS 2.5 V 188 μs 1.3 pF Reference Voltage VREFADC ADC reference voltage input Sample and Hold tADCSH ADC sample and hold time CADCIC ADC input capacitance fADCLK = 16MHz Input Voltage Range VADCIN ADC input voltage range ADC multiplexer input 0 VREFADC V 50 MHz EMUX Clock Speed fEMUXCLK EMUX engine clock input - 47 - Rev 1.0‒February 25, 2014 PAC5220 Power Application Controller 14. MEMORY SYSTEM 14.1. Features 32kB embedded FLASH 100,000 program/erase cycles 10 years data retention 8kB SRAM 14.2. Block Diagram Figure 14-1. Memory System INFO ROM FLASH SRAM 256B INFO ROM 1kB FLASH PAGES 8kB SRAM - 48 - AHB/APB MEMORY SYSTEM Rev 1.0‒February 25, 2014 PAC5220 Power Application Controller 14.3. Functional Description The device has multiple banks of embedded FLASH memory, SRAM memory, as well as peripheral control registers that are all program-accessible in a flat memory map. 14.3.1. Program and Data FLASH 32kB in 32 pages of 1kB each is available for program or data memory. Each of them can be individually erased or written to while the microcontroller is executing a program from SRAM. 14.3.2. SRAM Up to 8kB contiguous array of SRAM is available for non-persistent data storage. The SRAM memory supports word (4-byte), half-word (2-byte) and byte address aligned access. The microcontroller may execute code out of SRAM for time-critical applications, or when modifying the contents of FLASH memory. - 49 - Rev 1.0‒February 25, 2014 PAC5220 Power Application Controller 14.4. Electrical Characteristics Table 14-1. Memory System Electrical Characteristics (VSYS = VCCIO = 5V, VCC33 = 3.3V, VCC18 = 1.8V, and TA = -40°C to 105°C unless otherwise specified.) SYMBOL PARAMETER CONDITIONS MIN TYP MAX UNIT Embedded FLASH tREAD;FLASH FLASH read time 40 ns tWRITE;FLASH FLASH write time 20 μs tPERASE;FLASH FLASH page erase time 10 NPERASE;FLASH FLASH program/erase cycles tDR;FLASH ms 100k cycles FLASH data retention 10 years SRAM access cycle time 20 ns SRAM tSRAM - 50 - Rev 1.0‒February 25, 2014 PAC5220 Power Application Controller 15. CLOCK CONTROL SYSTEM 15.1. Features Ring oscillator with 8MHz, 10MHz, 16MHz, and 28MHz settings High accuracy 1% trimmed 4MHz RC oscillator Crystal oscillator driver supporting 2MHz to 10MHz crystals External clock input up to 40MHz PLL with 1MHz to 25 MHz input, and 3.5MHz to 100MHz output /1 to /8 clock divider for HCLK /1 to /128 clock divider for ACLK 15.2. Block Diagram Figure 15-1. Clock Control System CLOCK CONTROL SYSTEM FRCLK FRCLK CLOCK GATING DIV RTC DIV WDT DIV WIC DIV ADC DIV SYSTICK CORTEX M0 CLOCK SOURCES PLL PLL CLOCK CLOCK TREE TREE SRAM RING OSCILLATOR XIN XOUT PLL PLL MUX MUX FRCLK MUX 1% RC OSCILLATOR EXTCLK FLASH FCLK DIVDIV CRYSTAL DRIVER DIVDIV HCLK CLOCK GATING DIV UART DIV I2C DIV SOC BUS DIV SPI ACLK DIV ADC EMUX TIMERS A, B, C & D CLOCK GATING - 51 - DIV TIMER Rev 1.0‒February 25, 2014 PAC5220 Power Application Controller 15.3. Functional Description The PAC clock control system covers a wide range of applications. 15.3.1. Free Running Clock (FRCLK) The free running clock (FRCLK) is generated from on of the 4 clock sources: ring oscillator, trimmed RC oscillator, crystal driver or external clock input. The FRCLK is used for the real-time clock (RTC), watchdog timer (WDT), input to the PLL, or FCLK source to clock the system in low power and sleep mode. 15.3.2. Fast Clock (FCLK) The fast clock (FCLK) is generated from the PLL or supplied by the FRCLK directly. The FCLK supplies the watchdog timer (WDT), ADC, wake-up interrupt controller (WIC), SysTick timer, ARM Cortex-M0 peripheral high speed clock (HCLK) and low speed clock (LSCLK). 15.3.3. High-Speed Clock (HCLK) The high-speed clock (HCLK) is derived from the FCLK with a /1, /2, /4 or /8 divider. It supplies the peripheral AHB/APB bus, Timers A to D, dead-time controllers, SPI interface, I 2C interface, UART interface, EMUX interface, SOC bridge interface and memory subsystem, and can go as high as 50MHz. 15.3.4. Auxiliary Clock (ACLK) The auxiliary clock (ACLK) is derived from FCLK with a /1, /2, to /64 divider, and supplies the timer and dead-time blocks. It can be clocked faster or slower than HCLK and can go as high as 100MHz. 15.3.5. Clock Gating The clock tree supports clock gating in deep-sleep mode for the timer block, ADC, SPI interface, I 2C interface, UART interface, memory subsystem and the ARM Cortex-M0 itself. 15.3.6. Ring Oscillator (ROSC) The integrated ring oscillator provides 4 different clocks with 8MHz, 10MHz, 16MHz, and 28MHz settings. After reset, the clock tree always defaults to this clock input with the lowest frequency setting. 15.3.7. Trimmed 4MHz RC Oscillator The 1% trimmed 4MHz RC oscillator provides an accurate clock suitable for many applications. It is also used to derive the clock for the Multi-Mode Power Manager. 15.3.8. Internal Slow RC Oscillator An internal 32kHz RC oscillator is used during start up to provide an initial clock to analog circuitry. It is not used as a clock input to the clock tree. 15.3.9. Crystal Oscillator Driver The optional crystal oscillator driver can drive crystals from 2MHz to 10MHz to provide a highly accurate and stable clock into the system. 15.3.10. External Clock Input The clock tree can be supplied with an external clock up to 10MHz. 15.3.11. PLL The integrated PLL input clock is supplied by the FRCLK with an input frequency range of 1MHz to 25MHz. The PLL output frequency is adjustable from 3.5MHz to 100MHz. - 52 - Rev 1.0‒February 25, 2014 PAC5220 Power Application Controller 15.4. Electrical Characteristics Table 15-1. Clock Control System Electrical Characteristics (VSYS = VCCIO = 5V, VCC33 = 3.3V, VCC18 = 1.8V, and TA = -40°C to 105°C unless otherwise specified.) SYMBOL PARAMETER CONDITIONS MIN TYP MAX UNIT Clock Tree (FRCLK, FCLK, HCLK, and ACLK) fFRCLK Free running clock frequency 50 MHz fFCLK Fast clock frequency 100 MHz fHCLK High-speed clock frequency 50 MHz fACLK Auxiliary clock frequency 100 MHz Internal Oscillators fROSC fTRIM Ring oscillator frequency Trimmed RC oscillator frequency Trimmed RC oscillator clock jitter Frequency setting = 11b 7.5 Frequency setting = 10b 9.6 Frequency setting = 01b 13.8 Frequency setting = 00b 25.7 MHz TA = 25°C 3.96 4 4.04 TA = -40°C to 105°C 3.90 4 4.06 TA = -40°C to 85°C 0.5 MHz % Crystal Oscillator Driver VIH;XIN XIN high-level input voltage VIL;XIN XIN low-level input voltage fXTAL Crystal oscillator frequency range Recommended capacitive load External circuit ESR V 0.65•VCC18 2 fXTAL = 2MHz to 3MHz 25 fXTAL = 3MHz to 6MHz 20 fXTAL = 6MHz to 10MHz 16 0.35•VCC18 V 10 MHz pF fXTAL = 2MHz to 3MHz 1000 fXTAL = 3MHz to 6MHz 400 fXTAL = 6MHz to 10MHz 100 Ω External Clock Input fEXTCLK External clock input frequency range 40 MHz tHIGH;EXTCLK External clock high time 10 ns tLOW;EXTCLK External clock low time 10 ns PLL input frequency range 2 25 MHz 3.5 200 MHz PLL fINPLL fOUTPLL PLL output frequency range PLL settling time PLL period jitter 0.5 RMS 30 Peak to peak - 53 - ±150 ms ps Rev 1.0‒February 25, 2014 PAC5220 Power Application Controller 16. ARM CORTEX-M0 MICROCONTROLLER CORE 16.1. Features ARM Cortex-M0 core Fast single-cycle 32-bit x 32-bit multiplier 24-bit SysTick timer Up to 50MHz operation Serial wire debug (SWD), with 4 break-point and 2 watch-point unit comparators Nested vectored interrupt controller (NVIC) with 25 external interrupts Wake-up interrupt controller (WIC) with GPIO, real-time clock (RTC) and watchdog timer (WDT) interrupts enabled Sleep and deep-sleep mode with clock gating 16.2. Block Diagram Figure 16-1. ARM Cortex-M0 Microcontroller Core SWDCL SWDDA SERIAL WIRE DEBUG WITH DISABLE ARM CORTEX-M0 1-CYCLE 32X32 MULTIPLIER - 54 - 24-BIT SYSTICK NESTED VECTORED INTERRUPT CONTROLLER AHB/APB ARM CORTEX-M0 MICROCONTROLLER CORE WAKE-UP INTERRUPT CONTROLLER Rev 1.0‒February 25, 2014 PAC5220 Power Application Controller 16.3. Functional Description The ARM Cortex-M0 microcontroller core is configured for little endian operation and includes the fast single-cycle 32-bit multiplier and 24-bit SysTick timer and can operate at a frequency of up to 50MHz. The microcontroller nested vectored interrupt controller (NVIC) supports 25 external interrupts for the device's peripherals and sub-systems. For low-latency interrupt processing, the NVIC also supports interrupt tailchaining. The wake-up interrupt controller (WIC) is able to wake up the device from low-power modes using any GPIO interrupt, as well as from the RTC or WDT. The ARM Cortex-M0 supports both sleep and deep-sleep lowpower modes. The deep-sleep mode supports clock gating to limit standby power even further. Firmware debug support includes 4 break-point and 2 watch-point unit comparators using the serial wire debug (SWD) protocol. The serial wire debug mechanism can be disabled to prevent device access to the firmware in the field. - 55 - Rev 1.0‒February 25, 2014 PAC5220 Power Application Controller 16.4. Electrical Characteristics Table 16-1. Microcontroller and Clock Control System Electrical Characteristics (VSYS = VCCIO = 5V, VCC33 = 3.3V, VCC18 = 1.8V, and TA = -40°C to 105°C unless otherwise specified.) SYMBOL fHCLK IOP;VSYS IQ;VCCIO PARAMETER Microcontroller clock VSYS operating supply current CONDITIONS MIN TYP HCLK fFRCLK = fHCLK = fACLK = ROSC 11b, PLL disabled, CPU halt; other clock sources, ADC, timers, and serial interface disabled 3.4 fFRCLK = fHCLK = fACLK = ROSC 10, PLL disabled, CPU halt; other clock sources, ADC, timers, and serial interface disabled 4 fFRCLK = fHCLK = fACLK = ROSC 01, PLL disabled, CPU halt; other clock sources, ADC, timers, and serial interface disabled 5.3 fFRCLK = fHCLK = fACLK = ROSC 00, PLL disabled, CPU halt; other clock sources, ADC, timers, and serial interface disabled 9 fFRCLK = fHCLK = fACLK = CLKREF, PLL disabled, CPU halt; other clock sources, ADC, timers, and serial interface disabled 2.3 fFRCLK = fHCLK = fACLK = 10MHz XTAL, PLL disabled, CPU halt; other clock sources, ADC, timers, and serial interface disabled 4.5 fFRCLK = 4MHz CLKREF, fHCLK = 50MHz, fACLK = fOUTPLL = 100MHz, CPU halt; other clock sources, ADC, timers, and serial interface disabled 23.3 VCCIO quiescent supply current 0.02 - 56 - MAX UNIT 50 MHz mA mA Rev 1.0‒February 25, 2014 PAC5220 Power Application Controller 16.5. Typical Performance Characteristics (VSYS = VCCIO = 5V, VCC33 = 3.3V, VCC18 = 1.8V, and TA = 25°C unless otherwise specified.) IVCC18 vs. PLL Frequency IVCC18 (mA) 20 PACMCU-001 25 fHCLK = fACLK = fOUTPLL 15 fHCLK = 0.5•fOUTPLL, fACLK = fOUTPLL 10 5 0 0 20 40 60 80 100 PLL Frequency (MHz) - 57 - Rev 1.0‒February 25, 2014 PAC5220 Power Application Controller 17. I/O CONTROLLER 17.1. Features 5V-compliant I/O PAx, PDx, PEx 3.3V-compliant I/O PCx Configurable drive strength on PAx, PDx, PEx Configurable pull-up or pull-down on PAx, PDx, PEx 17.2. Block Diagram Figure 17-1. I/O controller DIGITAL I/O GPIO (PAx, PDx, PEx) VCCIO (5V/3.3V) PERIPHERAL PULL UP GPIO INPUT PAx, PDx, PEx VCCIO (5V/3.3V) PULL DOWN PERIPHERAL GPIO OUTPUT OUTPUT ENABLE DRIVE STRENGTH GPIO (PCx) ADC MUX GPIO INPUT INPUT ENABLE VCC33 (3.3V) GPIO OUTPUT AHB/APB PCx OUTPUT ENABLE 17.3. Functional Description The PAC can support up to 4 ports with 8 I/Os each from PAx, PCx, PDx, and PEx, in addition to the I/Os on the analog front end. All PAx, PCx, PDx, and PEx ports have interrupt capability with configurable interrupt edge. 17.3.1. PAx, PDx, and PEx PAx, PDx, and PEx I/Os use VCCIO as the I/O supply voltage that is 5V on default parts (and 3.3V available from factory). The drive current can be configured as 8mA or 16mA. They also support weak pull-up and pull-down to save external components. - 58 - Rev 1.0‒February 25, 2014 PAC5220 Power Application Controller 17.3.2. PCx PCx uses VCC33 as its I/O supply voltage. The drive current is fixed to 8mA. PC0 to PC5 are also associated with analog inputs AD0 to AD5 to the ADC. - 59 - Rev 1.0‒February 25, 2014 PAC5220 Power Application Controller 17.4. Electrical Characteristics Table 17-1. I/O Controller Electrical Characteristics (VSYS = VCCIO = 5V, VCC33 = 3.3V, VCC18 = 1.8V, and TA = -40°C to 105°C unless otherwise specified.) SYMBOL PARAMETER CONDITIONS MIN TYP MAX UNIT PAx, PDx, PEx (5V Operation) VIH High-level input voltage VCCIO = 5V VIL Low-level input voltage VCCIO = 5V IOL Low-level output sink current VCCIO = 5V, VOL = 0.4V Drive strength setting = 0b 8 Drive strength setting = 1b 16 IOH High-level output source current VCCIO = 5V, VOH = 2.4V Drive strength setting = 0b -8 Drive strength setting = 1b -16 RPU Weak pull-up resistance VCCIO = 5V 53 66 87 kΩ RPD Weak pull-down resistance VCCIO = 5V 63 108 244 kΩ Input leakage current TA = 125°C -10 0 10 μA 2 IIL 3 V 0.8 V mA mA PAx, PDx, PEx (3.3V Operation) VIH High-level input voltage VCCIO = 3.3V VIL Low-level input voltage VCCIO = 3.3V IOL Low-level output sink current VCCIO = 3.3V, VOL = 0.4V Drive strength setting = 0b 4.5 Drive strength setting = 1b 9 IOH High-level output source current VCCIO = 3.3V, VOH = 2.4V Drive strength setting = 0b -4.5 Drive strength setting = 1b -9 RPU Weak pull-up resistance VCCIO = 3.3V 47 74 104 kΩ RPD Weak pull-down resistance VCCIO = 3.3V 50 84 121 kΩ Input leakage current TA = 125°C -10 0 10 μA 2 IIL V 0.8 V mA mA PCx (3.3V Operation) VIH High-level input voltage VCC33 = 3.3V VIL Low-level input voltage VCC33 = 3.3V IOL Low-level output sink current VCC33 = 3.3V, VOL = 0.4V IOH High-level output source current VCC33 = 3.3V, VOH = 2.4V IIL Input leakage current TA = 125°C 8 -10 - 60 - V 0.8 V mA 0 -8 mA 10 μA Rev 1.0‒February 25, 2014 PAC5220 Power Application Controller 18. SERIAL INTERFACE 18.1. Block Diagram Figure 18-1. Serial Interface SERIAL INTERFACE I2C I2C MASTER SCL SDA I2C SLAVE UART 16550-COMPATIBLE UART AHB/APB TX RX SPI SPICLK SPI MASTER SPIMISO SPIMMOSI SPI SLAVE SPICS0, 1, 2 18.2. Functional Description The device has up to three serial interfaces: I2C, UART, and SPI. 18.2.1. I2C Controller The I2C controller is a configurable peripheral that can support various modes of operation: I2C master operation Normal mode (100kHz), fast mode (400kHz), or fast mode plus (1MHz) Single and multi-master Synchronization (multi-master) Arbitration (multi-master) 7-bit or 10-bit slave addressing I2C slave operation Normal mode (100kHz), fast mode (400kHz), or fast mode plus (1MHz) Clock stretching 7-bit or 10-bit slave addressing - 61 - Rev 1.0‒February 25, 2014 PAC5220 Power Application Controller The I2C peripheral may operate either by polling, or can be configured to be interrupt driven for both receive and transmit data. 18.3. UART Controller The UART peripheral is a configurable peripheral that can support various features and modes of operation: Programmable clock selection National Instruments PC16550D compatible 16-deep transmit and receive FIFO and fractional clock divisor Up to 3.125Mbps communication speed (with HCLK = 50MHz) The UART peripheral may operate either by polling, or can be configured to be interrupt driven for both receive and transmit data. 18.4. SPI Controller The device contains an SPI controller that can each be used in either master or slave operation, with the following features: SPI master operation Control of up to three different SPI slaves Operation up to 25MHz Flexible multiple transmit mode for variable-size SPI data with user-defined chip-select behavior Chip select “shaping” through programmable additional delay for chip-select setup, hold and wait time for back-to-back transfers SPI master or slave operation Supports clock phase and polarity control Data transmission/reception can be on 8-, 16-, 24- or 32-bit boundary Selectable data bit ordering (LSB or MSB first) Programmable chip select polarity Selectable “auto-retransmit” mode The SPI peripheral may operate either by polling, or can be configured to be interrupt driven for both receive and transmit data. - 62 - Rev 1.0‒February 25, 2014 PAC5220 Power Application Controller 18.5. Dynamic Characteristics Table 18-1. Serial Interface Dynamic Characteristics (VSYS = VCCIO = 5V, VCC33 = 3.3V, VCC18 = 1.8V, and TA = -40°C to 105°C unless otherwise specified.) SYMBOL PARAMETER CONDITIONS MIN TYP MAX UNIT 2 IC fI2CCLK I2C input clock frequency Standard mode (100kHz) 2.8 MHz Fast mode (400kHz) 2.8 MHz Fast mode plus (1MHz) 6.14 MHz UART fUARTCLK UART input clock frequency UART baud rate fHCLK/16 MHz fHCLK = 50MHz 3.125 Mbps Master mode fHCLK/2 MHz Slave mode fHCLK/2 MHz SPI fSPICLK SPI input clock frequency - 63 - Rev 1.0‒February 25, 2014 PAC5220 Power Application Controller Table 18-2. I2C Dynamic Characteristics SYMBOL fSCL tLOW tHIGH tHD;STA tSU;STA tHD;DAT tSU;DAT tSU;STO tBUF PARAMETER SCL clock frequency SCL clock low SCL clock high Hold time for a repeated START condition Set-up time for a repeated START condition Data hold time Data set-up time Set-up time for STOP condition Bus free time between a STOP and START condition CONDITIONS MIN tf Cb Rise time for SDA and SCL Fall time for SDA and SCL Capacitive load for each bus line MAX Standard mode 0 100 Fast mode 0 400 Fast mode plus 0 1000 Standard mode 4.7 Fast mode 1.3 Fast mode plus 0.5 Standard mode 4.0 Fast mode 0.6 Fast mode plus 0.26 Standard mode 4.0 0.6 0.26 Standard mode 4.7 Fast mode 0.6 Fast mode plus 0.26 Standard mode 0 3.45 Fast mode 0 0.9 Fast mode plus 0 Standard mode 250 Fast mode 100 50 Standard mode 4.0 Fast mode 0.6 Fast mode plus 0.26 Standard mode 4.7 Fast mode 1.3 Fast mode plus 0.5 Fast mode kHz μs Fast mode plus Fast mode plus UNIT μs Fast mode Standard mode tr TYP μs μs μs ns μs μs 1000 20 300 ns Fast mode plus 120 Standard mode 300 Fast mode 300 Fast mode plus 120 Standard mode, Fast mode 400 pF Fast mode plus 550 pF - 64 - ns Rev 1.0‒February 25, 2014 PAC5220 Power Application Controller Figure 18-2. I2C Timing Diagram tHD;STA tSU;DAT tSU;STA tr tf tBUF SDA tHD;DAT tf tr tSU;STO SCL S tLOW tHIGH Sr - 65 - P S Rev 1.0‒February 25, 2014 PAC5220 Power Application Controller 19. TIMERS 19.1. Block Diagram Figure 19-1. Timers A, B, C, and D TIMER A PWM PWMA0, PWMA1, PWMA2, PWMA3 PWMA4, PWMA5, PWMA6, PWMA7 CAPTURE & COMPARE TIMER A 16-BIT SYNC TIMERS A, B, C, AND D DEAD TIME GENERATOR CAPTURE & COMPARE TIMER B PWM PWMB0 PWMB1 CAPTURE & COMPARE TIMER B 16-BIT DEAD TIME GENERATOR CAPTURE & COMPARE TIMER C PWM PWMC1 CAPTURE & COMPARE TIMER C 16-BIT DEAD TIME GENERATOR CAPTURE & COMPARE AHB/APB PWMC0 TIMER D PWM PWMD0 PWMD1 CAPTURE & COMPARE TIMER D 16-BIT DEAD TIME GENERATOR CAPTURE & COMPARE - 66 - Rev 1.0‒February 25, 2014 PAC5220 Power Application Controller Figure 19-2. SOC Bus Watchdog and Wake-Up Timer SOC SOC BUS WATCHDOG WAKE-UP TIMER SOC BUS AHB/APB SOC BUS WATCHDOG AND WAKE-UP TIMER Figure 19-3. Real-Time Clock and Watchdog Timer REAL-TIME CLOCK AND WATCHDOG TIMER WDT 24-BIT AHB/APB RTC 24-BIT 19.2. Functional Description The device includes 8 timers: timer A, timer B, timer C, timer D, watchdog timer 1 (WDT), watchdog timer 2, wake-up timer, real-time clock (RTC), and SysTick timer. The device supports up to 14 different PWM signals and has up to 7 dead-time controllers. Timers A, B, C and D can be concatenated to synchronize to a single clock and start/stop signal for applications that require a synchronized timer period between timers. 19.2.1. Timer A Timer A is a general purpose 16-bit timer with 8 PWM/capture and compare units. It has 4 pairs of PWM signals going into 4 dead-time controllers. Timer A can be concatenated with timers B, C, and D to synchronize the PWM/capture and compare units. It can use either ACLK or HCLK as clock input with an additional clock divider from /1 to /128. 19.2.2. Timer B Timer B is a general purpose 16-bit timer with 2 PWM/capture and compare units. It has one pair of PWM signals going into one dead-time controller, as well as 2 additional compare units that can be used for additional system time bases for interrupts.. Timer B can be concatenated with timers A, C, and D to synchronize the PWM/capture and compare units. It can use either ACLK or HCLK as clock input with an additional clock divider from /1 to /128. 19.2.3. Timer C Timer C is a general purpose 16-bit timer with 2 PWM/capture and compare units. It has one pair of PWM signals going into one dead-time controller. Timer C can be concatenated with timers A, B, and D to synchronize the PWM/capture and compare units. It can use either ACLK or HCLK as clock input with an additional clock divider from /1 to /128. - 67 - Rev 1.0‒February 25, 2014 PAC5220 Power Application Controller 19.2.4. Timer D Timer D is a general purpose 16-bit timer with 2 PWM/capture and compare units. It has one pair of PWM signals going into one dead-time controller. Timer D can be concatenated with timers A, B, and C to synchronize the PWM/capture and compare units. It can use either ACLK or HCLK as clock input with an additional clock divider from /1 to /128. 19.2.5. Watchdog Timer The 24-bit watchdog timer (WDT) can be used for long time period measurements or periodic wake up from sleep mode. The watchdog timer can be used as a system watchdog, or as an interval timer, or both. The watchdog timer can use either FRCLK or FCLK as clock input with an additional clock divider from /2 to /65536. 19.2.6. SOC Bus Watchdog Timer The watchdog timer 2 is used to monitor internal SOC Bus communication. It will trigger device reset if there is no SOC Bus communication to the AFE for 4s or 8s. 19.2.7. Wake-Up Timer The wake-up timer can be used for very low power hibernate and sleep modes to wake up the micro controller periodically. It can be configured to be 125ms, 250ms, 500ms, 1s, 2s, 4, or 8s. 19.2.8. Real-Time Clock The 24-bit real-time clock (RTC) can be used for time measurements when an accurate clock source is used. This timer can also be used for periodic wake up from sleep mode. The RTC uses FRCLK as clock input with an additional clock divider from /2 to /65536. - 68 - Rev 1.0‒February 25, 2014 PAC5220 Power Application Controller 20. THERMAL CHARACTERISTICS Table 20-1. Thermal Characteristics PARAMETER VALUE UNIT Operating ambient temperature range -40 to 105 °C Operating junction temperature range -40 to 150 °C Storage temperature range -55 to 150 °C Lead temperature (Soldering, 10 seconds) 300 °C Junction-to-case thermal resistance (θJC) 19.0 °C/W Junction-to-ambient thermal resistance (θJA) 32.2 °C/W - 69 - Rev 1.0‒February 25, 2014 PAC5220 Power Application Controller 21. APPLICATION EXAMPLES The following simplified diagrams show different examples of PAC applications. Refer to application notes for detailed design description. Figure 21-1. 3-phase Motor Drive Using PAC5220 (Simplified Diagram) VP VAC PAC5220 DRM CSM INTERFACE GPIO MONITORING SIGNALS DRBx VP DRHx DRSx M DRLx DAxP, DAxN Figure 21-2. Solar LED Street Lighting Using PAC5220 (Simplified Diagram) VP PAC5220 DRM CSM INTERFACE GPIO MONITORING SIGNALS DRL2 DRB3, DRB4 VP DRH3, DRH4 DRS3, DRS4 DRL0, DRL1 DAxP, DAxN, AMPx - 70 - Rev 1.0‒February 25, 2014 PAC5220 Power Application Controller Figure 21-3. WPC type A11 Wireless Power Transmitter Using PAC5220 (Simplified Diagram) +5V STATUS LED(S) ACT6311 ACT6311 VP PAC5220 +5V PDx DRB3 DRH3 CHARGING COIL DRS3 DRL0 DA0P DA0N DRB4 DRH4 DRS4 DRL1 AIOx - 71 - RECTIFIER RECTIFIER FILTER FILTER Rev 1.0‒February 25, 2014 PAC5220 Power Application Controller 22. PACKAGE OUTLINE AND DIMENSIONS 22.1. TQFN88-56 Package Outline and Dimensions - 72 - Rev 1.0‒February 25, 2014 PAC5220 Power Application Controller 23. LEGAL INFORMATION Copyright © 2014 Active-Semi, Inc. All rights reserved. All information provided in this document is subject to legal disclaimers. Active-Semi reserves the right to modify its products, circuitry or product specifications without notice. Active-Semi products are not intended, designed, warranted or authorized for use as critical components in life-support, life-critical or safety-critical devices, systems, or equipment, nor in applications where failure or malfunction of any Active-Semi product can reasonably be expected to result in personal injury, death or severe property or environmental damage. Active-Semi accepts no liability for inclusion and/or use of its products in such equipment or applications. Active-Semi does not assume any liability arising out of the use of any product, circuit, or any information described in this document. No license, express, implied or otherwise, is granted under any patents, copyrights or other intellectual property rights of Active-Semi or others. Active-Semi assumes no liability for any infringement of the intellectual property rights or other rights of third parties which would result from the use of information contained herein. Customers should evaluate each product to make sure that it is suitable for their applications. Customers are responsible for the design, testing, and operation of their applications and products using Active-Semi products. Customers should provide appropriate design and operating safeguards to minimize the risks associated with their applications and products. All products are sold subject to Active-Semi's terms and conditions of sale supplied at the time of order acknowledgment. Exportation of any Active-Semi product may be subject to export control laws. Active-SemiTM, Active-Semi logo, Solutions for SustainabilityTM, Power Application ControllerTM, Micro Application Controller TM, Multi-Mode Power ManagerTM, Configurable Analog Front EndTM, and Application Specific Power DriversTM are trademarks of Active-Semi, Inc. ARM® is a registered trademark and Cortex TM is a trademark of ARM Limited. All referenced brands and trademarks are the property of their respective owners. For more information on this and other products, contact [email protected] or visit www.active-semi.com. - 73 - Rev 1.0‒February 25, 2014