TWRMC9S08MM128UserManual Page4of13
2 ReferenceDocuments
Thedocumentslistedbelowareavailableonline.Refertohttp://www.freescale.com/towerforthe
latestrevisionofallTowerSystemdocumentation.
TWRS08MM128Schematics
TWRS08MM128QuickStartGuide
TWRS08MM128KITLabTutorial
MC9S08MM128ReferenceManual
MC9S08MM128DataSheet
AN3561,USBBootloaderfortheMC9S08JM60
3 HardwareFeatures
ThissectionprovidesmoredetailsaboutthefeaturesandfunctionalityoftheTWRS08MM128.
3.1 Clocking
TwocrystalsareprovidedontheboardforclockingtheMC9S08MM128device:
1. A16MHzcrystalconnectedtoXTAL2andEXTAL2forsystemclocking
2. A32.768kHzcrystalconnectedtoXTAL1andEXTAL1forTODusage
3.2 SystemPower
TheTWRS08MM128canbepoweredbytheOpenSourceBDM(OSBDM)circuitviatheMiniBUSB
connectorwhenstandalone.WhenassembledwiththeTowerSystemandtheTWRSERisconfigured
torunUSBdevicemode(J16pin3and4connected),theMiniBUSBconnectorisnolongerusedasa
powersourceandonlyusedforOSBDMdebuggingpurposes.Inthiscase,thepowerwillbesupplied
fromtheMiniBUSBfromtheTWRSER.PleaseplugintheMiniBUSBconnectorfromTWESERbefore
pluggingintheMiniBUSBconnectorfromTWRS08MM128.
AstandardUSBAmaletoMiniBmalecable(provided)canbeusedtosupplypowerfromaUSBhost
orpoweredUSBhub.Optionally,anACtoDCadapterwithaUSBAfemalereceptacle(notprovided)
canbeusedasthepowersource.
Ajumper,J11,canbeusedtoisolatethe3.3Vsupplyfromthemicrocontroller.Thisconnectioncanbe
usedtomeasurethepowerusageoftheMC9S08MM128microcontroller.
3.3 DebugInterface
Anonboard,MC9S08JM60basedOSBDMcircuitprovidesadebuginterfacetotheMC9S08MM128.A
standardUSBAmaletoMiniBmalecable(provided)canbeusedfordebuggingviatheUSBconnector,
J17.RefertoSection6forinformationonothermodesofoperationoftheOSBDM.
TWRMC9S08MM128UserManual Page5of13
3.4 RS232Interface
AnRS232transceiverontheTWRS08MM128connectstoastandard2x5pinheader(refertoFigure
2).SelectionjumpersJ15andJ16allowMC9S08MM128SCI2signalstoberoutedtoeithertheRS232
transceiverortheOSBDMcircuit.RefertoFigure5formoredetails.
Alternatively,whenassembledasaTowerSystem,theMC9S08MM128SCI1TXandRXareroutedto
theSERTWR.IftheSERTWRjumpersareconfiguredtoruninRS232mode,theSCI1TXandtheRX
signalcanbecommunicatedviatheRS232connectorfromtheTWRSER.PleaserefertotheTWRSER
usermanual(TWRSERUM)fromwww.freescale.com/towerformoredetail.
MC9S08MM128
Signal Pin
MC9S08MM128
Signal
NotConnected 1 2 NotConnected
TX2 3 4 NotConnected
RX2 5 6 NotConnected
NotConnected 7 8 NotConnected
GND 9 10 3.3V
Figure2. RS2322x5PinHeaderConnections
3.5 InfraredPort
The TWRS08MM128 implements an infrared transmit and receive port. The transmit circuit is
implementedwithaninfrareddiodeandtheusercanchoosetodrivethediodeeitherwithIROorSCI
TX.Thereceiverisimplementedbyaninfraredtransistorandtheusercanchoosetoinputthissignal
totheSCIRXortheACMPinput.JumpersJ9,J25andJ26areusedforroutingtheconnections,referto
Section 4 to set the jumpers. Please refer to application note AN4116, searchable from
www.freescale.com
3.6 MedicalConnector
TheTWRS08MM128featuresa2x10expansionconnectorJ27(refertoFigure3)toMEDEKGfor
routingthemedicalenginesignalstoexternalmedicalboardsoitcanusetheOPAMP,TRIAMP,ADC
andDAConMC9S08MM128toimplementtherequirementsignalconditioningformedical
applications.
WhentheDSCMC56F8006fromtheMEDEKGisenabled,MC9S08MM128canchoosetoreadthe
conditionedEKGresultsoutputfromtheDSCviaI2Ctransmission(pin3andpin4).ToenableI2C
communication,youmustassembletheMEGEKGwiththeTowerSystembecausetheTWRSERhas
thepulledupresistorscircuitrequiredforI2Ctransmission.
InFigure3,theboldtexthighlightsthefunctionsthatareusedtoimplementtheMEDEKG
demonstration.FordetailabouttheMEDEKG,pleaserefertotheMEDEKGusermanual,MEDEKGlab
TWRMC9S08MM128UserManual Page6of13
andschematicincludedintheTWRS08MM128KITorTWRMCF51MMKIT.Allofthesearealso
availableonFreescale.com/tower
TWRS08MM128Signal Pin TWRS08MM128Signal
MOSFETQ6(pin3)Power(3.3V) 1 2 Ground(GND)
PTD4/SDA/TPM1CH2 3 4 PTD5/SCL/TPM1CH3
DADP0 5 6 DADM0
PTC4/KBI1P7/CMPP0/ADP8 7 8 DACO_E
OUT1 9 10 OUT2
INP1 11 12 INP2
PTA4/INP1+ 13 14PTA7/INP2+
VINP1 15 16 VINP2
VINN1/DADM2 17 18VINN2/DADM3
TRIOUT1/DADP2 19 20TRIOUT2/DADP3
Figure3. MedicalConnector2x10PinHeaderConnections
3.7 ElevatorConnections
TheTWRS08MM128featurestwoexpansioncardedgeconnectorsthatinterfacetoelevatorboardsin
aTowerSystem:thePrimaryandSecondaryElevatorconnectors.ThePrimaryElevatorconnector,
comprisedofsidesAandB,isutilizedbytheTWRS08MM128,whiletheSecondaryElevatorconnector
onlymakesconnectionstoground(GND).Figure4providesthepinoutforthePrimaryElevator
connector.An“X”inthe“Used”columnindicatesthatthereisaconnectionfromtheTWRS08MM128
tothatpinontheelevatorconnector.An“X”inthe“Jmp”columnindicatesthatajumperisavailable
thatcanconfigureorisolatetheconnectionfromtheelevatorconnector.
Figure4. TWRS08MM128PrimaryElevatorConnectorPinout
TWRS08MM128PrimaryConnector
Pin Name Usage Used Jmp Pin Name Usage Used Jmp
B1 5V 5.0VPower XA1 5V 5.0VPower X 
B2 GND Ground XA2 GND Ground X 
B3 3.3V 3.3VPower XA3 3.3V 3.3VPower X 
B4 ELE_PS_SENSE ElevatorPowerSense XA4 3.3V 3.3VPower X 
B5 GND Ground XA5 GND Ground X 
B6 GND Ground XA6 GND Ground X 
B7
SPI1_CLK
PTG0/SPSCK1 X

A7
SCL0
PTD5/SCL/TPM1CH3 X

B8
SPI1_CS1
 A8
SDA0
PTD4/SDA/TPM1CH2 X

B9
SPI1_CS0
PTA0/SS1_b XA9 GPIO9/OPENPTE4/CMPP3/TPMCLK/IRQ X
B10
SPI1_MOSI
PTF6/MOSI1 X

A10 GPIO8/OPENPTC7/KBI2P2/CLKOUT/ADP11 X
B11
SPI1_MISO
PTF7/MISO1 X

A11 GPIO7/OPEN
PTC6/KBI2P1/PRACMPO/ADP1
0 X
         

TWR-S08MM128-KIT

Mfr. #:
Manufacturer:
NXP / Freescale
Description:
Development Boards & Kits - S08 / S12 For 9S08MM128 USB CAN
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet