SAK-XC164CM-8F40F AA Infineon Technologies, SAK-XC164CM-8F40F AA Datasheet

IC MCU 16BIT 64KB FLSH TQFP-64-8

SAK-XC164CM-8F40F AA

Manufacturer Part Number
SAK-XC164CM-8F40F AA
Description
IC MCU 16BIT 64KB FLSH TQFP-64-8
Manufacturer
Infineon Technologies
Series
XC16xr
Datasheet

Specifications of SAK-XC164CM-8F40F AA

Core Processor
C166SV2
Core Size
16-Bit
Speed
40MHz
Connectivity
CAN, SPI, UART/USART
Peripherals
PWM, WDT
Number Of I /o
47
Program Memory Size
64KB (64K x 8)
Program Memory Type
FLASH
Ram Size
6K x 8
Voltage - Supply (vcc/vdd)
2.35 V ~ 2.7 V
Data Converters
A/D 14x8/10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 125°C
Package / Case
64-LFQFP
Data Bus Width
16 bit
Data Ram Size
6 KB
Interface Type
2xASC, 2xSSC
Maximum Clock Frequency
40 MHz
Number Of Programmable I/os
47
Number Of Timers
9
Operating Supply Voltage
5 V
Maximum Operating Temperature
+ 125 C
Mounting Style
SMD/SMT
Minimum Operating Temperature
- 40 C
On-chip Adc
10 bit, 14 Channel
Packages
PG-LQFP-64
Max Clock Frequency
40.0 MHz
Sram (incl. Cache)
6.0 KByte
Can Nodes
2
A / D Input Lines (incl. Fadc)
14
Program Memory
64.0 KByte
For Use With
B158-H8961-X-X-7600IN - KIT EASY XC164CMXC164CMUCANIN - KIT U-CAN STARTER XC164CMMCBX167-NET - BOARD EVAL INFINEON CAN/ETHRNTMCBXC167-BASIC - BOARD EVAL BASIC INFINEON XC16X
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Lead Free Status / Rohs Status
 Details
Other names
SAK-XC164CM-8F40FAACT
SAK-XC164CM-8F40FAACT
SAK-XC164CM-8F40FAAINCT
Da ta Sh e et, V1 .4 , Ma r ch 20 0 7
XC164CM
1 6 - B i t S i n g l e - C h i p M i c r o c o n t r o l l e r
w i t h C 1 6 6 S V 2 C o r e
M i c r o c o n t r o l l e r s

Related parts for SAK-XC164CM-8F40F AA

SAK-XC164CM-8F40F AA Summary of contents

Page 1

XC164CM ...

Page 2

... Infineon Technologies Office. Infineon Technologies components may be used in life-support devices or systems only with the express written approval of Infineon Technologies failure of such components can reasonably be expected to cause the failure of that life-support device or system or to affect the safety or effectiveness of that device or system. Life support devices or systems are intended to be implanted in the human body or to support and/or maintain and sustain and/or protect human life ...

Page 3

XC164CM ...

Page 4

XC164CM Revision History: V1.4, 2007-03 Previous Version(s): V1.3, 2006-08 V1.2, 2006-03 V1.1, 2005-11 (intermediate version) V1.0, 2005-05 Page Subjects (major changes since last revision) 6 Design steps of the derivatives differentiated. 53 Power consumption of the derivatives differentiated. 54 Figure ...

Page 5

Table of Contents 1 Summary of Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...

Page 6

Single-Chip Microcontroller with C166SV2 Core XC166 Family 1 Summary of Features For a quick overview or reference, the XC164CM’s properties are listed here in a condensed way. • High Performance 16-bit CPU with 5-Stage Pipeline – Instruction ...

Page 7

Idle, Sleep, and Power Down Modes with Flexible Power Management • Programmable Watchdog Timer and Oscillator Watchdog • General Purpose I/O Lines, partly with Selectable Input Thresholds and Hysteresis • On-Chip Bootstrap Loader • On-Chip Debug ...

Page 8

