usbpix upgrade v. filimonov, t. hemperek, f. hügging, h. krüger, n. wermes atlab annual assembly...

36
USBpix Upgrade V. Filimonov , T. Hemperek, F. Hügging, H. Krüger, N. Wermes ATLAB ANNUAL ASSEMBLY 18 th February 2013

Upload: dominick-welch

Post on 16-Dec-2015

214 views

Category:

Documents


0 download

TRANSCRIPT

USBpix Upgrade

V. Filimonov, T. Hemperek, F. Hügging, H. Krüger, N. Wermes

ATLAB ANNUAL ASSEMBLY 18 th February 2013

USBpix Upgrade

Outline

2

18 February '13

• Research project overview

• Migrating from FX2 to FX3

• Firmware development

USBpix Upgrade

Research project overview

3

• Pixel detector electronics for ATLAS Upgrade• Readout ASICs (FE-I4)• Test environment (USBpix)

18 February '13

HL-LHC outer layers stave concept: - 1.2 m long stave - 32 4-chip-modules per stave

16 on the top, 16 on the bottom

USBpix Upgrade

Research project overview

4

• USBpix Test System (Test system hardware)

18 February '13

USBpix system for FE-I4 single chip read-out

USBpix Upgrade

Research project overview

5

• Upgrade Plans for USBpix

18 February '13

• Resources on the MultiIO board are coming to their limits

• 2 MB SRAM• FPGA resources (Spartan 3, XC3S1000)• Data bandwidth (USB 2.0, ~15 Mbyte/s)

→ Simultaneous r/o of four chips and support of new chip generations with higher data rates becomes challenging

• Requirements: – Downward compatible to USBpix adapter cards and SW

• KEL connector• USB interface for low-level software compatibility

– larger FPGA and memory – USB 2.0 → USB 3.0 – Possible data bandwidth (~ 150 Mbyte/s)

Research project overview

6

• Upgrade Plans for USBpix

18 February '13

USBpix Upgrade

• Commercial board (Linera FMU3-S6 Series FPGA Module)

• Custom made carrier PCB

FMU3-S6 series FPGA module

• 65mm x 50mm board size• USB3 Connectivity, including software

drivers and APIs• Xilinx Spartan6 LX45 application FPGA

(Available also with LX150)• 1Gbit DDR3 SDRAM (Optional 2 or 4 Gbit) • MicroSD card slot, accessible from FPGA• Very easy to integrate: Single 5V supply• Programmable via USB3.0 port, JTAG or the

on-board flash• 2 100-pin high speed board-to-board

connectors to mount on a host-board• 150 user I/O signals. 72 differential pairs• 8 User LEDs on-board• Pin-compatible with FM-S651 series• On-board, programmable clock generator

with 4 output clocks, with available SSC

USBpix Upgrade

Research project overview

7

• FX3 Firmware

18 February '13

• FX3 DVK Board• USB 3.0 interface

• Firmware development• FX3 device should be compatible with

the software for the 8051 based USB 2.0 microcontroller

FX3 device

USBpix Upgrade

Migrating from FX2 to FX3

8

• Architectural Differences

18 February '13

Firmware development

9

18 February '13

USBpix Upgrade

FX3 DVK Board Block Diagram

Firmware development

10

18 February '13

USBpix Upgrade

• USB 3.0 Interface

• 4 endpoints for different transfer types were configured

• USB enumeration descriptors were configured

• DMA Manual channels were created between USB endpoints and CPU sockets

• FX3 is correctly recognized as SiUSB device on Windows 32 and 64-bit USB Device Manager interface

USBpix Upgrade

Firmware development

11

18 February '13

• I2C EEPROM • Configuration of the interface parameters (100 KHz bit rate, register

transfer mode, no bus timeout, no DMA timeout)• I2C transfer (preamble: the slave address, the direction of the transfer,

the address inside the slave; wait for ACK)

• SPI SPI Flash• Configuration of the interface parameters (8 MHz SPI clock, 8 bits word

length, MSB first data shift mode, idles high clock polarity (CPOL = 1), clock phase (slave samples at active-idle edge (CPHA = 1)), active low polarity of SSN line, slave select using FW)

• SPI transfer (location: command, page address; set SSN line, erase sector, wait for status)

• Low performance peripherals (LPP)

USBpix Upgrade

Firmware development

12

18 February '13

• FX3 – FPGA connectivity GPIF II (General Programmable Interface)

• Functions as master or slave

• Provides 256 firmware programmable states

• Supports 8 bit, 16 bit, and 32 bit parallel data bus

• Enables interface frequencies up to 100 MHz

