DSP, Micros & Memory


A 16-bit microprocessor optimised for realtime operation

25 June 2008 DSP, Micros & Memory

In early 2001, with the introduction of its XC166 family of products, Infineon took the proven 16-bit architecture a stage further, achieving greater integration and higher performance. Now, the company has marked another important advance with its new XE166 microcontrollers, which again deliver a significant performance gain. This most recent generation of 16-bit controllers based on the C166 core also packs in substantially more Flash memory, plus a richer peripheral set.

Figure 1. The XE166 family’s 16-bit realtime signal controllers are based on the C166S V2 core. With fast interrupt response times and rapid context switching, they are designed specifically for challenging realtime industrial applications
Figure 1. The XE166 family’s 16-bit realtime signal controllers are based on the C166S V2 core. With fast interrupt response times and rapid context switching, they are designed specifically for challenging realtime industrial applications

From the very beginning, the C166 architecture was designed for high realtime performance, with fast execution of instructions, rapid response times, and intelligent peripheral functionality. It proved to be an unprecedented success, with more than 500 million microcontrollers shipped to date. Compared to C164, C161 and C167 components, the XC166 family, clocked at 40 MHz, introduced a major performance boost and offered embedded Flash memory, single-cycle execution of instructions, and TwinCAN or on-chip debug system (OCDS) modules.

Compared to its XC166 predecessors, the XE166 family's new realtime signal controller (RTSC) delivers another substantial speed gain, said to be comparable to the performance level of 32-bit devices. The realtime performance is due to fast interrupt response times, rapid context switching, and the addition of two more local register banks.

All the XE166 family is based on the C166S V2 core. These high-performance RTSC products incorporate an MCU that unites the strengths of a 16-bit C166 core for peripheral control with the high computing power of a digital signal processor (DSP).

Figure 2. Comparison of C166, XC166 and XE166 performance
Figure 2. Comparison of C166, XC166 and XE166 performance

Clocked at 80 MHz and capable of executing instructions in a single clock cycle, XE166 chips deliver 80 MIPS - twice the performance of their predecessors, the XC166 family. Also, the XE166 family has three times the memory capacity - up to 768 KB. Besides substantially expanding the Flash memory, Infineon has also added highly effective error correction (ECC), capable of correcting single-bit errors and detecting double-bit errors. The significantly enlarged RAM (up to 82 KB) consists of 2 KB of dual-port RAM, up to 16 KB of data SRAM, and as much as 64 KB of program and data SRAM.

Architectural features

The recently launched XE167 and XE164 series, built around an expanded C166S V2 core with a five-stage pipeline, offer excellent performance for 16-bit solutions. Most instructions execute in a single cycle, with an execution time of 12,5 ns. The high DSP performance is capable of supporting even the most demanding realtime applications. For example, 16 x 16 MAC operations can be completed in just a single clock cycle, and 32 x 32 multiplications in just 15 cycles.

Figure 3. Block diagram of the XE166 architecture
Figure 3. Block diagram of the XE166 architecture

Integrated features, including a voltage controller, EEPROM emulation with additional Flash modules, an oscillator, a watchdog and brown-out detection, reduce the need for external components and, thus, the BOM system costs. Designers of embedded systems also benefit from the two separate voltage domains (3,0 V and 5,5 V) because the trend with digital functions (external memory, for instance) is toward lower voltages, whereas some analog functions like sensors offer a higher resolution at higher voltages.

Powerful peripherals

The high-performance peripheral functions include up to four capture/compare units (CCU6E) with a maximum of eight timers for controlling electric motors using sine algorithms and field oriented control schemes using space vector modulation. Each CCU6E consists of a T12 timer block with three capture/compare channels and a T13 timer block with a single capture/compare channel. The T12 channels can generate up to six PWM signals and accept six triggers. This allows the control of up to three power half-bridges with automatic dead time generation. Besides generating the signal patterns needed to drive AC motors or inverters, the RTSC provides special operating modes for controlling brushless DC motors.

The XE166 products have two synchronised AD converters with up to 24 channels, 10-bit resolution, and a conversion time of less than 1,2 μs. Tightly coupled with the PWM units (CCU6E), these high-precision AD converters can be used to control up to four motors.

The XE166 family also offers a wide variety of interface options. A MultiCAN interface, for example, supports up to five independent CAN nodes and a maximum of 128 message objects. This enables, say, a FIFO or a CAN gateway to be implemented, and is a valuable capability, given that complex applications often need intelligent network communication.

Figure 4. The XE166’s high-performance peripheral set includes up to four capture/compare units (CCU6E) with a maximum of eight timers for controlling electric motors with sine algorithms and field oriented control schemes using space vector modulation
Figure 4. The XE166’s high-performance peripheral set includes up to four capture/compare units (CCU6E) with a maximum of eight timers for controlling electric motors with sine algorithms and field oriented control schemes using space vector modulation

The XE166 can incorporate up to three universal serial interface channel (USIC) modules, each of which is a cluster of two identical USIC channels, providing six USIC channels in total. The channels are flexible and can be used to connect external peripherals over universal asynchronous receiver transmit (UART) and local interconnect network (LIN) interfaces, Serial peripheral interfaces (SPI), inter-IC (IIC) bus, and inter-IC Sound (IIS) interfaces. Every channel (and the baud rate generation) can be configured independently.

The XE164 is available in a 100-pin, lead-free LQFP (75 I/O pins) and the XE167 in a 144-pin LQFP (118 I/O pins), each with a 0,5 mm pitch. Both components operate with a 3,3 to 5 V power supply and in a temperature range from -40 to +85°C. The new controllers are backed by an extensive range of development tools and support on-chip debugging over a JTAG interface.

