ESCI Base. Serial Communication TX RX 8bits Interrupt on Receiver Full 4 Enhanced Serial Communication Interface (eSCI) in the PXR40 eSCIB is used for.

Slides:



Advertisements
Similar presentations
EUSART Serial Communication.
Advertisements

Serial Communication Interface (SCI)
INPUT-OUTPUT ORGANIZATION
Serial Communications Interface (SCI) Michael LennardZachary PetersBao Nguyen.
Review: Interrupts & Timers
ECT 357 Ch 18 UART. Today’s Quote: Be careful that your marriage doesn’t become a duel instead of a duet. Be careful that your marriage doesn’t become.
The 8051 Microcontroller Chapter 5 SERIAL PORT OPERATION.
H. Huang Transparency No.9-1 The HCS12/MC9S12 Microcontroller Copyright © 2010 Delmar Cengage Learning Chapter 9: Serial Communication Interface – SCI.
SCI: Serial Communications Interface Presented by: Sean Kline Chad Smith Jamie Cruce.
Serial Communication Interface
Asynchronous Communication Hardware  Data within a DTE is usually stored and moved in a parallel fashion.  Data sent across the channel is generally.
The Serial Communication Interface (SCI) Chapter 11.
USARTS CS423 Dick Steflik. USART ● Universal Synchronous Asynchronous Receiver Transmitter ● used to send and receive small packets over a serial line.
Chapter 9 Serial Communication Interface  SCI. Why Serial Communication? Parallel data transfer requires many I/O pins. This requirement prevents the.
7-1 Digital Serial Input/Output Two basic approaches  Synchronous shared common clock signal all devices synchronised with the shared clock signal data.
1 The 9-Pin Connector Pin abbreviations (numbers in parentheses are the 25D pin numbers): 1. CD (8) 2. RD (Rx) (3) 3. TD (Tx) (2) 4. DTR (20) 5. SG (Ground)
Harrison Jones Alexis Noel William Allen SERIAL COMMUNICATION INTERFACE (SCI)
Lecture 10 Serial Communication.
1 SCI Serial Communication Interface Gerrit Becker James McClearen Charlie Hagadorn October 21, 2004.
INPUT-OUTPUT ORGANIZATION
Serial Communication Interface (SCI) Kevin Stuart Matt Betts March 27, 2007 ME 6405, Sp 07.
Serial Peripheral Interface Module MTT M SERIAL PERIPHERAL INTERFACE (SPI)
Serial Port I/O Serial port sends and receives data one bit at a time. Serial communication devices are divided into: Data Communications Equipment (DCE),
Digilent System Board Capabilities Serial Port (RS-232) Parallel Port 1 Pushbutton Hint: Good for a reset button Connected to a clock input. See Digilent.
Lecture 26: LM3S9B96 Microcontroller – Universal Asynchronous Receivers/Transmitters.
Lecture 7 Universal Asynchronous Receiver/Transmitter (UART) NCHUEE 720A Lab Prof. Jichiang Tsai.
Lecture Set 9 MCS-51 Serial Port.
Universal Synchronous/Asynchronous Receiver/Transmitter (USART)
Unit 4 Design and Synthesis of Datapath Controllers
Lecture 14 DMA Controller & Serial Communications Interface (UART)
Universal Asynchronous Receiver/Transmitter (UART)
Industrial Reference Design Platform RS-232 Interface Developed by the TSC Americas Release 1.0.
Chapter 8 Serial and Parallel Port Interfacing Valvano’s Intro. To Embedded Systems.
Scott Baker Will Cross Belinda Frieri March 9 th, 2005 Serial Communication Overview ME4447/6405.
The Cortex-M3 Embedded Systems: LM3S9B96 Microcontroller – Universal Asynchronous Receivers/Transmitters Refer to Chapter 13 in the reference book “Stellaris®
I/O Interfacing A lot of handshaking is required between the CPU and most I/O devices. All I/O devices operate asynchronously with respect to the CPU.
Advanced Microprocessor1 I/O Interface Programmable Interval Timer: 8254 Three independent 16-bit programmable counters (timers). Each capable in counting.
Example. SBUF Register SCON Register(1) SCON Register(2)
 8251A is a USART (Universal Synchronous Asynchronous Receiver Transmitter) for serial data communication.  Programmable peripheral designed for synchronous.
