English
Language : 

MC9S08QG8_09 Datasheet, PDF (32/314 Pages) Freescale Semiconductor, Inc – HCS08 Microcontrollers
Chapter 2 External Signal Description
Table 2-1. Pin Sharing Priority
Pin Number
Lowest
Priority
Highest
24-pin 16-pin 8-pin Port Pin
Alt 1
Alt 2
Alt 3
Alt 4
24
1
1 PTA51
IRQ
TCLK
RESET
1
2
2 PTA4
ACMPO BKGD
MS
2
3
3
3
4
4
4
5
— PTB7
5
6
— PTB6
SCL2
SDA2
VDD
VSS
EXTAL
XTAL
6
7
— PTB5
TPMCH1 SS
10
8
— PTB4
MISO
12
9
— PTB3
KBIP7
MOSI
ADP7
13
10
— PTB2
KBIP6
SPSCK ADP6
14
11
— PTB1
KBIP5
TxD
ADP5
15
12
— PTB0
16
13
5 PTA3
17
14
6 PTA2
18
15
7 PTA1
20
16
8 PTA0
KBIP4
KBIP3
KBIP2
KBIP1
KBIP0
RxD
SCL2
SDA2
TPMCH0
ADP4
ADP3
ADP2
ADP13
ADP03
ACMP–3
ACMP+3
1 Pin does not contain a clamp diode to VDD and should not be driven above VDD. The
voltage measured on the internally pulled-up RESET pin will not be pulled to VDD. The
internal gates connected to this pin are pulled to VDD.
2 IIC pins can be repositioned using IICPS in SOPT2; default reset locations are on PTA2
and PTA3.
3 If ACMP and ADC are both enabled, both will have access to the pin.
Table 2-2. Pin Function Reference
Signal Function
Port Pins
Analog comparator
Serial peripheral interface
Keyboard interrupts
Timer/PWM
Inter-integrated circuit
Serial communications interface
Oscillator/clocking
Analog-to-digital
Power/core
Reset and interrupts
Example(s)
PTAx, PTBx
ACMPO, ACMP–, ACMP+
SS, MISO, MOSI, SPSCK
KBIPx
TCLK, TPMCHx
SCL, SDA
TxD, RxD
EXTAL, XTAL
ADPx
BKGD/MS, VDD, VSS
RESET, IRQ
Reference
Chapter 6, “Parallel Input/Output Control”
Chapter 8, “Analog Comparator (S08ACMPV2)”
Chapter 15, “Serial Peripheral Interface (S08SPIV3)
Chapter 12, “Keyboard Interrupt (S08KBIV2)”
Chapter 16, “Timer/Pulse-Width Modulator (S08TPMV2)”
Chapter 11, “Inter-Integrated Circuit (S08IICV1)”
Chapter 14, “Serial Communications Interface (S08SCIV3)
Chapter 10, “Internal Clock Source (S08ICSV1)”
Chapter 9, “Analog-to-Digital Converter (S08ADC10V1)”
Chapter 2, “External Signal Description”
Chapter 5, “Resets, Interrupts, and General System Control”
MC9S08QG8 and MC9S08QG4 Data Sheet, Rev. 5
30
Freescale Semiconductor