1 MPC 555: Queued Serial Module. 2 MPC 555 QSM QSPI: Queued Serial Peripheral Interface: full duplex serial, synchronous interface. 160B of queue RAM.

Slides:



Advertisements
Similar presentations
INPUT-OUTPUT ORGANIZATION
Advertisements

Parul Polytechnic Institute
PROGRAMMABLE PERIPHERAL INTERFACE -8255
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.
Chapter 10 Input/Output Organization. Connections between a CPU and an I/O device Types of bus (Figure 10.1) –Address bus –Data bus –Control bus.
External Interrupt Module MTT EXTERNAL INTERRUPT REQUEST MODULE (IRQ)
Direct Memory Access Introduction to 8237
I/O Unit.
Introduction of Holtek HT-46 series MCU
Serial Communication Buses: I 2 C and SPI By Brody Dunn.
1 Hardware and Software Architecture Chapter 2 n The Intel Processor Architecture n History of PC Memory Usage (Real Mode)
Chapter 7 Interupts DMA Channels Context Switching.
Serial Peripheral Interface (SPI)
Midterm Tuesday October 23 Covers Chapters 3 through 6 - Buses, Clocks, Timing, Edge Triggering, Level Triggering - Cache Memory Systems - Internal Memory.
DMX512 Programmable Theater Lighting Controller Jeff Sand and Kris Kopel Advisor: Dr. Don Schertz May 8, 2001.
HT46 A/D Type MCU Series Data Memory (Byte) Program Memory HT46R22 (OTP) HT46C22 (Mask) 2Kx Kx16 4Kx HT46R23 (OTP) HT46C23 (Mask) HT46R24.
7-1 Digital Serial Input/Output Two basic approaches  Synchronous shared common clock signal all devices synchronised with the shared clock signal data.
Chapter 7 Input/Output. Input/Output Problems Wide variety of peripherals —Delivering different amounts of data —At different speeds —In different formats.
Unit-5 CO-MPI autonomous
2. Methods for I/O Operations
1 Computer System Overview Chapter 1 Review of basic hardware concepts.
NS Training Hardware. System Controller Module.
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)
Multichannel Serial Port Interface (McSPI)
ECE 265 – LECTURE 12 The Hardware Interface 8/22/ ECE265.
1 Computer System Overview Chapter 1. 2 n An Operating System makes the computing power available to users by controlling the hardware n Let us review.
7/23 Inter-chip Serial Communication: SPI and I 2 C Computer Science & Engineering Department Arizona State University Tempe, AZ Dr. Yann-Hang Lee.
Universal Synchronous/Asynchronous Receiver/Transmitter (USART)
AT91 Embedded Peripherals
1-1 Embedded Network Interface (ENI) API Concepts Shared RAM vs. FIFO modes ENI API’s.
Lecture 14 DMA Controller & Serial Communications Interface (UART)
Scott Baker Will Cross Belinda Frieri March 9 th, 2005 Serial Communication Overview ME4447/6405.
Autonomous Helicopter James LydenEE 496Harris Okazaki.
COMPUTER ORGANIZATIONS CSNB123 NSMS2013 Ver.1Systems and Networking1.
 8251A is a USART (Universal Synchronous Asynchronous Receiver Transmitter) for serial data communication.  Programmable peripheral designed for synchronous.
MODES OF Details of Pins Pin 1GND –Connected Ground Pins 2-16 AD14-AD0–acts as both input/output. Outputs address at the first part of the cycle.
1 Synchronous Serial IO Send a separate clock line with data –SPI (serial peripheral interface) protocol –I 2 C (or I2C) protocol Encode a clock with data.
Direct Memory Access Module MTT M DIRECT MEMORY ACCESS MODULE (DMA)
ATtiny23131 A SEMINAR ON AVR MICROCONTROLLER ATtiny2313.
7 - 1 Texas Instruments Incorporated Module 7 : Serial Peripheral Interface C28x 32-Bit-Digital Signal Controller TMS320F2812.
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.
RX Serial Peripheral Interface (RSPI)
Serial Communications Interface Module Slide #1 of 19 MC68HC908GP20 Training PURPOSE -To explain how to configure and use the Serial Communications Interface.
System Integration Module MTT Motoola SYSTEM INTEGRATION MODULE (SIM)
Execution Architecture MTT CPU08 Core M CPU08 INTRODUCTION.
 The Programmable Interrupt Controller (PlC) functions as an overall manager in an Interrupt-Driven system. It accepts requests from the peripheral equipment,
