MC9S08SG32 FREESCALE [Freescale Semiconductor, Inc], MC9S08SG32 Datasheet - Page 36

no-image

MC9S08SG32

Manufacturer Part Number
MC9S08SG32
Description
Microcontrollers
Manufacturer
FREESCALE [Freescale Semiconductor, Inc]
Datasheet
Chapter 2 Pins and Connections
When an on-chip peripheral system is controlling a pin, data direction control bits still determine what is
read from port data registers even though the peripheral module controls the pin direction by controlling
the enable for the pin’s output buffer. For information about controlling these pins as general-purpose I/O
pins, see
The MC9S08SG32 Series devices contain a ganged output drive feature that allows a safe and reliable
method of allowing pins to be tied together externally to produce a higher output current drive. See
6.3, “Ganged
30
28-pin 20-pin
Chapter 6, “Parallel Input/Output
10
11
12
13
14
15
16
17
18
1
2
3
4
5
6
7
8
9
Output” for more information for configuring the port pins for ganged output drive.
Pin Number
To avoid extra current drain from floating input pins, the reset initialization
routine in the application program should either enable on-chip pull-up
devices or change the direction of unused pins to outputs so they do not float.
When using the 20-pin devices, either enable on-chip pullup devices or
change the direction of non-bonded PTC7-PTC4 and PTA7-PTA6 pins to
outputs so the pins do not float.
When using the 16-pin devices, either enable on-chip pullup devices or
change the direction of non-bonded out PTC7-PTC0 and PTA7-PTA6 pins
to outputs so the pins do not float.
10
11
12
13
14
1
2
3
4
5
6
7
8
9
1
16-pin
10
1
2
3
4
5
6
7
8
9
Table 2-1. Pin Availability by Package Pin-Count
PTC5
PTC4
PTB7
PTB6
PTB5
PTB4
PTC3
PTC2
PTC1
PTC0
PTB3
PTB2
Port Pin
MC9S08SG32 Data Sheet, Rev. 8
Lowest
SCL
SDA
TPM1CH1
TPM2CH1
PIB3
PIB2
Control.”
Alt 1
3
3
NOTE
4
6
EXTAL
XTAL
SS
MISO
TPM1CH1
TPM1CH0
MOSI
SPSCK
Alt 2
Priority
4
4
PTC0
PTC0
PTC0
PTC0
PTC0
PTC0
PTC0
PTC0
Alt 3
5
5
5
5
5
5
5
5
BKGD
V
V
ADP11
ADP10
ADP9
ADP8
ADP7
ADP6
DDA
SSA
Alt 4
Highest
Freescale Semiconductor
ADP13
ADP12
MS
V
V
V
V
DD
REFH
REFL
SS
RESET
Alt 5
2
Section

Related parts for MC9S08SG32