English
Language : 

MC9S08QG8 Datasheet, PDF (29/300 Pages) Freescale Semiconductor, Inc – 8-BIT HCS08 Central Processor Unit
Chapter 2 External Signal Description
Table 2-1. Pin Sharing Priority
Pin Number Lowest
Priority
Highest
16-pin 8-pin Port Pin
Alt 1
Alt 2
Alt 3
Alt 4
1
1 PTA51
IRQ
TCLK
RESET
2
2 PTA4
ACMPO BKGD
MS
3
3
4
4
5
— PTB7
6
— PTB6
SCL2
SDA2
VDD
VSS
EXTAL
XTAL
7
— PTB5
TPMCH1 SS
8
— PTB4
MISO
9
— PTB3
KBIP7
MOSI
ADP7
10
— PTB2
KBIP6
SPSCK ADP6
11
— PTB1
KBIP5
TxD
ADP5
12
— PTB0
13
5 PTA3
14
6 PTA2
15
7 PTA1
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 in 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. 1.01
Freescale Semiconductor
29