November 27, 2002 RMU-CPU Interface - Version 1.8 RMU - CPU Interface.

Slides:



Advertisements
Similar presentations
I2C bus Inter Integrated Circuits bus by Philips Semiconductors
Advertisements

Dr. Rabie A. Ramadan Al-Azhar University Lecture 3
Dr A Sahu Dept of Comp Sc & Engg. IIT Guwahati I/O + Timer 8155 I/O + Timer 8255 I/O 8255 I/O 8253/54 Timer 8253/54 Timer 2 Port (A,B), No Bidirectional.
ECE 2211 Microprocessor and Interfacing Chapter 8 The 8088/8086 Microprocessors and their memory and I/O interfaces Br. Athaur Rahman Bin Najeeb Room.
Programmable Interval Timer
8253/54 Timer Section /54 Timer Description and Initialization
Programmable Keyboard/ Display Interface: 8279
Introduction of Holtek HT-46 series MCU
1 ECE 263 Embedded System Design Lessons 2, 3 68HC12 Hardware Overview, Subsystems, and memory System.
Clock Generation Module MTT CLOCK GENERATION MODULE (CGM)
Lecture 27: LM3S9B96 Microcontroller – Inter- Integrated Circuit (I 2 C) Interface.
NS Training Hardware. System Controller Module.
Range Measurement Unit Messenger Mercury Laser Altimeter Basic Familiarization.
Microcomputer & Interfacing Lecture 2
Khaled A. Al-Utaibi  8086 Pinout & Pin Functions  Minimum & Maximum Mode Operations  Microcomputer System Design  Minimum Mode.
26 February 2009Dietrich Beck FPGA Solutions... FPGA and LabVIEW Pattern Generator Multi-Channel-Scaler.
Memory interface Memory is a device to store data
Renesas Electronics Europe GmbH A © 2010 Renesas Electronics Corporation. All rights reserved. RL78 Clock Generator.
8254 Programmable Interval Timer
ENEE 440 Chapter Timer 8254 Register Select The 8254 timer is actually 3 timers in one. It is an upgraded version of the 8253 timer which was.
1 Chapter 4 Timer Operation (I. Scott MacKenzie).
8253 TIMER. Engr 4862 Microprocessors 8253 / 8254 Timer A.k.a. PIT (programmable Interval Timer), used to bring down the frequency to the desired level.
PIT: Programmable Interval Timer
8254 Counter/Timer Counter Each of the three counter has 3 pins associated CLK: input clock frequency- 8 MHz OUT GATE: Enable (high) or disable.
The 8253 Programmable Interval Timer
F.F. - 18/07/ User Guide of the Input Trigger Multiplexer unit with input signal rate counters.
Universal Synchronous/Asynchronous Receiver/Transmitter (USART)
AT91 Embedded Peripherals
SNS Integrated Control System SNS Timing Master LA-UR Eric Bjorklund.
Intermediate 2 Computing Computer structure. Organisation of a simple computer.
Timers.
Advanced Microprocessor1 I/O Interface Programmable Interval Timer: 8254 Three independent 16-bit programmable counters (timers). Each capable in counting.
 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.