Computer Operating Properly Module MTT COMPUTER OPERATING PROPERLY MODULE (COP)
Embedded Systems February 10, Serial Interface - SPI  Serial Peripheral Interface  Synchronous communications  Clock supplied by the Master.
8255:Programmable Peripheral Interface
Communicating. The ATmega16 communicates through one of the following ways: Serial Peripheral Interface (SPI) Universal Synchronous and Asynchronous serial.
1 Device Controller I/O units typically consist of A mechanical component: the device itself An electronic component: the device controller or adapter.
BIRLA VISHVAKARMA MAHAVIDYALAY SUBJECT: SPI PROTOCOL & MAX7221 DISPLAY INTERFACING SUBMITTED BY: KISHAN AVASTHI( ) MANSI CHANDEGARA( )
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.
Serial mode of data transfer
Tutorial Introduction
EE 107 Fall 2017 Lecture 5 Serial Buses – UART & SPI
SERIAL PERIPHERAL INTERFACE
Presentation On 8259 Made by Md Shabbir Hasan.
Programmable Interrupt Controller 8259
Programmable Interrupt Controller 8259
An Introduction to Microprocessor Architecture using intel 8085 as a classic processor
SPI Protocol and DAC Interfacing
CPE 323 Introduction to Embedded Computer Systems: DMA Controller
SPI Protocol Sepehr Naimi
Figure Serial versus Parallel Data Transfer
Computer Architecture
Presentation transcript:

1 MPC 555: Queued Serial Module

2 MPC 555 QSM QSPI: Queued Serial Peripheral Interface: full duplex serial, synchronous interface. 160B of queue RAM. SCI1 & 2: serial communication interfaces

3 QSM Block Diagram

4 QSM Configuration Register

5 QSM Interrupts

6 QSM Configuration Register

7 QSM Interrupt Registers

8 Queued Serial Peripheral Interface

9 QSPI 2 wire half duplex or 3-wire full duplex. Many baud rates, clocking, and interrupt options. Transfer chunks (serial) 8-16 bits. 160B RAM stores data (in and out), and commands/control words. CPU can queue up to 32 serial transfers in one interaction. A pointer points to the data to be transferred. Normally incremented after each transfer.

10 QSPI contd. QSPI has its own 4 chip-select pins. The queued transfer commands can be run in a loop in wrap-around mode. A standard delay of 17 IMB cycles (0.8µs) between two transfer commands (chunks of serial transfer).

11 QSPI Programming 0000: 16 bits; 1000: 8 bits; 1001: 9 bits; ….; 1111: 15 bits

12 QSPI Programming 0SPIFIESPI finished interrupt enable 1WRENWrap enable 3-7ENDQPEnding queue pointer NEWQPNew/first queue pointer

13 QSPI Programming SPSR: QSPI Status register, a 8-bit subfield of SPCR3. Many other sources of interrupt --- each with its own status and interrupt enable bit. HALTA: Halt ack. MODF: mode fault flag.

14 QSPI RAM Right justified Only CPU can write

15 RAM Commands Multiple peripheral CS can be asserted CONT: continue asserting CS after transfer completed.

16 QSPI Overall operation CPU writes the command queue of QSPI QSPI RAM each entry: 1 word of transmit data, 1 word of receive data, 1B of command CPU writes transmit data and enables QSPI. QSPI completes the transfer, sets the completion flag SPIF SPE bit in SPCR1 to enable the QSPI. When done QSPI disables itself. If HALT in SPCR3 on, then QSPI halts after each serial transfer and sets HALTA.

17 QSPI Interrupt sources Three sources of interrupt (all on the same vector). SPIF (finished). MODF: Mode fault (inconsistent configuration). HALTA: acknowledge HALT.

18 QSM Initialization

19 QSM Op