... SAK-XC164CM-16F20F SAF-XC164CM-16F40F SAF-XC164CM-16F20F SAK-XC164CM-8F40F SAK-XC164CM-8F20F SAF-XC164CM-8F40F SAF-XC164CM-8F20F SAK-XC164CM-4F40F SAK-XC164CM-4F20F SAF-XC164CM-4F40F SAF-XC164CM-4F20F 1) This Data Sheet is valid for: devices starting with and including design step BA for the -16F derivatives, and for devices starting with and including design step AA for -4F/8F derivatives. Data Sheet Temp ...

Page 9

General Device Information The XC164CM derivatives are high-performance members of the Infineon XC166 Family of full featured single-chip CMOS microcontrollers. These devices extend the functionality and performance of the C166 Family in terms of instructions (MAC unit), peripherals, and ...

Page 10

Pin Configuration and Definition The pins of the XC164CM are described in detail in functions. Figure 2 summarizes all pins in a condensed way, showing their location on the 4 sides of the package. E* marks pins to be ...

Page 11

Table 2 Pin Definitions and Functions Sym- Pin Input bol Num. Outp. RSTIN 63 I NMI 64 I Port 9 43-48 IO P9 P9.1 44 I/O O P9 P9.3 46 I/O O ...

Page 12

Table 2 Pin Definitions and Functions (cont’d) Sym- Pin Input bol Num. Outp. Port 5 9-18, I 21- P5. P5.11 ...

Page 13

Table 2 Pin Definitions and Functions (cont’d) Sym- Pin Input bol Num. Outp. Port 3 28- ...

Page 14

Table 2 Pin Definitions and Functions (cont’d) Sym- Pin Input bol Num. Outp. PORT1 1-6, IO 49-56 P1L.0 49 I/O P1L P1L.2 51 I/O P1L P1L.4 53 I/O P1L P1L P1L.7 56 ...

Page 15

Table 2 Pin Definitions and Functions (cont’d) Sym- Pin Input bol Num. Outp. XTAL2 61 O XTAL1 – AREF V 20 – AGND V 26, 58 – DDI V 8, 27, – DDP 40 ...

Page 16

Functional Description The architecture of the XC164CM combines advantages of RISC, CISC, and DSP processors with an advanced peripheral subsystem in a very well-balanced way. In addition, the on-chip memory blocks allow the design of compact systems-on-silicon with maximum ...

Page 17

Memory Subsystem and Organization The memory space of the XC164CM is configured in a von Neumann architecture, which means that all internal and external resources, such as code memory, data memory, registers and I/O ports, are organized within the ...

Page 18

Kbytes of on-chip Dual-Port RAM (DPRAM) are provided as a storage for user defined variables, for the system stack, general purpose register banks. A register bank can consist word wide (R0 to R15) and/or byte ...

Page 19

Not defined register locations return a trap code (1E9B 3) Depends on the respective derivative. See Data Sheet ). H Table 1 “XC164CM Derivative Synopsis” on Page 17 XC164CM Derivatives Functional Description 6. V1.4, 2007-03 ...

Page 20

Central Processing Unit (CPU) The main core of the CPU consists of a 5-stage execution pipeline with a 2-stage instruction-fetch pipeline, a 16-bit arithmetic and logic unit (ALU), a 32-bit/40-bit multiply and accumulate unit (MAC), a register-file providing three ...

Page 21

Also multiplication and most MAC instructions execute in one single cycle. All multiple-cycle instructions have been optimized so that ...

Page 22

Interrupt System With an interrupt response time of typically 8 CPU clocks (in case of internal program execution), the XC164CM is capable of reacting very fast to the occurrence of non- deterministic events. The architecture of the XC164CM supports ...

Page 23

Table 4 XC164CM Interrupt Nodes Source of Interrupt or PEC Service Request EX0IN EX1IN EX2IN EX3IN EX4IN EX5IN CAPCOM Register 16 CAPCOM Register 17 CAPCOM Register 18 CAPCOM Register 19 CAPCOM Register 20 CAPCOM Register 21 CAPCOM Register 22 CAPCOM ...