8279 KEYBOARD AND DISPLAY INTERFACING
Features of the new Alibava firmware: 1. Universal for laboratory use (readout of stand-alone detector via USB interface) and for the telescope readout.
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Module Introduction Purpose  This training module provides an overview of the analog interfaces.
Timing Requirements for Spallation Neutron Sources Timing system clock synchronized to the storage ring’s revolution frequency. –LANSCE: MHz.
AT91 Memory Interface. 2 Features –Up to 8 programmable chip select lines –Remap Command allows dynamic exception vectors –Glue-less for both 8-bit and.
Computer Hardware A computer is made of internal components Central Processor Unit Internal External and external components.
IT253: Computer Organization Lecture 9: Making a Processor: Single-Cycle Processor Design Tonga Institute of Higher Education.
Automatic accident avoiding system PROJECT MEMBERS MUTHUKUMAR.K (05ME33) SAKTHIDHASAN.S (05ME39) SAKTHIVEL.N (05ME40) VINOTH.S (05ME56) PROJECT GUIDE:
8254 Timer.
EFLAG Register of The The only new flag bit is the AC alignment check, used to indicate that the microprocessor has accessed a word at an odd.
20 October 2015Birkbeck College, U. London1 Introduction to Computer Systems Lecturer: Steve Maybank Department of Computer Science and Information Systems.
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Course Introduction Purpose  This course provides an overview of the PWM type Digital-to-Analog.
8279 KEYBOARD AND DISPLAY INTERFACING
Proposal for an Open Source Flash Failure Analysis Platform (FLAP) By Michael Tomer, Cory Shirts, SzeHsiang Harper, Jake Johns
Introduction to Microprocessors - chapter3 1 Chapter 3 The 8085 Microprocessor Architecture.
The Spartan®-3E FPGA Starter Kit board. A computer mouse is designed mainly to detect two-dimensional motion on a surface. Its internal circuit measures.
Chapter Microcontroller
HarveyFIELDS iCDR – Flight Software Solar Probe Plus FIELDS DCB Flight Software Design Peter Harvey University of California 1.
The World Leader in High Performance Signal Processing Solutions SD/SDIO Introduction Cliff Cai.
Computer Architecture Chapter (5): Internal Memory
PCI 9052 소개 권 동혁. Contents 1.Introduction 2.Major features 3.PCI 9052RDK-LITE.
KEYBOARD/DISPLAY CONTROLLER - INTEL Features of 8279 The important features of 8279 are, Simultaneous keyboard and display operations. Scanned keyboard.
ADC 1 Analog to Digital Converter. ADC 2 ADC Features n General Features -Supports 8 or 10-bit resolution Modes, -Track period fully programmable up to.
Memory Interface EEE 365 [FALL 2014] LECTURER 12 ATANU K SAHA BRAC UNIVERSITY.
Chapter 11: Inter-Integrated Circuit (I2C) Interface
RL78 POC and LVD © 2010 Renesas Electronics Corporation. All rights reserved.
Programmable Interval Timer
Programmable Interval Timer
8254 Timer and Counter (8254 IC).
AT91 Memory Interface This training module describes the External Bus Interface (EBI), which generatesthe signals that control the access to the external.
Timers.
Programmable Interval timer 8253 / 8254
Programmable Interval timer 8253 / 8254
8253 – PROGRAMMABLE INTERVAL TIMER (PIT). What is a Timer? Timer is a specialized type of device that is used to measure timing intervals. Timers can.
Registers and Counters
Programmable Interval Timer
Presentation transcript:

November 27, 2002 RMU-CPU Interface - Version 1.8 RMU - CPU Interface

November 27, 2002 RMU-CPU Interface - Version 1.8 Release 1.3 Changes Added overrun bit to the status word needed a second command status word Added a 1 Hz signal (1PPS) to phase lock the RMU to the 1 Hz timing pulse from the spacecraft Added enable/inhibit for the 1PPS function Added t w (min) for CPU strobes = 250 ns Added definition of science packet

November 27, 2002 RMU-CPU Interface - Version 1.8 Release 1.4 Changes Changed test pattern definitions Resized Little Pulse storage for 15 pulses

November 27, 2002 RMU-CPU Interface - Version 1.8 Release 1.5 Changes Changed definition of bits for Most Significant Byte for Start, Big Pulse and Little Pulse Added Status/Mode Word 3 (programmable fine time circuit reference value - bit definition TBD)

November 27, 2002 RMU-CPU Interface - Version 1.8 Release 1.6 Changes Changed definition of bits for all timestamps (Start, Big Pulse and Little Pulse) Added 4th byte for Start Pulse

November 27, 2002 RMU-CPU Interface - Version 1.8 Release 1.7 Changes Added Status Word 3 Redefined bits in Status Word 2

November 27, 2002 RMU-CPU Interface - Version 1.8 Release 1.8 Changes Finalized defs in Status Words 1, 2 and 3

November 27, 2002 RMU-CPU Interface - Version 1.8 RMU - CPU SIGNALS RMURMU CPUCPU RUPT FPGAs = SX-S; All drivers low slew, always enabled. Receivers are set to 5V CMOS switching thresholds. Receiving side provides bus hold, 10 k  resistor. RMU may be powered off with CPU powered on. Parity is odd. RMU_DATA[7:0] CPU_DATA[7:0] CPU_ADDR[3:0] CPU_RD CPU_WR CPU_SPARE1 CPU_SPARE0 RMU_SPARE0 RMU_SPARE1 RMU_PARITY 1PPS