Figure 5. Precision AD converters, tightly coupled with the PWM unit (CCU6E) for demanding motor control applications
Figure 5. Precision AD converters, tightly coupled with the PWM unit (CCU6E) for demanding motor control applications

Realtime performance

Many applications that control electric motors need to be able to process a large number of external signals at high speed. The XE166 family, with its low interrupt response latency and fast context switching, is optimised for this kind of application. The CPU core, peripheral event controller (PEC), and peripheral functions are specially designed to enable efficient interrupt handling. The XE166 architecture also includes special mechanisms to enable rapid responses to internal and external service requests sent to the microcontroller. These include:

* A DMA transfer issued by the PEC.

* An interrupt system with up to 87 sources and selectable external inputs for interrupt generation.

* 16 interrupt priority levels, each with eight prioritisation groups.

* Extremely short interrupt response times.

The PEC allows data to be transferred between the memory and peripherals in just a single clock cycle, without requiring the intervention of an interrupt service routine. It does this by providing eight service channels over which a single byte or word can be transferred, plus the option of being able to update source and target pointers automatically. A PEC transfer can be triggered by an internal interrupt service request and offers the fastest possible interrupt response time.

Applications

The powerful CPU with 80 MIPS, the rich I/O functionality, flexible power management, and comprehensive peripherals all make the XE167 and XE164 ideal for use in a wide range of industrial systems. The microcontrollers are capable of handling anything from relatively simple control operations in pumps, fans, compressors and HVAC systems to considerably more complex tasks in servo drives, CNC machines, process control systems, robotics systems, power supplies and inverters.

Their advantages in terms of speed and simplicity of implementation and energy efficiency really show in applications involving multiple motors. The powerful CCU6E unit, with two timers for signal generation, enables engineers to create highly efficient designs, regardless of the type of motor to be controlled or the control algorithm.

Another field of application for the XE166 family is in high-efficiency control systems for inverters and voltage converters. They enable highly energy-efficient solutions in the transportation sector - in locomotives, streetcars, buses and agricultural machinery, for example - as well as in the renewable energy sector (in solar, fuel cell and wind power generating systems). With their fast interrupt timing and flexible PWM generation, they can be used to control anything from small machines to the high-voltage motors capable of replacing conventional hydraulic systems.

Comprehensive design support

Infineon offers a comprehensive set of developer tools for the XE166 family, including evaluation boards, debuggers, compilers and documentation, as well as DAvE (Digital Application Virtual Engineer), a tool for initialisation, configuration and code generation. All compilers for the XE166 family include an OCDS debugger, and some additionally offer a realtime kernel and simulator.

In addition, Altium, in association with Infineon, offers a free XE166 Tasking C compiler with a one-year licence. The Altium Tasking C166 Compiler Toolset developed specifically for the XE166 has powerful features. The integrated development environment eases access to the CrossView Pro source-level debugger, which simplifies connecting to any XE166 EasyKit evaluation board. Preinstalled, working design examples, step-by-step instructions and additional, advanced tools, including automatically generated start-up code, help developers embarking on the design process get up to speed quickly.



Credit(s)



Share this article:
Share via emailShare via LinkedInPrint this page

Further reading:

The 8-bit survival syndrome – Part 2
DSP, Micros & Memory
Just like the 4-bit pre-microcontroller, the 8-bit MCU has been finding ways to stick around. Their features and speeds have been improving, offering competitive reasons to work with them.

Read more...
Enhanced code protection for USB µC portfolio
Future Electronics DSP, Micros & Memory
To help easily incorporate USB power and communication functionality into embedded systems, Microchip Technology has launched the AVR DU family of microcontrollers.

Read more...
General-purpose MCU with RISC-V architecture
EBV Electrolink DSP, Micros & Memory
Renesas has released a general-purpose MCU to enhance its existing RISC-V portfolio, and this is its first MCU using a RISC-V core developed internally at the company.

Read more...
8-bit MCU with I3C support
Avnet Silica DSP, Micros & Memory
The PIC18-Q20 8-bit microcontrollers from Microchip easily interface with devices operating in multiple voltage domains, and the built-in I3C interface supports higher-speed and lower-power data transfers than I2C.

Read more...
An evolutionary step in customisable logic
Altron Arrow DSP, Micros & Memory
Microchip Technology is offering a tailored hardware solution with the launch of its PIC16F13145 family of microcontrollers, which are outfitted with a new Configurable Logic Block module.

Read more...
MCU for battery-powered applications
Altron Arrow DSP, Micros & Memory
Included in ST’s family of devices is the STM32U031, an ultra-low-power MCU featuring an ARM Cortex-M0+ 32-bit core running at up to 56 MHz.

Read more...
Serial SRAM up to 4 MB
EBV Electrolink DSP, Micros & Memory
The chips are designed to provide a lower-cost alternative to traditional parallel SRAM products, and include optional battery backup switchover circuitry in the SRAM memory to retain data on power loss.

Read more...
SiP supports LTE/NB-IoT and GNSS
RF Design DSP, Micros & Memory
The nRF9151 from Nordic Semiconductor is an integrated System-in-Package that supports LTE-M/NB-IoT, DECT NR+ and GNSS services.

Read more...
Qi2 dsPIC33-based reference design
DSP, Micros & Memory
Powered by a single dsPIC33 Digital Signal Controller, the Qi2 reference design offers efficient control for optimised performance.

Read more...
MIKROE’s IDE now includes MPLAB XC compilers
DSP, Micros & Memory
MIKROE has announced that the latest version of its multi-architectural IDE, NECTO Studio 6.1, now includes Microchip’s MPLAB XC compilers for 8-, 16- and 32-bit MCUs.

Read more...