Page 24

Table 4 XC164CM Interrupt Nodes (cont’d) Source of Interrupt or PEC Service Request GPT2 CAPREL Register A/D Conversion Complete A/D Overrun Error ASC0 Transmit ASC0 Transmit Buffer ASC0 Receive ASC0 Error ASC0 Autobaud SSC0 Transmit SSC0 Receive SSC0 Error PLL/OWD ...

Page 25

Table 4 XC164CM Interrupt Nodes (cont’d) Source of Interrupt or PEC Service Request CAN5 CAN6 CAN7 RTC Unassigned node Unassigned node Unassigned node Unassigned node Unassigned node Unassigned node Unassigned node Unassigned node Unassigned node Unassigned node Unassigned node Unassigned ...

Page 26

The XC164CM also provides an excellent mechanism to identify and to process exceptions or error conditions that arise during run-time, so-called ‘Hardware Traps’. Hardware traps cause immediate non-maskable system reaction which is similar to a standard interrupt service (branching to ...

Page 27

On-Chip Debug Support (OCDS) The On-Chip Debug Support system provides a broad range of debug and emulation features built into the XC164CM. The user software running on the XC164CM can thus be debugged within the target system environment. The ...

Page 28

Capture/Compare Unit (CAPCOM2) The CAPCOM unit supports generation and control of timing sequences channels with a maximum resolution of 1 system clock cycle (8 cycles in staggered mode). The CAPCOM unit is typically used to ...

Page 29

In addition, a specific interrupt request for this capture/compare register is generated. Either a positive, a negative, or both a positive and a ...

Page 30

C C T7IN T6OUF CCxIO CCxIO CCxIO T6OUF CAPCOM2 provides channels … 31. (see signals CCxIO and CCxIRQ) Figure 5 CAPCOM2 Unit Block Diagram Data Sheet Reload Reg. T7REL T7 Input Timer T7 ...

Page 31

The Capture/Compare Unit CAPCOM6 The CAPCOM6 unit supports generation and control of timing sequences three 16-bit capture/compare channels plus one independent 10-bit compare channel. In compare mode the CAPCOM6 unit provides two output signals per channel ...

Page 32

General Purpose Timer (GPT12E) Unit The GPT12E unit represents a very flexible multifunctional timer/counter structure which may be used for many different time related tasks such as event timing and counting, pulse width and duty cycle measurements, pulse generation, ...

Page 33

T3CON.BPS1 GPT T2IN T2 Mode Control T2EUD T3 T3IN Mode Control T3EUD T4IN T4 Mode Control T4EUD Figure 7 Block Diagram of GPT1 With its maximum resolution of 2 system clock cycles, the GPT2 module provides ...

Page 34

Concatenation of the timers is supported via the output toggle latch (T6OTL) of timer T6, ...

Page 35

T6CON.BPS2 GPT T5 T5IN Mode Control CAPIN CAPREL Mode Control T3IN/ T3EUD T6 Mode Control T6IN Figure 8 Block Diagram of GPT2 Data Sheet Basic Clock GPT2 Timer T5 U/D Clear Capture GPT2 CAPREL Reload Clear ...

Page 36

Real Time Clock The Real Time Clock (RTC) module of the XC164CM is directly clocked via a separate clock driver with the prescaled on-chip main oscillator frequency ( therefore independent from the selected clock generation mode of the XC164CM. ...

Page 37

The RTC module can be used for different purposes: • System clock to determine the current time and date, optionally during idle mode, sleep mode, and power down mode • Cyclic time based interrupt, to provide a system time tick ...

Page 38

A/D Converter For analog signal measurement, a 10-bit A/D converter with 14 multiplexed input channels and a sample and hold circuit has been integrated on-chip. It uses the method of successive approximation. The sample time (for loading the capacitors) ...

Page 39

Asynchronous/Synchronous Serial Interfaces (ASC0/ASC1) The Asynchronous/Synchronous Serial Interfaces ASC0/ASC1 (USARTs) provide serial communication with other microcontrollers, processors, terminals or external peripheral components. They are upward compatible with the serial ports of the Infineon 8-bit microcontroller families and support full-duplex ...

Page 40

High Speed Synchronous Serial Channels (SSC0/SSC1) The High Speed Synchronous Serial Channels SSC0/SSC1 support full-duplex and half- duplex synchronous communication. It may be configured so it interfaces with serially linked peripheral components, full SPI functionality is supported. A dedicated ...

Page 41

TwinCAN Module The integrated TwinCAN module handles the completely autonomous transmission and reception of CAN frames in accordance with the CAN specification V2.0 part B (active), i.e. the on-chip TwinCAN module can receive and transmit standard frames with 11-bit ...

Page 42

Summary of Features • CAN functionality according to CAN specification V2.0 B active • Data transfer rate Mbit/s • Flexible and powerful message transfer control and error handling capabilities • Full-CAN functionality and Basic CAN functionality for ...

Page 43

Watchdog Timer The Watchdog Timer represents one of the fail-safe mechanisms which have been implemented to prevent the controller from malfunctioning for longer periods of time. The Watchdog Timer is always enabled after a reset of the chip, and ...

Page 44

Clock Generation The Clock Generation Unit uses a programmable on-chip PLL with multiple prescalers to generate the clock signals for the XC164CM with high flexibility. The master clock is the reference clock signal, and is used for TwinCAN and ...

Page 45

Parallel Ports The XC164CM provides I/O lines which are organized into three input/output ports and one input port. All port lines are bit-addressable, and all input/output lines are individually (bit-wise) programmable as inputs or outputs via ...

Page 46

Power Management The XC164CM provides several means to control the power it consumes either at a given time or averaged over a certain timespan. Three mechanisms can be used (partly in parallel): • Power Saving Modes switch the XC164CM ...

Page 47

Instruction Set Summary Table 8 lists the instructions of the XC164CM in a condensed way. The various addressing modes that can be used with a specific instruction, the operation of the instructions, parameters for conditional execution of instructions, and ...

Page 48

Table 8 Instruction Set Summary (cont’d) Mnemonic Description ROL/ROR Rotate left/right direct word GPR ASHR Arithmetic (sign bit) shift right direct word GPR MOV(B) Move word (byte) data MOVBS/Z Move byte operand to word op. with sign/zero extension JMPA/I/R Jump ...

Page 49

Table 8 Instruction Set Summary (cont’d) Mnemonic Description NOP Null operation CoMUL/CoMAC Multiply (and accumulate) CoADD/CoSUB Add/Subtract Co(A)SHR (Arithmetic) Shift right CoSHL Shift left CoLOAD/STORE Load accumulator/Store MAC register CoCMP Compare CoMAX/MIN Maximum/Minimum CoABS/CoRND Absolute value/Round accumulator CoMOV Data move ...

Page 50

Electrical Parameters The operating range for the XC164CM is defined by its electrical parameters. For proper operation the indicated limitations must be respected when designing a system. 4.1 General Parameters These parameters are valid for all subsequent descriptions, unless ...

Page 51

... Unit Notes V Active mode CPU CPUmax 2)3) V Active mode DDP DDI V Reference voltage 5)6) mA Per IO pin mA Per analog input 5)6) pin -4 I – > – < – > – < Pin drivers in 8) default mode °C SAB-XC164… °C SAF-XC164… °C SAK-XC164… V1.4, 2007-03 ...

