CDC 3231G-C Automotive Controller: Micronas
CDC 3231G-C Automotive Controller: Micronas
Contents
3 1. Introduction
3 1.1. Features
5 1.2. Abbreviations
6 1.3. Block Diagram
11 3. Electrical Data
11 3.1. Absolute Maximum Ratings
12 3.2. Recommended Operating Conditions
13 3.3. Characteristics
15 3.4. Recommended Quartz Crystal Characteristics
21 6. Core Logic
21 6.1. Control Word (CW)
25 8. Hardware Options
25 8.1. Functional Description
35 10. Differences
1. Introduction
Release Note: Revision bars indicate significant interfaces and PWM outputs and a crystal clock multiplying
changes to the previous edition. PLL.
The device is a microcontroller for use in automotive applica- This document provides ROM hardware specific information.
tions. The on-chip CPU is an ARM processor ARM7TDMI General information on operating the IC can be found in the
with 32-bit data and address bus, which supports Thumb document “CDC32xxG-C Automotive Controller - Family
format instructions. User Manual, CDC3205G-C Automotive Controller” (6251-
579-1PD).
The chip contains timer/counters, interrupt controller, multi
channel AD converter, stepper motor and LCD driver, CAN
1.1. Features
This Device:
Core
Digital Watchdog ✔
This Device:
Analog
10-bit ADC, charge balance type 16 channels (each selectable as digital input)
ADC Reference VREF Pin, P1.0 Pin, P1.1 Pin or VREFINT Internal Bandgap selectable
LCD Internal processing of all analog voltages for the LCD driver
Communication
Full CAN modules V2.0B 4: CAN0, CAN1, CAN2 and CAN3 2: CAN0 and 1: CAN0
with 512-byte object RAM each CAN1
(LCAN000E)
Graphics Bus Interface 8-bit data bus, DMA supported, e.g. for connection of -
EPSON SED 1560 LCD controller
Universal Ports selectable as 4:1 mux LCD up to 52 I/O or 48 LCD segment lines (=192 segments), up to 50 I/O or
Segment/Backplane lines or Digital I/O Ports individually configurable as I/O or LCD 46LCD seg-
ment lines
(=184 seg-
ments)
PWM Modules, each configurable as two 8- 6 Modules: PWM0/1, PWM2/3, PWM4/5, PWM6/7, 5 Modules:
bit PWMs or one 16-bit PWM PWM8/9 and PWM10/11 PWM0/1,
PWM2/3,
PWM4/5,
PWM6/7,
PWM8/9
This Device:
Polling / Flash Timer Output 1 High-Current Port output operable in Power Saving Modes
16-bit free running counters with Capture/ CCC0 with 4 CAPCOM CCC0 with 4
Compare modules CCC1 with 2 CAPCOM CAPCOM
16-bit timers 1: T0
Miscellaneous
Various randomly selectable HW options Set by copy from user program storage during system start-up
Core Bond-Out ✔ -
Package
1.2. Abbreviations
UVDD VDD
UVSS VSS
Reset/Alarm RESETQ
1.5k x 32 Interface
8
PPort1
UPort0
8 32 ROM
16/32 8
Bridge
32k x 32
Memory
Controller
PPort2
Wait Comp.
2 SFR
4k x 16
UPort1
P06 Comp. 8
Patch
10 Locations
HPort0
3 Bandgap Ref.
UPort2
10Bit ADC Bridge 7
UPort3
HPort2
UPort4
4 8Bit Timer 2 CAPCOM 1
8/16B PWM 1 4
SPI 0 Clock Out 0 CAPCOM 2
8Bit PWM 2 8Bit Timer 3
HPort4
CAPCOM 3
4 Clock Out 1 8/16B PWM 3
SPI 1 8Bit Timer 4
UPort5
3
8Bit PWM 4
HPort5
4 CAN 0
8/16B PWM 5
UPort6
8Bit PWM 6 2
8/16B PWM 7
8Bit PWM 8
HPort7
UPort7
4 8/16B PWM 9 4
HVDD0
HVSS0
UPort8
HVDD1 6
HVSS1 I2C 0
Fig. 2–1:
PMQFP128-2: Plastic Metric Quad Flat Package, 128 leads, 14 × 20 × 2.7 mm3
Ordering code: QK
Weight approximately 1.81 g
Fig. 2–1: Pin Assignment. Please note that in contrast to CDC3205G-C, CDC3207G-C and CDC3272G-C the function CC3-
OUT is not present on pin 104!
XTAL1 VREFINT
5V
18p
10n, Ceramic
2.5V AVSS Analog
Ground
18p 150n
+5V Supply BVDD Ceramic
XTAL2 X7R
4.7k
47n
Resetq RESETQ
3. Electrical Data
Stresses beyond those listed in the “Absolute Maximum Ratings” may cause permanent damage to the device. This is a stress
rating only. Functional operation of the device at these conditions is not implied. Exposure to absolute maximum ratings condi-
tions for extended periods will affect device reliability.
This device contains circuitry to protect the inputs and outputs against damage due to high static voltages or electric fields; how-
ever, it is advised that normal precautions be taken to avoid application of any voltage higher than absolute maximum-rated volt-
ages to this high-impedance circuit.
Table 3–1: All voltages listed are referenced to ground (UVSS=HVSSn=AVSS=0V), except where noted. All grounds except VSS
must be connected externally low-ohmic.
H-Ports -60 60 mA
1
) This condition represents the worst case load with regard to the intended application
Do not insert the device into a live socket. Instead, apply power by switching on the external power supply.
Keep UVDD=AVDD during all power-up and power-down sequences.
Failure to comply with the above recommendations will result in unpredictable behavior of the device and may result in device
destruction.
Functional operation of the device beyond those indicated in the “Recommended Operating Conditions” of this specification is not
implied, may result in unpredictable behaviour of the device and may reduce reliability and lifetime.
Table 3–2: All voltages listed are referenced to ground (UVSS=HVSSn=AVSS=0V), except where noted. All grounds except VSS
must be connected externally low-ohmic.
fSYS CPU Clock Frequency, PLL on For a list of available settings see Tables 4–1 and
4–2.
fBUS Program Storage Clock Fre-
quency, PLL on
Table 3–2: All voltages listed are referenced to ground (UVSS=HVSSn=AVSS=0V), except where noted. All grounds except VSS
must be connected externally low-ohmic.
3.3. Characteristics
Listed are only those characteristics that are differing from Chapter 3.3 of Document “CDC32xxG-C Automotive Controller - Fam-
ily User Manual, CDC3205G-C Automotive Controller” (6251-579-1PD). All not differing characteristics, that are not listed here,
apply, but in a TCASE temperature range extended to -40 to +105C
Symbol Parameter Pin Na. Min. Typ 1) Max. Unit Test Conditions
Package
Supply Currents (CMOS levels on all inputs, i.e. Vil=xVSS±0.3V and Vih=xVDD±0.3V, no loads on outputs)
UIDDs UVDD SLOW Mode Supply UVDD see 1.4 mA all Modules off 2) 3)
Current Fig. 3–
1
UIDDd UVDD DEEP SLOW Mode UVDD see 0.9 mA all Modules off 3)
Supply Current Fig. 3–
1
Symbol Parameter Pin Na. Min. Typ 1) Max. Unit Test Conditions
UIDDi UVDD IDLE Mode Supply UVDD 50 TBD µA RC oscillator on, XTAL
Current off
AIDDa AVDD Active Supply Cur- AVDD 0.35 0.6 mA ADC on, PLL off
rent
1 2 mA ADC and PLL on,
fSYS=24MHz
Inputs
µA
900
800
700
UIDDs (SLOW mode)
600
UIDD
500
400
UIDDd (DEEP SLOW mode)
300
200
UIDDi (IDLE mode)
100
0
–40 –30 –20 –10 0 10 20 30 40 50 60 70 80 90 100 110 120 °C
TCASE
See Chapter 3.4 of document “CDC32xxG-C Automotive Controller - Family User Manual, CDC3205G-C Automotive Controller”
(6251-579-1PD).
4.1. Recommended Register Settings Suppression Strength (SUP) and Clock Tolerance (TOL) may
be varied between zero and the values for strong settings
Other settings for PMF, IOP and WSR than those given in according to the rules in Section 4.4.2 of the document
Tables 4–1 and 4–2 shall not be used and may result in “CDC32xxG-C Automotive Controller - Family User Manual,
undefined behaviour. It is required not to operate I/O faster CDC3205G-C Automotive Controller” (6251-579-1PD). The
than ROM. given limits must not be exceeded.
Table 4–1: PLL and ERM Modes: Recommended Settings and Resulting Operating Frequencies (MHz)
SUP
SUP
SUP
SUP
SUP
SUP
TOL
TOL
TOL
TOL
TOL
TOL
fSYS PLLC. fBUS WSR fIO= IOC.
PMF f0 IOP
4 8 1 8 0x00 8 0 0 4 0 7 0 11 4 2 7 4 11 6
16 3 8 0x11 8 1 0 8 0 14 0 15 8 4 14 7 22 11
24 5 8 0x22 8 2 0 12 0 15 0 15 12 6 21 11 31 12
12 0x11 0 10 0 10 0 10 12 2 21 2 33 2
32 7 8 0x33 8 3 0 12 0 12 0 12 16 8 28 12 31 12
10.67 0x22 0 12 0 12 0 12 16 8 19 9 19 9
23 7 23 7
28 6 37 6
40 9 10 0x33 8 4 0 6 0 6 0 6 21 6 35 6 37 6
48 11 12 0x33 8 5 0 1 0 1 0 1 25 1 42 1 42 1
5 10 1 10 0x00 10 0 0 5 0 8 0 14 5 3 8 4 14 7
20 3 10 0x11 10 1 0 10 0 15 0 15 10 5 17 8 28 8
30 5 10 0x22 10 2 0 14 0 14 0 14 15 8 24 12 28 10
26 11 30 9
35 8
40 7 10 0x33 10 3 0 6 0 6 0 6 21 6 35 6 37 6
Table 4–2: PLL2 and ERM Modes: Settings Sacrificing Unlimited Operation of Peripheral Modules and Resulting Operating
Frequencies (MHz)
SUP
SUP
SUP
SUP
SUP
TOL
TOL
TOL
TOL
TOL
TOL
fSYS PLLC. fBUS WSR fIO= IOC.
PMF f0 IOP
4 12 2 6 0x11 4 2 0 6 0 10 0 15 6 3 10 5 16 8
12 0x00 0 5 0 5 0 5 6 2 10 2 16 2
20 4 10 0x11 4 4 0 10 0 15 0 15 10 5 17 8 28 8
5 15 2 7.5 0x11 5 2 0 7 0 13 0 15 7 4 13 7 21 11
.5M
F0.0000 SFR SFR SFR
rsvd
E0.0000
debug
2M
C0.1800
RAM RAM RAM
6KB 6KB 6KB
C0.0000
A0.0000
8M
22.0000
ROM ROM
128KB 128KB
20.0000
2.0000
2M
1800
ROM ROM
RAM 128KB 128KB
6KB
0 SFR SFR
6. Core Logic
A number of important system configuration properties are long as MFPLR.MFPL is 1 (= state after UVDD power-up).
selectable during device start-up by means of a unique Con- Setting it to 0 requires internal SW. By this means, an effec-
trol Word (CW). tive device lock mechanism is implemented, that prevents
unauthorized access to internal SW.
6.1.1. Reset Active In ROM parts, flag MFPLR.MFPL is available, but does not
lock the Multi Function port. Thus Table 6–1 reduces to Table
At the end of the reset period, the device fetches this CW 6–2.
from address locations 0x20 to 0x23 of a source that is
determined by the state of pins TEST and TEST2 and flag Table 6–2: CW fetch in ROM parts (QFP128)
MFPLR.MFPL, see Table 6–1 for MCM parts, Table 6–2 for
ROM parts.
Control Word Fetch desired from Necessary Reset
config. of pins
Table 6–1: CW fetch in MCM parts (QFP128)
TEST2 TEST
Control Word Fetch Necessary Reset con-
desired from figuration Internal ROM 0 0
TEST2 TEST MFPL External via Multi Function port 0 1
Int. Flash 0 0 x Int. Special Function ROM 1 x
Int. Flash 0 1 1
6.1.2. Reset Inactive
Ext. via Multi Function port 0 1)
When exiting Reset, the CW is read and stored in the Control
Int. Special Function ROM 1 x x Register (CR) and the system will start up according to the
configuration defined therein.
1) Only available after a non-Power-On RESET with MFPL
= 0 set before Normally the CW is fetched from the same memory that the
system will start executing code from. Table 6–3 gives fix
CWs for a list of the most commonly used configurations.
As can be seen from Table 6–1, the device disables external
access (through the Multi Function port) to internal code, as
Table 6–3: Some common system configurations and the corresponding CW setting
1 CC0OR
2 CC1OR
3 PINT0
4 PINT1
5 CAN0
6 SPI0
7 Timer 1
8 Timer 0
9 P06 COMP
10 RESET/ALARM
11 WAIT COMP
12 UART0
13 PINT2
14 WAPI
15 CC2OR
16 CC3OR
17 Timer 2
18 RTC
19 I2C0
20 Timer 3
21 SPI1
22 COMMRX/TX
23 PINT5
24 PINT3
25 (Not connected)
26 (Not connected)
27 (Not connected)
28 (Not connected)
29 (Not connected)
8. Hardware Options
Listed are only those registers that are differing from Docu-
ment “CDC32xxG-C Automotive Controller - Family User
Manual, CDC3205G-C Automotive Controller” (6251-579-
1PD).
r/w x I2C0 x x x x x x 3
0x00000100 Res
r/w EAL x LS x x x VE
0 0 0 0 0
10. Differences
This chapter describes differences of this document to pre-
decessor document “CDC3231G-C V1.0 Automotive Con-
troller Specifictaion“ (6251-609-1AI)
Section Description
Characteristics:
Editorial corrections.
Changed definition: Table 3-3 footnote 3,
Added parameters: Ii,
Changed value: UIDDs, UIDDd, UIDDw, UIDDst, UIDDi,
Values added: AIDDq, HIDDq
Added conditions: Rthjc, Rthja,
Figure 3-1: added
Micronas GmbH All information and data contained in this data sheet are without any
Hans-Bunte-Strasse 19 commitment, are not to be considered as an offer for conclusion of a
D-79108 Freiburg (Germany) contract, nor shall they be construed as to create any liability. Any new
issue of this data sheet invalidates previous issues. Product availability
P.O. Box 840 and delivery are exclusively subject to our respective order confirmation
D-79008 Freiburg (Germany) form; the same applies to orders based on development samples deliv-
Tel. +49-761-517-0 ered. By this publication, Micronas GmbH does not assume responsibil-
Fax +49-761-517-2174 ity for patent infringements or other rights of third parties which may
E-mail: docservice@micronas.com result from its use.
Internet: www.micronas.com Further, Micronas GmbH reserves the right to revise this publication and
to make changes to its content, at any time, without obligation to notify
any person or entity of such revisions or changes.
Printed in Germany No part of this publication may be reproduced, photocopied, stored on a
Order No. 6251-609-2AI retrieval system, or transmitted without the express written consent of
Micronas GmbH.