Infineon XMC4200 32位ARM MCU数字电源控制方案

infineon公司的XMC4100/XMC4200是基于ARM Cortex-M4处理器核的工业应用微处理器(MCU),具有16位和32位Thumb2指令集,DSP/MAC指令,浮点单元,存储器保护单元,嵌套矢量中断控制器,集成了16KB引导ROM,多达16KB高速程序存储器,多达24KB高速数据存储器和多达256KB带1KB指令缓存的闪存,以及通信外设,模拟外设和工业控制外设,主要用在工业连接,工业控制,电源转换和检测和控制.本文介绍了XMC4100 / XMC4200 MCU主要特性,框图以及XMC4200数字电源控制板主要特性,硬件框图,电路图,材料清单和PCB元件布局图.

XMC4100/XMC4200 Microcontroller Series for Industrial Applications The XMC4[12]00 devices are members of the XMC4000 Family of microcontrollers based on the ARM Cortex-M4 processor core. The XMC4000 is a family of high performance and energy efficient microcontrollers optimized for Industrial Connectivity,Industrial Control, Power Conversion, Sense & Control.

XMC4100/XMC4200 MCU主要特性:

CPU Subsystem
• CPU Core
– High Performance 32-bit ARM Cortex-M4 CPU
– 16-bit and 32-bit Thumb2 instruction set
– DSP/MAC instructions
– System timer (SysTick) for Operating System support
• Floating Point Unit
• Memory Protection Unit
• Nested Vectored Interrupt Controller
• One General Purpose DMA with up-to 8 channels
• Event Request Unit (ERU) for programmable processing of external and internalservice requests
• Flexible CRC Engine (FCE) for multiple bit error detection
On-Chip Memories
• 16 KB on-chip boot ROM
• up to 16 KB on-chip high-speed program memory
• up to 24 KB on-chip high speed data memory
• up to 256 KB on-chip Flash Memory with 1 KB instruction cache
Communication Peripherals
• Universal Serial Bus, USB 2.0 device, with integrated PHY
• Controller Area Network interface (MultiCAN), Full-CAN/Basic-CAN with two nodes,64 message objects (MO), data rate up to 1 MBit/s
• Four Universal Serial Interface Channels (USIC), providing four serial channels,usable as UART, double-SPI, quad-SPI, IIC, IIS and LIN interfaces
• LED and Touch-Sense Controller (LEDTS) for Human-Machine interface
Analog Frontend Peripherals
• Two Analog-Digital Converters (VADC) of 12-bit resolution, 8 channels each, with input out-of-range comparators
• Digital-Analog Converter (DAC) with two channels of 12-bit resolution
Industrial Control Peripherals
• Two Capture/Compare Units 4 (CCU4) for use as general purpose timers
• One Capture/Compare Units 8 (CCU8) for motor control and power conversion
• Four High Resoultion PWM (HRPWM) channels
• One Position Interface (POSIF) for servo motor positioning
• Window Watchdog Timer (WDT) for safety sensitive applications
• Die Temperature Sensor (DTS)
• Real Time Clock module with alarm support
• System Control Unit (SCU) for system configuration and control
Input/Output Lines
• Programmable port driver control module (PORTS)
• Individual bit addressability
• Tri-stated in input mode
• Push/pull or open drain output mode
• Boundary scan test support over JTAG interface
On-Chip Debug Support
• Full support for debug features: 8 breakpoints, CoreSight, trace
• Various interfaces: ARM-JTAG, SWD, single wire trace

Infineon XMC4200 32位ARM MCU数字电源控制方案

图1. XMC4200框图

XMC4200数字电源控制板

The XMC4200 Digital Power Control Card is an evaluation board with the goal to help engineers in the learning and testing of digital power control applications. The board features a XMC4200 microcontroller based on ARM® Cortex™M4F core.

The dimensions of the board (50 mm height, 45 mm width to connector) allow the usage of this evaluation card into designs with high requirements on power density. In particular dimensions of XMC4200 Digital Power Control Card are suitable for 1U rack designs. The control card integrates an isolated on board debugger for plug and play experience. The isolated debugger part can be detached once the code is finalized.

This board has been developed with the collaboration of WürthElektronik whose passive components and mechanical components are used.

XMC4200数字电源控制板主要特性:

 Infineon XMC4200 (ARM® Cortex™-M4F-based) Microcontroller, 256 kByte on-chip Flash, LQFP64
 Connection to power board like Digital Power Explorer, via the power board connector including analog signals, PWM or serial interfaces
 5 LEDs
− 1 Power indicating LED - “Power OK” from power board side
− 2 User LEDs (P2.2, P2.6)
− 2 Debugger controller LEDs (DEBUG,COM)
 Isolated Debug options
− On-Board Debugger (SEGGER J-Link LITE) via USB connector
− ARM® Cortex™ 9 pin connector (1.27 mm pitch - double row) on non-isolated section. Isolation needs to be built between this connector and the computer side to avoid overvoltage in computer.
 Isolated Connectivity
− UART channel of On-Board Debugger (SEGGER J-Link LITE) via USB connector
 Power supply of MCU domain
− Via power board connector (12V). Converted to 3.3V with Infineon supply parts
 Power supply of isolated debug domain
− Via Debug USB connector

Infineon XMC4200 32位ARM MCU数字电源控制方案

图2.XMC4200数字电源控制板框图

XMC4200数字电源控制板包括下列的框图:

1 Power Board Connector 
1 I2C controlled EEPROM for optional data storage 
2 User LED connected to GPIOs (P2.2 and P2.6) 
2 user test points
USIC0 interface connector (P0.10, P0.14, P1.4, P1.5)
Isolated On-board Debugger via Debug USB connector (Micro-USB) with UART channel (USIC0, channel 0)
Optional ARM® Cortex™-Debug interface connector

Infineon XMC4200 32位ARM MCU数字电源控制方案

图3.XMC4200数字电源控制板外形和硬件描述图

Infineon XMC4200 32位ARM MCU数字电源控制方案

图4.XMC4200数字电源控制板电路图(1):MCU

Infineon XMC4200 32位ARM MCU数字电源控制方案

图5.XMC4200数字电源控制板电路图(2):连接器

Infineon XMC4200 32位ARM MCU数字电源控制方案

图6.XMC4200数字电源控制板电路图(3):JLINK和UART
XMC4200数字电源控制板材料清单:

Infineon XMC4200 32位ARM MCU数字电源控制方案
Infineon XMC4200 32位ARM MCU数字电源控制方案
Infineon XMC4200 32位ARM MCU数字电源控制方案

图7.XMC4200数字电源控制板 PCB顶层布局图