Page 52

Overload conditions occur if the standard operating conditions are exceeded, i.e. the voltage on any pin exceeds the specified range: input overload currents on all pins may not exceed 50 mA. The supply voltages must remain within the specified ...

Page 53

DC Parameters These parameters are static or average values, which may be exceeded during switching transitions (e.g. output current). Table 11 DC Characteristics (Operating Conditions apply) Parameter Symbol V Input low voltage TTL (all except XTAL1) V Input low ...

Page 54

Table 11 DC Characteristics (Operating Conditions apply) Parameter Symbol I XTAL1 input current 12) C Pin capacitance (digital inputs/outputs) 1) Keeping signal levels within the limits specified in this table, ensures operation without overload conditions. For signal levels outside these ...

Page 55

Table 13 Power Consumption XC164CM (Operating Conditions apply) Parameter Power supply current (active) with all peripherals active Pad supply current Idle mode supply current with all peripherals active Sleep and Power down mode supply current caused by 4) leakage Sleep ...

Page 56

I [mA] 140 120 100 Figure 11 Supply/Idle Current as a Function of Operating Frequency Data Sheet XC164CM Derivatives Electrical Parameters -16F I DDImax -4F/8F -16F I DDItyp -4F/8F -16F I IDXmax ...

Page 57

I [mA] 3.0 2.0 1.0 4 Figure 12 Sleep and Power Down Supply Current due to RTC and Oscillator Running Function of Oscillator Frequency I PDL [mA] 1.5 1.0 0.5 -50 0 Figure 13 Sleep and Power Down ...