NS Training Hardware. Serial Controller - UART.
Atmel Atmega128 Overview ALU Particulars RISC Architecture 133, Mostly single cycle instructions 2 Address instructions (opcode, Rs, Rd, offset) 32x8 Register.
Universal Asynchronous Receiver/Transmitter (UART)
Serial Communication Interface Ta Kim Nicholas Earnhart Razid Ahmad ME 6405 – Fall 2008 November 6, 2008.
CE-2810 Dr. Mark L. Hornick 1 Using the USART Configuration and Programming.
Asynchronous Serial I/O Unit 12 - Part 1. SCI Registers – Channel 0 SCI0BDH – SCI Baud Rate Register High Byte SCI0BDL – SCI Baud Rate Register Low.
ME 4447/6405 Microprocessor Control of Manufacturing Systems and
ATtiny23131 A SEMINAR ON AVR MICROCONTROLLER ATtiny2313.
1 October 26, 2006ME 6405 MechatronicsSerial Communication Interface Brian Guerriero Jon Rogers Robert Thiets.
HCS12 Technical Training, Rev 2.0 Module 7- SCI, Slide 1 MOTOROLA and the Stylized M Logo are registered in the US Patent & Trademark Office. All other.
Serial Communications Interface Module Slide #1 of 19 MC68HC908GP20 Training PURPOSE -To explain how to configure and use the Serial Communications Interface.
32-Bit-Digital Signal Controller Texas Instruments Incorporated
Comunicación Serie.
1 MPC 555: Queued Serial Module. 2 MPC 555 QSM QSPI: Queued Serial Peripheral Interface: full duplex serial, synchronous interface. 160B of queue RAM.
Communicating. The ATmega16 communicates through one of the following ways: Serial Peripheral Interface (SPI) Universal Synchronous and Asynchronous serial.
8251 USART.
DEI ARINC 429 TRANSCEIVER SEPT ARINC Transceiver Categories Industry Standard (5V) –DEI1016 family –Wafer ID: 1016 Second Generation (3.3V to 5V)
Tiva C TM4C123GH6PM UART Embedded Systems ECE 4437 Fall 2015 Team 2:
SCI Communication Proudly Presented By: Adam Cardi & Aaron Enes.
The HCS12 SCI Subsystem A HCS12 device may have one or two serial communication interface. These two SCI interfaces are referred to as SCI0 and SCI1. The.
CS-401 Computer Architecture & Assembly Language Programming
Refer to Chapter 16 in the reference book
Programming Microcontroller
Computer Organization and Design
USART Universal Synchronous Asynchronous Receiver Transmitter
UART Serial Port Programming
Interrupt and Exception Programming
Configuration and Programming
Programmable Data Communication Blocks
EUSART Serial Communication.
Serial Communication 19th Han Seung Uk.
Presentation transcript:

ESCI Base

Serial Communication TX RX 8bits Interrupt on Receiver Full 4 Enhanced Serial Communication Interface (eSCI) in the PXR40 eSCIB is used for pins TXD_B and RXD_B connected to the UART interface board eSCI_B_BASE = 0xff9b.4000 Offset Register 0x0000 Baud Rate Register (eSCI_BRR) f TCLK = f MCLK /16*[SBR] f MCLK = 30 MHz 0x0002 Control Register 1 (eSCI_CR1) 0x0004 Control Register 2 (eSCI_CR2) SCI Data Register (ESCI_DR) 0x0008 Interrupt Flag and Status Register 1 (eSCI_IFSR1) 0x000A Interrupt Flag and Status Register 2 (eSCI_IFSR2) //for LIN Pin TXDB in output SIU_PCR[91].R offset 0xf6 Pin RXDB in input SIU_PCR[92].R offset 0xf8

Trames possibles

Baud Rate Register (eSCI_BRR) Control Register 1 (eSCI_CR1) eSCI_B.CR1.RIE = 0 Receiver Full Interrupt Disable. eSCI_B.CR1.TE = 1 Transmitter enable eSCI_B.CR1.RE = 1 Receiver enable eSCI_B.CR1.PE = 0 Parity bit generation and checking disabled. eSCI_B.CR1.ILT = 0 Idle line detection starts after reception of a low bit. eSCI_B.CR1.R = 0x000C f TCL K = 9600bauds eSCI_BRR.R = 195 eSCI_CR3

eSCI_CR1 (et eSCI_BRR) union { /* Control Register 1 */ vuint32_t R; struct { vuint32_t:3; //BRR reserved vuint32_t SBR:13; //BRR baud rate vuint32_t LOOPS:1; vuint32_t:1; vuint32_t RSRC:1; vuint32_t M:1; vuint32_t WAKE:1; vuint32_t ILT:1; vuint32_t PE:1; vuint32_t PT:1; vuint32_t TIE:1; vuint32_t TCIE:1; vuint32_t RIE:1; vuint32_t ILIE:1; vuint32_t TE:1; vuint32_t RE:1; vuint32_t RWU:1; vuint32_t SBK:1; } B; } CR1;

Interrupt flag et status register eSCI_IFSR1

Data register union { /* Data Register */ vuint16_t R; struct { vuint16_t RN:1; vuint16_t TN:1; vuint16_t ERR:1; vuint16_t:1; vuint16_t RD_11:4; vuint16_t D:8; } B; } DR; /* Legacy naming - refer to SDR in Reference Manual */