













Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!














Revised: Aug 1, 2003
Revised: Aug 1, 2003
-^ Fundamentals and Terminology•^ Signals•^ Multiple Serial Interface•^ Serial Communications Interface (SCI) - Transmitter– Receiver– Registers -^ SCI Programming•^ RS-232 interface
Revised: Aug 1, 2003
"Copyright of Motorola, Used by Permission"
Revised: Aug 1, 2003
Revised: Aug 1, 2003
Revised: Aug 1, 2003
Revised: Aug 1, 2003
Revised: Aug 1, 2003
Revised: Aug 1, 2003
Revised: Aug 1, 2003
;SCI Initialization Example;Assume M = 8 MHz, 9600 BAUD;define register locations and masksSC1BDH = $00C
; Baud Register High location
; Baud Register Low location
; Baud Register High mask
; Baud Register Low mask
; Control Register 1 location
; Control Register 1 mask
; Control Register 2 location
; Control Register 2 mask
; Status Register 1 location
; Data Register Low location
Revised: Aug 1, 2003
;sci_init: initializes SCI system;Assume M = 8 MHz, 9600 BAUDsci_init:: LDAA
;set BAUD rate
;set MODE
;enable transmitter
;clear TDRE bit - 2 step process
;1: read SC1SR1, write SC1DRL
;return from subsroutine
Revised: Aug 1, 2003
-^ Electronic Industry Association (EIA) Standard•^ Evolved from 1960 standard - EIA-232-D•^ Four aspects: -^ Electrical specifications: voltage level, rise time, fall time–^ Functional specifications of each signal–^ Mechanical specifications: number of pins, connector shape,connector dimension–^ Procedural specifications -^ RS-232 voltage levels+12V0V -12V
idle^
idle
start^
data^
stop parity