Page 58

Analog/Digital Converter Parameters These parameters describe how the optimum ADC performance can be reached. Table 14 A/D Converter Characteristics (Operating Conditions apply) Parameter Analog reference supply Analog reference ground Analog input voltage range Basic clock frequency Conversion time for ...

Page 59

may exceed or AIN AGND AREF cases will be X000 or X3FF The limit values for must not be exceeded when selecting the peripheral frequency and the ADCTC setting This parameter ...

Page 60

Sample time and conversion time of the XC164CM’s A/D Converter are programmable. In compatibility mode, the above timing can be calculated using f The limit values for must not be exceeded when selecting ADCTC. BC Table 15 A/D Converter Computation ...

Page 61

AC Parameters These parameters describe the dynamic behavior of the XC164CM. 4.4.1 Definition of Internal Timing The internal operation of the XC164CM is controlled by the internal master clock The master clock signal different mechanisms. The duration of master ...

Page 62

The used mechanism to generate the master clock is selected by register PLLCON. CPU and EBC are clocked with the CPU clock signal same frequency as the master clock ( f f two This factor is selected ...

Page 63

This is especially important for bus cycles using waitstates and e.g. for the operation of timers, serial interfaces, etc. For all slower operations and longer periods (e.g. pulse train generation or measurement, lower baudrates, etc.) the deviation caused by the ...

Page 64

Different frequency bands can be selected for the VCO, so the operation of the PLL can be adjusted to a wide range of input and output frequencies: Table 16 VCO Bands for PLL Operation PLLCON.PLLVB VCO Frequency Range 00 100 ...

Page 65

On-chip Flash Operation The XC164CM’s Flash module delivers data within a fixed access time (see Accesses to the Flash module are controlled by the PMI and take 1+WS clock cycles, where WS is the number of Flash access waitstates ...

Page 66

External Clock Drive XTAL1 These parameters define the external clock supply for the XC164CM. Table 19 External Clock Drive Characteristics (Operating Conditions apply) Parameter Oscillator period 2) High time 2) Low time 2) Rise time 2) Fall time 1) ...

Page 67

Package and Reliability In addition to the electrical parameters, the following information ensures proper integration of the XC164CM into the target system. 5.1 Packaging These parameters describe the housing rather than the silicon. Package Outlines Figure 18 PG-LQFP-64-4 (Plastic ...

Page 68

Index Marking 1) Does not include plastic or metal protrusion of 0.25 max. per side 2) Does not include dambar protrusion of 0.08 max. per side Figure 19 PG-TQFP-64-8 (Plastic ...

Page 69

Flash Memory Parameters The data retention time of the XC164CM’s Flash memory (i.e. the time after which stored data can still be retrieved) depends on the number of times the Flash memory has been erased and programmed. Table 21 ...

Page 70

... Published by Infineon Technologies AG B158-H8824-G2-X-7600 ...

Related keywords