• Supports 14 configurable control pins when 32 bit data bus is used. All control pins can be either input/output or bidirectional

• Supports 16 configurable control pins when 16 or 8 data bus is used. All control pins can be either input/output or bidirectional

USBpix Upgrade

Firmware development

13

18 February '13

• GPIF II Designer

• Define the interface in the form of a state machine diagram

• The electrical interfacing details should be defined using the Interface definition tab before entering the state machine using the state machine canvas tab

USBpix Upgrade

Firmware development

14

18 February '13

• GPIF II Designer

USBpix Upgrade

Firmware development

15

18 February '13

• GPIF II Designer

USBpix Upgrade

Firmware development

16

18 February '13

IDLE SOF WR_DATA EOF IDLE

USBpix Upgrade

Firmware development

17

18 February '13

• GPIF II Designer

GigaBee Header Baseboard with TE0600 module and cables to connect to FX3

FMU3-S6 series FPGA module

18 USBpix Upgrade

Firmware development18 February '13

FMU3-S6 connected to the power supply, to the host through USB 3.0 interface and to the USB-JTAG Programming cable through the self-made connector.

• FX3 device:• Can be

programmed with software for the FX3 development kit (USB 3.0)

• FPGA:• Can be

programmed with JTAG interface (self-made connector + USB-JTAG Programming Cable)

19 USBpix Upgrade

Firmware development18 February '13

• Response from the FPGA (Timing)

20

Firmware development18 February '13

• GPIF II Designer (Timing simulation)

USBpix Upgrade

21 USBpix Upgrade

Firmware development18 February '13

• Response from the FPGA to the reading access (FX3 delay)

• Response from the FPGA to the writing access (FX3 delay)

22 USBpix Upgrade

Firmware development18 February '13

• Response from the FPGA to the reading access (FX3 + FPGA delay)

• Response from the FPGA to the writing access (FX3 + FPGA delay)

23

Firmware development18 February '13

• ChipScope waveform (Writing to the FPGA)

USBpix Upgrade

USBpix Upgrade

Conclusion

24

18 February '13

• FX3 Firmware

• USB 3.0

• GPIF II

• Writing to the FPGA• Reading from the FPGA

• 4 endpoints for different transfer types were configured• USB enumeration descriptors were configured• DMA Manual channels were created between USB endpoints and

CPU sockets• Correctly recognized as SiUSB device on Windows 32 and 64-bit

• I2C EEPROM

• SPI SPI Flash

USBpix Upgrade

Conclusion

25

18 February '13

• Next steps

• FPGA firmware (started)

• FX3 firmware (should be modified every time FPGA timing changes)

• PCB design of the new MultiIO Board

USBpix Upgrade

Contact Information

26

18 February '13

Viacheslav Filimonov

[email protected]

USBpix Upgrade

Backup

27

18 February '13

EZ USB FX3 System Diagram

SPI Flash 4 Mbit

EEPROM 64kB

USBpix Upgrade

Backup

28

18 February '13

EZ USB FX3 System Diagram

USBpix Upgrade

Backup

29

18 February '13

(Currently 8 MHz)

USBpix Upgrade

Backup

30

18 February '13

USBpix Upgrade

Backup

31

18 February '13

Programming View of FX3

USBpix Upgrade

Backup

32

18 February '13

DMA Mechanism

System Memory

USBpix Upgrade

Backup

33

18 February '13

DMA Components

USBpix Upgrade

Backup

34

18 February '13

USB Comparison

35 USBpix Upgrade

Backup18 February '13

Changes in USB 3.0

• SuperSpeed — New higher signaling rate of 5Gbps (625MB/sec)

• Dual-bus architecture — Low-Speed, Full-Speed, and High-Speed bus plus SuperSpeed bus

• Asynchronous instead of polled traffic flow

• Dual-simplex simultaneous bi-directional data flow for SuperSpeed instead of half-duplex unidirectional data flow

• Support for streaming

• Fast Sync-N-Go technology

• Support for higher power

• Better power management

36 USBpix Upgrade

Backup18 February '13

USB 3.0 Pin Description Electrical Interface

USB 3.0’s pinout is different from that of USB 2.0. Besides the VBUS, D-, D+, and GND pins required for 2.0, 3.0 has five additional pins – two differential pairs plus one ground (GND_DRAIN). The two differential pairs are for SuperSpeed data transfer, supporting dual simplex SuperSpeed signaling. The added GND_DRAIN pin is for drain wire termination, managing signal integrity, and EMI performance. For high throughput and biwire transfer, USB 3.0 defines nine pins to enhance this feature. These pins contain four pins for USB 2.0 and five additional pins for 3.0. Table 1 shows the description of these nine pins.