Chapter15 SCI - Serial data communication & serial...

Info iconThis preview shows pages 1–8. Sign up to view the full content.

View Full Document Right Arrow Icon
Serial data communication & serial communication interface (SCI) Text Chapter 15.1, 15.2 Web Resources: http://en.wikipedia.org/wiki/Asynchronous_serial_communication http://www.quatech.com/support/comm-over-asyncserial.php
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
HCS12 Serial communication interfaces SCI – Asynchronous Serial Communication Interface Universal asynchronous receiver-transmitter (UART) Serial comm. to terminal, PC, or other serial devices SPI – Synchronous Peripheral Interface High-speed synchronous serial link between HCS12 and serial peripherals or other CPU MSCAN – Motorola Scalable Controller Area Network Controller for CAN 2.0 A/B network protocol (automotive networks, etc.)
Background image of page 2
HCS12 serial communication interfaces.
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
D0 D1 D2 D3 D4 D5 D6 D7 P Asynchronous serial data format Start Bit Line Idle Data Bits Optional Parity Bit Stop Bit Bit time T = 1/(bit rate) - determined by transmit clock - bit rate also referred to as “baud rate” •Transmit one byte at a time, framed by start/stop bits •NRZ (non-return to 0) signaling
Background image of page 4
Serial Communication Interface (SCI) Full duplex operation Receive data pin TxD = pin PS0 (Port S) Transmit data pin RxD = pin PS1 Also supports half-duplex operation: TxD is bidirectional Programmable baud rate Programmable data format (8 or 9 data bits) Programmable parity generation/check Supports polling and interrupt-driven operation Detects several types of receive errors Special mode for loop-back test
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
68HC11 Ports S (PORTS $0248, DDRS=$024A) PS0 PS1 PS2 PS3 RxD (in) TxD (out) RxD TxD SCI (SCI0 on some HC12s) SCI 1on some HC12s) Can use PS2/PS3 for flow control/handshaking
Background image of page 6
SCI data registers. (SCIDRH:SCIDRL = $00CE:$00CF)
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 8
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 09/23/2011 for the course ELEC 2220 taught by Professor Staff during the Summer '08 term at Auburn University.

Page1 / 21

Chapter15 SCI - Serial data communication & serial...

This preview shows document pages 1 - 8. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online