November 27, 2002 RMU-CPU Interface - Version 1.8 RMU Address Map 0000 READ SCIENCE DATA (FIXED BLOCK, SIZE TBD) 0001 READ/WRITE RANGE GATE START LOW BYTE 0010 READ/WRITE RANGE GATE START MIDDLE BYTE 0011 READ/WRITE RANGE GATE START HIGH BYTE 0100 RESERVED 0101 READ/WRITE RANGE GATE END LOW BYTE 0110 READ/WRITE RANGE GATE END MIDDLE BYTE 0111 READ/WRITE RANGE GATE END HIGH BYTE 1000 READ STATUS/WRITE MODE WORD READ STATUS/WRITE MODE WORD READ SCIENCE DATA TRANSFER COUNTER 1011 READ STATUS/WRITE MODE WORD WRITE: SOFTWARE RESET 1101 RESERVED 1110 RESERVED 1111 RESERVED

November 27, 2002 RMU-CPU Interface - Version 1.8 MODE/STATUS WORD 1 BIT O: SPARE BIT[2:1] : RATE SELECT 00  1 HZ 01  6 HZ 10  8 HZ (POWER-ON DEFAULT) 11  10 HZ BIT 3: REAL/SYNTHETIC DATA 0  REAL DATA(POWER-ON DEFAULT) 1  TEST DATA BIT[6:4] : DATA BUILT-IN-TEST PATTERN 000  REAL DATA (POWER-ON DEFAULT) OTHERS  TEST DATA PATTERNS DETAILS ON FOLLOWING PAGE BIT 7: BYTE/NIBBLE MODE 0  BYTE TRANSFERS (POWER-ON DEFAULT) 1  NIBBLE TRANSFERS, EACH NIBBLE REPEATED TWICE, ON DATA LINES, 7:4, 3:0

