1 Programming of FPGA in LiCAS ADC for Continuous Data Readout Week 4 Report Tuesday 22 nd July 2008 Jack Hickish.

Slides:



Advertisements
Similar presentations
What is Arduino?  Arduino is a ATMEL 168 micro-controller kit designed specially for small projects  User friendly IDE(Integrated Development Environment)
Advertisements

1 MICE Tracker Readout Update, Preparation for Cosmic Ray Tests Introduction/Overview AFE-IIt firmware development VLSB firmware development Hardware progress.
28 August 2002Paul Dauncey1 Readout electronics for the CALICE ECAL and tile HCAL Paul Dauncey Imperial College, University of London, UK For the CALICE-UK.
Aztec PC Scope Preliminary Design Review Fall 2006 Michael MasonJed Brown Andrew YoungsJosh Price.
Final Year Project A CMOS imager with compact digital pixel sensor (BA1-08) Supervisor: Dr. Amine Bermak Group Members: Chang Kwok Hung
Data Acquisition Software Integration and ADC Characterisation Jack Hobbs 4 th August
7/23 Timers in Coldfire Processor Computer Science & Engineering Department Arizona State University Tempe, AZ Dr. Yann-Hang Lee (480)
The GANDALF Multi-Channel Time-to-Digital Converter (TDC)  GANDALF module  TDC concepts  TDC implementation in the FPGA  measurements.
Data Acquisition Systems
Scott Baker Will Cross Belinda Frieri March 9 th, 2005 Serial Communication Overview ME4447/6405.
AIDA FEE64 development report August 2010 Progress after Texas CAD work Manufacturing 25th August
Leo Greiner IPHC meeting HFT PIXEL DAQ Prototype Testing.
1 Programming of FPGA in LiCAS ADC for Continuous Data Readout Week 3 Report Jack Hickish.
8279 KEYBOARD AND DISPLAY INTERFACING
USB Project (15 th August) Ian Coulter. Last Week Needed to work error flags and error counting into labview. This seems to work successfully but doesn’t.
Chapter 2 Introducing the PIC Mid-Range Family and the 16F84A The aims of this chapter are to introduce: The PIC mid-range family, in overview The overall.
P. Baron CEA IRFU/SEDI/LDEFACTAR Meeting Santiago de Compostela March 11, A review of AFTER+ chip Its expected requirements At this time, AFTER+
Features of the new Alibava firmware: 1. Universal for laboratory use (readout of stand-alone detector via USB interface) and for the telescope readout.
ATtiny23131 A SEMINAR ON AVR MICROCONTROLLER ATtiny2313.
1 Programming of FPGA in LiCAS ADC for Continuous Data Readout Week 5 Report Tuesday 29 th July 2008 Jack Hickish.
P09311: FPGA Based Multi-Purpose Driver / Data Acquisition System Sponsor: Dr. Marcin Lukowiak Team MemberDisciplineRole Adam Van FleetEEProject Manager/Documentation.
Status report 2010/10/5 Atsushi Nukariya. Revision of control manager (1) ・ The things which control manager controls are as follows. 1. Double buffer.
8279 KEYBOARD AND DISPLAY INTERFACING
Trigger Meeting: Greg Iles5 March The APV Emulator (APVE) Task 1. –The APV25 has a 10 event buffer in de-convolution mode. –Readout of an event =
09/01/2016James Leaver SLINK Current Progress. 09/01/2016James Leaver Hardware Setup Slink Receiver Generic PCI Card Slink Transmitter Transition Card.
JRA-1 Meeting, Jan 25th 2007 A. Cotta Ramusino, INFN Ferrara 1 EUDRB: A VME-64x based DAQ card for MAPS sensors. STATUS REPORT.
1 Programming of FPGA in LiCAS ADC for Continuous Data Readout Week 7 Report Friday 15 th August 2008 Jack Hickish.
1 Programming of FPGA in LiCAS ADC for Continuous Data Readout Week 6 Report Wednesday 6 th August 2008 Jack Hickish.
Status report 2010/9/24 Atsushi Nukariya. GEMFE2 outline (1) ・ FPGA controls 4 chips. ・ Each chip has 9 channels. ( 8 channels will be used in data acquisition,
General Tracker Meeting: Greg Iles4 December Status of the APV Emulator (APVE) First what whyhow –Reminder of what the APVE is, why we need it and.
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.
Status report 2011/7/28 Atsushi Nukariya. Progress Progresses are as follows. 1. FPGA -> Analyze data from FPGA, and some revise point is found. 2. Software.
Calliope-Louisa Sotiropoulou FTK: E RROR D ETECTION AND M ONITORING Aristotle University of Thessaloniki FTK WORKSHOP, ALEXANDROUPOLI: 10/03/2014.
MADEIRA Valencia report V. Stankova, C. Lacasta, V. Linhart Ljubljana meeting February 2009.
 The LPC2xxx devices currently have two on- chip UARTS.  Except UART1 has additional modem support.
CLUster TIMing Electronics Part II
ATLAS Pre-Production ROD Status SCT Version
Serial mode of data transfer
DCH FEE STATUS Level 1 Triggered Data Flow FEE Implementation &
The 8085 Microprocessor Architecture
ABC130: DAQ Hardware Status Matt Warren et al. Valencia 3 Feb 2014
Production Firmware - status Components TOTFED - status
* Initialization (power-up, run)
PyBAR Firmware Structure and Operation Experience
Iwaki System Readout Board User’s Guide
UNIT – Microcontroller.
Firmware Structure Alireza Kokabi Mohsen Khakzad Friday 9 October 2015
The 8085 Microprocessor Architecture
USB Project (6th August)
AVR Addressing Modes Subject: Microcontoller & Interfacing
Architecture & Organization 1
DMA CONTROLLER 8257 Features: It is a 4-channel DMA.
An Introduction to Microprocessor Architecture using intel 8085 as a classic processor
This chapter provides a series of applications.
Introduction to Microprocessors and Microcontrollers
Analog to Digital Converters Electronics Unit – Lecture 7
Serial Communication Interface: Using 8251
Architecture & Organization 1
UK ECAL Hardware Status
Introducing the PIC Mid-Range Family and the 16F84A
asyn Driver Tutorial Measurement Computing 1608GX-2A0
Tests Front-end card Status
Md. Mojahidul Islam Lecturer Dept. of Computer Science & Engineering
Md. Mojahidul Islam Lecturer Dept. of Computer Science & Engineering
Tri-state buffer A circuit which allows an input to go to output when desired Otherwise it behaves as if “nothing” is connected to the wire An equivalent.
The 8085 Microprocessor Architecture
8051 Micro Controller.
PID meeting Mechanical implementation Electronics architecture
Timer/Counter Timer/Counter 0 Timer/Counter 1 Timer/Counter 2 8 bit
NS Training Hardware.
Presentation transcript:

1 Programming of FPGA in LiCAS ADC for Continuous Data Readout Week 4 Report Tuesday 22 nd July 2008 Jack Hickish

2 Progress Last Week Behavioural simulation of both continuous and burst modes of operation - Simulations indicated error free - Simulations could not test complete data path Implementation of new code onto FPGA chip - Unexplained data output - not matching sinusoidal input - noise at frequencies below 1MHz

3 Since then… Explanation of data output Signal generator output connected to ADC input via ‘homemade’ adaptor. Unfortunately this adaptor served to short each of the input channel pins. No surprise results didn't make sense! Having found an adaptor to properly connect the ADC to the signal generator, the design was tested with USB DAQ software and Chipscope.

4 Testing Burst Mode counta (0) and counta(1) show least significant bits of sample counter. When the counter stops counting, the information is written to the USB (via FIFO) in a burst

5 Testing Burst Mode DAQ software is set so that it acquires twice as many pieces of data as are acquired by the ADC. Hence output is generated sinusoid extending over half of readings

6 Testing Continuous Mode counta(30) and counta(31) are most significant bits of sample counter. When counter reaches zero it resets (to 0xFFFFFFFF) and data continues to be acquired. Data is being fed into FIFO but note no data in FIFO data out signal.

7 Testing Continuous Mode As expected from Chipscope signals, no data was being output over USB. - This suggested a problem with the FIFO read enable signal

8 Testing Continuous Mode When read enable signal was probed, it was found to be low, preventing the FIFO from writing data to the USB. The read enable signal is controlled only by the full flag of the USB controller and the empty flag of the FIFO. i.e. read enabled when FIFO not empty and USB not full Chipscope shows FIFO is not empty, conclusion is that the USB is full even before data begins being acquired.

9 Testing Continuous Mode Triggering Chipscope before the FPGA begins data acquisition, we see that as soon as Continuous (FFI) mode is selected, the FIFO begins to full.

10 Testing Continuous Mode Problem can be traced to write enable signal. This signal is the same signal used to control the external FIFO in the case of Burst operation. - The external FIFO has an active low write enable signal - The internal FIFO has an active high write enable As soon as Continuous operation mode is selected, the external write enable signal is diverted to the internal FIFO and causes it to fill. All this happens before the USB software begins acquiring data, hence the USB buffer is full before data acquisition begins. To fix this problem, a well place “not” in the write enable code...

11 Testing Continuous Mode Data written into FIFO and read out to USB continuously

12 Testing Continuous Mode Continuous sinusoid, with sample counter resetting at 125 readings. Using USB DAQ set to continuous mode, realtime changes of the input signal can be observed in the onscreen graph.

13 Testing Continuous Mode - Qualitative success of continuous system. - Vigorous test is comparing (bitwise) input signal and output signal for consistency - Much simpler test is to use inbuilt test mode feature to generate countdown, and compare output data with expected values - DAQ software editted to output data in numerical as well as graphical form. On comparison with expected output few (but some) errors are seen

14 Testing Continuous Mode Possible causes: - Fundamental timing problems in continuous acquisition code. - Data acquisition rate too high – greater averaging period required for successful operation.

15 Currently developing a serial rather than parallel interface between PC and FPGA. This allows greater flexibility (the planned system (SPI) will require only 4 wires for communication, the current system requires 16). The SPI (Serial Peripheral Interface) allows 2-way communication, allowing read back of diagnostic information from the ADC (e.g. memory full flags indicating data overflow)‏ Other Developments

16 Implementation of SPI bus Further investigation into output data reliability After that... Increasing sample registers to allow long period (~1 second) averaging The Week Ahead...