SAF-XC164LM-4F40F AA Infineon Technologies, SAF-XC164LM-4F40F AA Datasheet

no-image

SAF-XC164LM-4F40F AA

Manufacturer Part Number
SAF-XC164LM-4F40F AA
Description
IC MCU 16BIT 32KB FLASH TQFP64-8
Manufacturer
Infineon Technologies
Series
XC16xr
Datasheet

Specifications of SAF-XC164LM-4F40F AA

Core Processor
C166SV2
Core Size
16-Bit
Speed
40MHz
Connectivity
SPI, UART/USART
Peripherals
PWM, WDT
Number Of I /o
47
Program Memory Size
32KB (32K x 8)
Program Memory Type
FLASH
Ram Size
4K x 8
Voltage - Supply (vcc/vdd)
2.35 V ~ 2.7 V
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
64-LFQFP
Packages
PG-LQFP-64
Max Clock Frequency
40.0 MHz
Sram (incl. Cache)
4.0 KByte
Program Memory
32.0 KByte
For Use With
MCBX167-NET - BOARD EVAL INFINEON CAN/ETHRNTMCBXC167-BASIC - BOARD EVAL BASIC INFINEON XC16X
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Data Converters
-
Other names
SAF-XC164LM-4F40FAACT
SAF-XC164LM-4F40FAACT
SAF-XC164LM-4F40FAAINCT
Da ta Sh e et, V1 .2 , Ma r ch 20 0 7
XC164LM
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 SAF-XC164LM-4F40F AA

SAF-XC164LM-4F40F AA Summary of contents

Page 1

XC164LM ...

Page 2

... 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

XC164LM ...

Page 4

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

Page 5

XC164LM Revision History: V1.2, 2007-03 Previous Version(s): V1.1, 2006-08 V1.0, 2005-11 Page Subjects (major changes since last revision) 6 Design steps of the derivatives differentiated. 47 Power consumption of the derivatives differentiated. 48 Figure 9 adapted. 49 Figure 11 adapted. ...

Page 6

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

Page 7

On-Chip Debug Support via JTAG Interface • 64-Pin Green LQFP Package for the -16F derivatives, 0.5 mm (19.7 mil) pitch (RoHS compliant) • 64-Pin TQFP Package for the -4F/8F derivatives, 0.5 mm (19.7 mil) pitch (RoHS compliant) Ordering Information ...

Page 8

... XC164LM Derivative Synopsis 1) Derivative SAF-XC164LM-16F40F SAF-XC164LM-16F20F SAF-XC164LM-8F40F SAF-XC164LM-8F20F SAF-XC164LM-4F40F SAF-XC164LM-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 XC164LM 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 XC164LM 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

... XC164LM. A spike filter suppresses input pulses < 10 ns. Input pulses > 100 ns safely pass the filter. The minimum duration for a safe recognition should be 100 CPU clock cycles. Note: The reset duration must be sufficient to let the hardware configuration signals settle ...

Page 12

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

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.7 56 I/O P1H I/O P1H I/O P1H I/O P1H I/O I P1H.4 5 I/O ...

Page 15

Table 2 Pin Definitions and Functions (cont’d) Sym- Pin Input bol Num. Outp 27, – DDP 40 25, – SS 41, 59 Data Sheet Function Digital Pad Supply Voltage (Pin Output Drivers during ...

Page 16

Functional Description The architecture of the XC164LM 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 XC164LM 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

R15) and/or byte wide (RL0, RH0, …, RL7, RH7) so-called General Purpose Registers (GPRs). The upper 256 bytes of the DPRAM are directly bit addressable. When used by a GPR, ...

Page 19

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 20

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

Page 21

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

Page 22

Table 4 XC164LM 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 23

Table 4 XC164LM Interrupt Nodes (cont’d) Source of Interrupt or PEC Service Request GPT2 CAPREL Register ASC0 Transmit ASC0 Transmit Buffer ASC0 Receive ASC0 Error ASC0 Autobaud SSC0 Transmit SSC0 Receive SSC0 Error PLL/OWD ASC1 Transmit ASC1 Transmit Buffer ASC1 ...

Page 24

Table 4 XC164LM Interrupt Nodes (cont’d) Source of Interrupt or PEC Service Request Unassigned node Unassigned node Unassigned node Unassigned node Unassigned node Unassigned node Unassigned node Unassigned node Unassigned node Unassigned node Unassigned node Unassigned node Unassigned node Unassigned ...

Page 25

The XC164LM 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 26

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

Page 27

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 28

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 29

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 30

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 31

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

Page 32

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

Page 33

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

Page 34

Real Time Clock The Real Time Clock (RTC) module of the XC164LM 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 XC164LM. ...

Page 35

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 36

Auto baudrate detection • Half-duplex 8-bit synchronous operating mode at 5 Mbit/s to 406.9 bit MHz) • Buffered transmitter/receiver with FIFO support (8 entries per direction) • Loop-back option available for testing purposes • Interrupt generation on ...

Page 37

... 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 can be disabled until the EINIT instruction has been executed (compatible mode can be disabled and enabled at any time by executing instructions DISWDT and ENWDT (enhanced mode). Thus, the chip’ ...

Page 38

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

Page 39

Parallel Ports The XC164LM 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 40

Power Management The XC164LM 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 XC164LM ...

Page 41

Instruction Set Summary Table 8 lists the instructions of the XC164LM 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 42

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 43

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 44

Electrical Parameters The operating range for the XC164LM 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 45

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

Page 46

overload current ( ) through a pin injects a certain error current ( OV current adds to the respective pin’s leakage current ( current and is defined by the overload coupling factor compared to the polarity of ...

Page 47

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 48

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 49

Table 13 Power Consumption XC164LM (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 50

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

Page 51

I [mA] 3.0 2.0 1.0 4 Figure 10 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 11 Sleep and Power Down ...

Page 52

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

Page 53

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 54

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 55

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 14 VCO Bands for PLL Operation PLLCON.PLLVB VCO Frequency Range 00 100 ...

Page 56

On-chip Flash Operation The XC164LM’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 57

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

Page 58

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

Page 59

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 16 PG-TQFP-64-8 (Plastic ...

Page 60

Flash Memory Parameters The data retention time of the XC164LM’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 19 ...

Page 61

... Published by Infineon Technologies AG B158-H8889-G1-X-7600 ...

Related keywords