November 27, 2002 RMU-CPU Interface - Version 1.8 MODE/STATUS WORD 1 (cont'd) Built-in Test Control BIT 3: REAL/SYNTHETIC DATA 0  REAL DATA(POWER-ON DEFAULT) 1  TEST DATA BIT[6:4] : DATA BUILT-IN-TEST PATTERN 000  REAL DATA (POWER-ON DEFAULT) 001  00/FF for even/odd-numbered bytes 010  CHECKERBOARD (AA) 011  ~CHECKERBOARD (55) 100  COUNTER 101  ~COUNTER 110  FF/00 for even/odd-numbered bytes 110  REAL DATA

November 27, 2002 RMU-CPU Interface - Version 1.8 MODE/STATUS WORD 2 BIT O: CPU CYCLE SLIP (A K A. BABBLE BIT) 0  NO CYCLE SLIP (“GOOD”) 1  CYCLE SLIP (“BAD”) BIT 1: 1PPS ENABLE 0  1PPS INHIBITED (POWER-ON DEFAULT) 1  1PPS ENABLED BIT 2: SPARE BIT 3: SPARE BIT 4: SPARE BIT 5: CLOCK SELECT BIT 6: CLOCK SELECT BIT 7: CLOCK SELECT

November 27, 2002 RMU-CPU Interface - Version 1.8 MODE/STATUS WORD 2 (cont'd) BIT [7:5] : CLOCK SELECT OPTIONS 000 => INTERNAL (40% DUTY CYCLE) X01 => OSC B X10 => OSC A 111 => INTERNAL (50% DUTY CYCLE)

November 27, 2002 RMU-CPU Interface - Version 1.8 MODE/STATUS WORD 3 BIT O: CAL ENABLE 1 BIT 1: CAL ENABLE 0 BIT 2: CAL SELECT 1 BIT 3: CAL SELECT 0 BIT 4: CYCLE RESET TOF ENABLE 1 BIT 5: CYCLE RESET TOF ENABLE 0 BIT 6: SPARE BIT 7: SPARE CAL ENABLE 1 CAL ENABLE REAL DATA 0 1 REAL DATA 1 0 REAL DATA 1 1 TOF-A CALIBRATION DATA (TX TRAIL, LITTLE PULSES ONLY CAL SELECT 1 CAL SELECT NS CALIBRATION PULSES NS CALIBRATION PULSES NS CALIBRATION PULSES NS CALIBRATION PULSES THE TOF-A'S ARE ALWAYS RESET ON APPLICATION OF: HARDWARE POWER-ON RESET SOFTWARE POWER-ON RESET IF BOTH BITS 4 AND 5 ARE HIGH, THEN THE TOF-A'S WILL ALSO BE RESET EVERY CYCLE RESET, WHICH PULSES AFTER TIMEZERO AND BEFORE LASERFIRE.

November 27, 2002 RMU-CPU Interface - Version 1.8 MODE/STATUS WORD 3 (cont'd) BIT [1:0]: CAL ENABLE 00 REAL DATA 01 REAL DATA 10 REAL DATA 11 CAL DATA BIT [3:2]: CAL SELECT BIT [5:4]: CYCLE RESET

November 27, 2002 RMU-CPU Interface - Version 1.8 Science Data Packet Definition (1)

November 27, 2002 RMU-CPU Interface - Version 1.8 Science Data Packet Definition (2)

November 27, 2002 RMU-CPU Interface - Version 1.8 Science Data Packet Definition (3)

November 27, 2002 RMU-CPU Interface - Version 1.8 Science Data Packet Definition (4) Each timestamp value for all pulses (Start, Big and Little ) will consist of three fields –Fine Time: Bits [9..0] –Coarse Time: Start Pulse: Bits [30..10] Big Pulse: Bits [30..10] Little Pulse: Bits [27..10] –Miscellaneous (IDs, etc.): as specified for each type of Pulse Each bin is “worth”: –For Fine Time 200/512 ns –for Coarse Time 200 ns To “reconstruct” actual time from Coarse and Fine Time fields, convert each value to “ns” according to the above, then subtract Fine Time from Coarse Time (see next page)

November 27, 2002 RMU-CPU Interface - Version 1.8 Science Data Packet Definition (5) Example: Start Pulse Data = “ ” –black: Pulse ID –red/bold: Coarse Time Field –green/italic: Fine Time Field Actual timestamp is calculated as 128* *(200/512) = (ns)

November 27, 2002 RMU-CPU Interface - Version 1.8 Miscellaneous Range gate start and stop values will also have power-on defaults. They are TBD. A software reset will force values to their power-on default state. RUPT pulse width is 6.4 µs. Following each write (except for software reset) the software will immediately read back the octet written and verify that it is correct.

November 27, 2002 RMU-CPU Interface - Version 1.8 1PPS Characteristics t W = TBD Phase relationship to the  5MHz at the RMU - TBD Single string If not present, the RMU will free run Bit 1 in MODE word 2 can disable the 1PPS signal.

November 27, 2002 RMU-CPU Interface - Version 1.8 PIN ASSIGNMENTS RMU  CPU RMU_DATA7 ? RMU_DATA6 ? RMU_DATA5 ? RMU_DATA4 ? RMU_DATA3 ? RMU_DATA2 ? RMU_DATA1 ? RMU_DATA0 ? RMU_PARITY ? RMU_SPARE0 ? RMU_SPARE1 ? RUPT ? RMU  CPU CPU_DATA7 ? CPU_DATA6 ? CPU_DATA5 ? CPU_DATA4 ? CPU_DATA3 ? CPU_DATA2 ? CPU_DATA1 ? CPU_DATA0 ? CPU_ADDR3 ? CPU_ADDR2 ? CPU_ADDR1 ? CPU_ADDR0 ? CPU_RD ? CPU_WR ? 1PPS ? RMU_SPARE0 ? RMU_SPARE1 ? GROUNDS, ETC.

November 27, 2002 RMU-CPU Interface - Version 1.8 CYCLE TIMING CPU_RD and CPU_WR –Both active high strobes –t Wmin = 250 ns (both high and low) CPU_ADDR –t su to trailing edge of strobe = 250 ns –t h from trailing edge of strobe = 250 ns CPU_DATA –t su to trailing edge of CPU_WR = 250 ns –t h from trailing edge of CPU_WR = 250 ns RMU_DATA –t su to trailing edge of CPU_RD = 100 ns –t h from trailing edge of CPU_RD = 100 ns