Download Print this page

Advertisement

Quick Links

SP605 FMC Si570
Programming
June 2012
XTP077

Advertisement

loading

Summary of Contents for Xilinx SP605 FMC Si570

  • Page 1 SP605 FMC Si570 Programming June 2012 XTP077...
  • Page 2: Revision History

    NOTICE OF DISCLAIMER: The information disclosed to you hereunder (the “Information”) is provided “AS-IS” with no warranty of any kind, express or implied. Xilinx does not assume any liability arising from your use of the Information. You are responsible for obtaining any rights you may require for your use of this Information.
  • Page 3 SP605 FMC Si570 Programming Overview Xilinx SP605 Board Software Requirements Setup for the SP605 FMC Si570 Programming Programming the FMC Si570 Correcting the Frequency FMC Si570 Fixed Frequencies References Note: This presentation applies to the SP605...
  • Page 4 SP605 FMC Si570 Programming Overview Description – The FMC modules, XM101, XM104, and XM105 have a Silicon Labs Si570 Programmable Oscillator that defaults to 156.25 MHz. Via the IIC bus, the frequency of this device can be changed. This tutorial shows how to change the output frequency of this device.
  • Page 5 Xilinx SP605 Board Note: Presentation applies to the SP605...
  • Page 6 Xilinx XM101 FMC Module The XM101 board uses an on-board IIC switch...
  • Page 7 Xilinx XM104 FMC Module The XM104 board has an on-board IIC switch – Note: The XM104 Si570 clocks (as seen below) are only available via GBT; the designs in this tutorial only look at the non-GT clocks...
  • Page 8 Xilinx XM105 FMC Module The XM105 board has a direct connection to the Si570 IIC – Note: FMC_TDI and FMC_TDO (J5, 6 & 7) must be connected during configuration...
  • Page 9 ISE Software Requirements Xilinx ISE 13.4 software Note: Presentation applies to the SP605...
  • Page 10 ChipScope Pro Software Requirement Xilinx ChipScope Pro 13.4 software Note: Presentation applies to the SP605...
  • Page 11 SP605 Setup Connect a USB Type-A to Mini-B cable to the USB UART connector on the SP605 board – Connect this cable to your PC...
  • Page 12 SP605 Setup Add a second USB Type-A to Mini-B cables to the USB JTAG connector on the SP605 board – Connect this cable to your PC Power on the SP605 board for UART Driver Install...
  • Page 13 SP605 Setup Install USB UART Drivers – CP210x_VCP_Win_XP_S2K3_Vista_7.exe Note: Presentation applies to the SP605...
  • Page 14 SP605 Setup Reboot your PC if necessary Right-click on My Computer and select Properties – Select the Hardware tab – Click on Device Manager Note: Presentation applies to the SP605...
  • Page 15 SP605 Setup Expand the Ports Hardware – Right-click on Silicon Labs CP210x USB to UART Bridge and select Properties Note: Presentation applies to the SP605...
  • Page 16 SP605 Setup Under Port Settings tab – Click Advanced – Set the COM Port to an open Com Port setting from COM1 to COM4 Note: Presentation applies to the SP605...
  • Page 17 SP605 Setup Board Power must be on before starting Tera Term Start the Terminal Program – Select your USB Com Port – Set the baud to 9600 Note: Presentation applies to the SP605...
  • Page 18 Si Labs Programmable Oscillator Calculator Download ProgOscillatorSwInstall.zip – Install “ProgOscSwInstall3.0.1.exe” only Note: Presentation applies to the SP605...
  • Page 19 Setup for SP605 FMC Si570 Programming Unzip the SP605 FMC Si570 Programming Design Files (13.4 CES) to your C:\ drive – Available through http://www.xilinx.com/sp605 Note: Presentation applies to the SP605...
  • Page 20 SP605 FMC Si570 Programming Attach your FMC board (XM101 or XM105) to the FMC LPC expansion port on the SP605 – Turn SP605 power off while installing the FMC boards...
  • Page 21 SP605 FMC Si570 Programming Open ChipScope Pro and select JTAG Chain -> Xilinx Platform USB Cable… (1) Verify 12 MHz operation and click OK (2) Note: Presentation applies to the SP605...
  • Page 22 SP605 FMC Si570 Programming Click OK (1) Note: Presentation applies to the SP605...
  • Page 23 SP605 FMC Si570 Programming Right-click DEV:0 MyDevice0 (XC6SLX45T) and select Configure… – Select a bitstream that matches your FMC Board; e.g. xm101_lpc.bit or xm105_lpc.bit – Select <Design Path>\ready_for_download\<bitstream> Note: Presentation applies to the SP605...
  • Page 24 SP605 FMC Si570 Programming Select File → Open Project… Select <Design Path>\ready_for_download\ sp605_fmc_si570_programming.cpj Note: Presentation applies to the SP605...
  • Page 25 SP605 FMC Si570 Programming The VIO Console will now show 200 MHz for the system clock, and 27 MHz for the User Clock An XM101 board on the FMC LPC port shows 156.25 MHz on FMC_LPC_CLK0 Note: Presentation applies to the SP605...
  • Page 26 SP605 FMC Si570 Programming For this example, Si570_0 will be reprogrammed from 156.25 to 200 – This requires use of the SiLabs Programmable Oscillator Calculator To use the SiLabs calculator, the correct fXTAL value for each Si570 must be determined, using this equation: For this equation, –...
  • Page 27 SP605 FMC Si570 Programming The terminal window shows the current register settings for the Si570 – The power-on values will appear in the terminal window – Note the value of 0x01C2BBC76403 Note: The values reported by your Si570 may differ from those shown...
  • Page 28 SP605 FMC Si570 Programming The value, 0x01C2BBC76403, corresponds to the contents of the Si570’s registers, 7 to 12: Note: Presentation applies to the SP605...
  • Page 29 SP605 FMC Si570 Programming Extract the HS_DIV and N1 values from 0x01C2BBC76403: HS_DIV = 0b000 which corresponds to “4” N1 = 0b0000111 which corresponds to “8”...
  • Page 30 SP605 FMC Si570 Programming Extract the RFREQ value from 0x01C2BBC76403: – 02BBC76403 Note: Presentation applies to the SP605...
  • Page 31 SP605 FMC Si570 Programming Open the Window Calculator Set to Scientific and Hex mode: Note: Presentation applies to the SP605...
  • Page 32 SP605 FMC Si570 Programming Enter or paste the RFREQ value, 02BBC76403: Convert it to Decimal Note: Presentation applies to the SP605...
  • Page 33 SP605 FMC Si570 Programming Divide by 2^28 This is the value for RFREQ: Note: Presentation applies to the SP605...
  • Page 34 SP605 FMC Si570 Programming For this equation, – Fout = 156.25 – RFREQ = 43.7361793629825115203857421875 – HSDIV = 4 – N1 = 8 – Fout x HSDIV x N1 = 5000 – fXTAL = 5000 / RFREQ Note: Presentation applies to the SP605...
  • Page 35 SP605 FMC Si570 Programming For this equation, – Divide 43.7361793629825115203857421875 by 5000 – Take the reciprocal – fXTAL = 114.32182858276612457216555570119 – Ctrl-C to copy this value Note: Presentation applies to the SP605...
  • Page 36 SP605 FMC Si570 Programming Open the SiLabs Programmable Oscillator Calculator – Select the Si570 and click OK Note: Presentation applies to the SP605...
  • Page 37 SP605 FMC Si570 Programming Select Options -> Advanced…...
  • Page 38 SP605 FMC Si570 Programming Paste in the value of fXTAL – The calculator will round the number appropriately – Click OK Note: Presentation applies to the SP605...
  • Page 39 SP605 FMC Si570 Programming Enter 156.25 and click the Apply Definition button...
  • Page 40 SP605 FMC Si570 Programming Set the new frequency to 200 MHz and click the Create Example button...
  • Page 41 SP605 FMC Si570 Programming Under the summary tab, the new register configurations are shown The startup register configurations will vary slightly from the actual device power-on programming Note: Presentation applies to the SP605...
  • Page 42 SP605 FMC Si570 Programming Press a key to begin entering the newly calculated values When done, press “w” Note: Presentation applies to the SP605...
  • Page 43 SP605 FMC Si570 Programming FMC Si570 has been successfully updated Note: Presentation applies to the SP605...
  • Page 44 SP605 FMC Si570 Programming The XM101 board on the SP605 FMC LPC now shows 200 MHz Note: Presentation applies to the SP605...
  • Page 45 SP605 with FMC XM Boards...
  • Page 46 SP605 with FMC XM Boards SP605 with XM101 on the FMC LPC port Note: Presentation applies to the SP605...
  • Page 47 SP605 with FMC XM Boards SP605 with XM104 on the FMC LPC port – Note: There is no connection to the FMC GBT1 clock on the FMC LPC port Note: Presentation applies to the SP605...
  • Page 48 SP605 with FMC XM Boards SP605 with XM105 on the FMC LPC port Note: Presentation applies to the SP605...
  • Page 49 SP605 FMC Si570 Fixed Frequency...
  • Page 50 SP605 FMC Si570 Fixed Frequency Overview Description – The FMC modules, XM101 and XM105 have a Silicon Labs Si570 Programmable Oscillator that defaults to 156.25 MHz. Via a series of bitstreams, the frequency of this device can be changed. This tutorial shows how to change the output frequency of these devices.
  • Page 51 SP605 FMC Si570 Fixed Frequency Attach your FMC board (XM101 or XM105) to the FMC LPC expansion port on the SP605 – Turn SP605 power off while installing the FMC boards...
  • Page 52 SP605 FMC Si570 Fixed Frequency Open ChipScope Pro and select JTAG Chain -> Xilinx Platform USB Cable… (1) Verify 12 MHz operation and click OK (2) Note: Presentation applies to the SP605...
  • Page 53 SP605 FMC Si570 Fixed Frequency Click OK (1) Note: Presentation applies to the SP605...
  • Page 54 SP605 FMC Si570 Fixed Frequency Right-click DEV:0 MyDevice0 (XC6SLX45T) and select Configure… – Select fmc_frequency_monitor.bit Note: Presentation applies to the SP605...
  • Page 55 SP605 FMC Si570 Fixed Frequency Select File → Open Project… Select <Design Path>\ready_for_download\ sp605_fmc_si570_programming.cpj Note: Presentation applies to the SP605...
  • Page 56 SP605 FMC Si570 Fixed Frequency The VIO Console will now show 200 MHz for the system clock, and 27 MHz for the User Clock An XM101 board on the FMC LPC port shows 156.25 MHz on FMC_LPC_CLK0 Note: Presentation applies to the SP605...
  • Page 57 SP605 FMC Si570 Fixed Frequency Right-click DEV:0 MyDevice0 (XC6SLX45T) and select Configure… – Select a bitstream that matches your FMC port / FMC Board configuration; e.g. set_19.440_mhz_si570_lpc_xm101.bit, etc. – Select <Design Path>\ready_for_download\<bitstream> Note: Presentation applies to the SP605...
  • Page 58 Changing FMC Si570 from 156.25 to 19.440 MHz Si570_0 has been successfully updated to 19.440 MHz Note: Presentation applies to the SP605...
  • Page 59 SP605 FMC Si570 Fixed Frequency The XM101 board on the FMC LPC port now shows ~19.440 MHz Note: Presentation applies to the SP605...
  • Page 60 Other Fixed Frequencies The fixed frequency bitstreams include: – 19.440 MHz for OC-48 – 77.760 MHz for OC-48 – 155.520 MHz for OC-48 – 156.250 MHz for 100Gbe/66 – 161.133 MHz for 100Gbe/64 – 166.629 MHz for OTU-1 – 174.703 MHz for OTU-4/64 –...
  • Page 61 References...
  • Page 62 References FMC XM101 Documentation – FMC XM101 LVDS QSE Mezzanine Card • http://www.xilinx.com/products/boards-and-kits/HW-FMC-XM101-G.htm – FMC XM101 LVDS QSE Mezzanine Card User Guide • http://www.xilinx.com/support/documentation/boards_and_kits/ug538.pdf FMC XM104 Documentation – FMC XM104 Connectivity Card • http://www.xilinx.com/products/boards-and-kits/HW-FMC-XM104-G.htm – FMC XM104 Connectivity Card User Guide •...
  • Page 63 References Silicon Labs – Si570 Data Sheet • http://www.silabs.com/Support%20Documents/TechnicalDocs/si570.pdf ChipScope Pro – ChipScope Pro Software and Cores User Guide • http://www.xilinx.com/support/documentation/sw_manuals/ xilinx13_4/chipscope_pro_sw_cores_ug029.pdf...
  • Page 64 Documentation...
  • Page 65 Documentation Spartan-6 – Spartan-6 FPGA Family • http://www.xilinx.com/products/silicon-devices/fpga/spartan-6/index.htm SP605 Documentation – Spartan-6 FPGA SP605 Evaluation Kit • http://www.xilinx.com/products/boards-and-kits/EK-S6-SP605-G.htm – SP605 Getting Started Guide • http://www.xilinx.com/support/documentation/boards_and_kits/ug525.pdf – SP605 Hardware User Guide • http://www.xilinx.com/support/documentation/boards_and_kits/ug526.pdf – SP605 Reference Design User Guide • http://www.xilinx.com/support/documentation/boards_and_kits/ug527.pdf...