CDC3205G-C Micronas, CDC3205G-C Datasheet - Page 101

no-image

CDC3205G-C

Manufacturer Part Number
CDC3205G-C
Description
Automotive Controller Family The Device is a Microcontroller For Use in Automotive Applications.the On-chip Cpu is an Arm Processor ARM7TDMI with 32-bit Data And Address Bus, Which Supports Thumb format Instructions.
Manufacturer
Micronas
Datasheet
PRELIMINARY DATA SHEET
14. Ports
This chapter describes the P-, U- and H-Ports.
The analog input ports, P0 and P1, serve as input for the
analog to digital converter and may be used as digital inputs.
P2 may be used as digital input, only.
14.1. Analog Input Port
The 16 pin analog input port is composed of ports P0 and
P1. All port pins can be configured as digital input. P0.6 is
connected to a comparator, which may be selected as inter-
rupt source. P1.2 to P1.7 can be used as port interrupts. The
2-pin port P2 solely serves as digital input.
Fig. 14–1:
P0 and P1 analog input lines are connected to a multiplexer.
The output of this multiplexer is connected to the 10-bit A/D
converter.
Port P0.6 is, in addition, the input of the P0.6 Alarm Compar-
ator, described in the chapter on the Analog Section.
P0 and P1 pins may alternatively, P2 may exclusively be
used as digital input if enabled by setting the individual pin’s
enable flag PxIE.Iy. CMOS or Automotive Schmitt trigger
input level may individually be selected by writing registers
PxLVL. The digital value of the input pins is obtained by read-
ing registers PxPIN. Disabled inputs read as 1. Pins should
either be used as analog or digital inputs, not both at the
same time.
Six of the analog input pins (P1.2 to P1.7) may be used as
port interrupt input if selected by HW Option PM.PINT (see
sections “Port Interrupts” and “HW Options” for more details).
Configure as digital input for this operation.
Ports P1.0 and P1.1 may be used as wake-up inputs (see
section “Power Saving Module” for details), hence their digi-
tal input enable flags (P1IE.I0 and I1) reset to 1 (input buffer
enabled).
Micronas
P0.0 to P0.7
P1.0 to P1.7
P2.0 to P2.1
P-Ports with Input Multiplexer and P0.6 Alarm Comparator
PxLVL.Ay
PxIE.Iy
8
8
2
18
8
8
AV
DD
MUX
16:1
V
rd
DD
June 12, 2003; 6251-579-1PD
2
6
P0.6 to Alarm Comparator
To A/D converter
P1.0 to P1.1 to Port Wake logic (wake in)
P1.2 to P1.7 to port interrupts 0 to 5
PxPIN.Py
The universal ports U0 to U8 serve as digital I/O and can be
configured as LCD drivers.
The high current ports H0 to H7 serve as digital I/O and can
be configured as stepper motor drivers.
Features
– 16 pin analog input multiplexer.
– 18 pins configurable as digital input ports.
– Schmitt hysteresis digital input buffer, CMOS level (2.5V)
– 6 pins configurable as port interrupts.
– 2 pins usable as wake-up input.
P0 to 7
r:
A0 to 7
r/w1:
r/w0:
r/w
PxPIN
PxLVL
or Automotive level (3.3V) selectable.
r
A7
P7
1
0
7
7
A6
P6
1
0
6
6
Pin Data 0 to 7
Read Pin state
Automotive Flag 0 to 7
Schmitt trigger input level is Automotive
Schmitt trigger input level is CMOS
A5
Port x Pin Register
P5
Port x Input Level Register
1
0
5
5
A4
P4
1
0
4
4
CDC 32xxG-C
P3
A3
1
0
3
3
P2
A2
1
0
2
2
P1
A1
1
0
1
1
P0
A0
1
0
0
0
Res
Res
99

Related parts for CDC3205G-C