This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
resources:eval:user-guides:circuits-from-the-lab:cn0577:hdl [16 Aug 2022 16:22] – Iulia Moldovan | resources:eval:user-guides:circuits-from-the-lab:cn0577:hdl [22 Feb 2023 12:54] (current) – Add Circuit Note page Iulia Moldovan | ||
---|---|---|---|
Line 3: | Line 3: | ||
===== Introduction ===== | ===== Introduction ===== | ||
- | The [[ADI> | + | The [[ADI> |
- | In order to support high speed operations while minimizing the number of data lines, a serial LVDS digital interface is used. It has a one-lane and two-lane output modes, allowing the user to optimize | + | CN0577 includes an on-board reference oscillator |
+ | In order to support high speed operations while minimizing the number of data lines, a serial LVDS digital interface is used. It has a one-lane and two-lane output modes, allowing the user to optimize the interface data rate for each application, | ||
+ | |||
+ | More details about ADI reference designs architecture [[: | ||
===== Evaluation board ===== | ===== Evaluation board ===== | ||
- | * [[ |CN0577 Circuit Note Page]] | + | * [[adi> |
- | * [[ |CN0577 wiki]] | + | * [[adi> |
Line 18: | Line 21: | ||
===== HDL Design Description ===== | ===== HDL Design Description ===== | ||
+ | <note important> | ||
+ | |||
+ | <note important> | ||
+ | |||
+ | The PD and TESTPAT parameters are tied to GPIOs (33 and 32 respectively) so they can be configured by the software. | ||
+ | |||
+ | The conversion starts when a rising edge is detected on the CNV signal. This signal is generated by the [[: | ||
+ | |||
- | <WRAP center round todo 60%> | ||
==== Block Diagram ==== | ==== Block Diagram ==== | ||
+ | {{ : | ||
+ | |||
+ | |||
+ | ==== Parameters ==== | ||
+ | |||
+ | The only parameter that can be changed so far, is '' | ||
+ | |||
+ | By default, it is set to 1 [[repo> | ||
+ | |||
+ | === PL interrupts === | ||
+ | |||
+ | When developing the Linux software parts for an HDL project, the interrupts number to the PS have a different number in the software side. | ||
+ | More details [[: | ||
+ | |||
+ | ^Interr. name ^HDL interr. ^Linux Zynq ^Actual Zynq ^ | ||
+ | | axi_ltc2387_dma | ||
+ | |||
+ | === GPIO signals === | ||
+ | |||
+ | PS7 EMIO offset = 54 | ||
+ | |||
+ | ^GPIO HDL name ^GPIO nb. ^HDL GPIO nb.^ | ||
+ | | pd_cntrl | 87 | 33 | | ||
+ | | testpat_cntrl | 86 | 32 | | ||
+ | |||
+ | |||
+ | ==== I/O Interface ==== | ||
+ | |||
+ | ^ Interface ^ Pin ^ Type ^ Description ^ | ||
+ | | **Core clock** |||| | ||
+ | | | '' | ||
+ | |**LVDS ADC interface** |||| | ||
+ | | | '' | ||
+ | | | '' | ||
+ | | | '' | ||
+ | | | '' | ||
+ | | | '' | ||
+ | | | '' | ||
+ | | | '' | ||
+ | | | '' | ||
+ | | | '' | ||
+ | |||
+ | |||
+ | ==== Clock Architecture ==== | ||
+ | |||
+ | The clock architecture of the CN0577 is designed with careful consideration to ensure low jitter and low phase noise. | ||
+ | |||
+ | An on-board 120 MHz voltage controlled crystal oscillator (VCXO) is used to provide the clock for the CN0577 board and the FPGA. It is further named as '' | ||
+ | |||
+ | The DMA runs on the ZynqPS clock FCLK_CLK0 which has a frequency of 100MHz. | ||
==== Digital Interface ==== | ==== Digital Interface ==== | ||
- | ==== Analog Input ==== | + | The digital interface consists of the following signals: |
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
- | ==== Power ==== | ||
+ | ==== ADC Timing Characteristics ==== | ||
+ | |||
+ | The timing considerations specified in the datasheet of the LTC2387-18 were taken in consideration, | ||
+ | |||
+ | What must be noted, is that the '' | ||
+ | |||
+ | In other words, a virtual clock is created, being a shadow of '' | ||
- | </ | ||
==== Connector and Jumper Configurations ==== | ==== Connector and Jumper Configurations ==== | ||
+ | |||
Depending on what configuration of pins is chosen on the jumpers P1, P2 and P3, the device can act in different modes, as described below. | Depending on what configuration of pins is chosen on the jumpers P1, P2 and P3, the device can act in different modes, as described below. | ||
- | < | + | < |
The PD_N and TESTPAT jumpers must be disconnected because the signals are tied to GPIOs! | The PD_N and TESTPAT jumpers must be disconnected because the signals are tied to GPIOs! | ||
By default, TWOLANES is set to 1 in HDL code! | By default, TWOLANES is set to 1 in HDL code! | ||
Line 39: | Line 115: | ||
//Of course, the PD jumper overrides the PD signal from the FPGA. It is controlled by a one-bit-adc-dac, | //Of course, the PD jumper overrides the PD signal from the FPGA. It is controlled by a one-bit-adc-dac, | ||
- | * P1 - configures PD_N (powerdown signal that is active on 0) | + | * P1 - configures PD_N |
- | * Shorting pins 1 and 2 -> PD_N = 1 (inactive), meaning the device is not powered down | + | * Shorting pins 1 and 2 -> PD_N = 1, device is not powered down |
- | * Shorting pins 2 and 3 -> PD_N = 0 (active), meaning the device is powered down | + | * Shorting pins 2 and 3 -> PD_N = 0, device is powered down |
* P2 - configures TESTPAT | * P2 - configures TESTPAT | ||
- | * Shorting pins 1 and 2 -> TESTPAT = 1, meaning that the pattern testing is active | + | * Shorting pins 1 and 2 -> TESTPAT = 1, pattern testing is active |
- | * Shorting pins 2 and 3 -> TESTPAT = 0, meaning that the pattern testing is inactive | + | * Shorting pins 2 and 3 -> TESTPAT = 0, pattern testing is inactive |
* P3 - configures TWOLANES parameter | * P3 - configures TWOLANES parameter | ||
- | * Shorting pins 1 and 2 -> TWOLANES = 1 (meaning it is active in TWO LANES mode) | + | * Shorting pins 1 and 2 -> TWOLANES = 1 (TWO LANES mode) |
- | * Shorting pins 2 and 3 -> TWOLANES = 0 (meaning it is active in ONE LANE mode) | + | * Shorting pins 2 and 3 -> TWOLANES = 0 (ONE LANE mode) |
- | ==== FMC Connector ==== | ||
The FMC connector connects to the LPC connector of the carrier board. | The FMC connector connects to the LPC connector of the carrier board. | ||
Line 55: | Line 130: | ||
===== Software ===== | ===== Software ===== | ||
- | ==== SD card setup (point to Kuiper wiki page) ==== | + | The software parts for this IP core can be found at: |
- | + | * [[repo> | |
- | ==== IIO_Info ==== | + | * [[repo> |
- | + | ||
- | ==== IIO_Oscilloscope ==== | + | |
===== Resources ===== | ===== Resources ===== | ||
- | * HDL reference design: [[https:// | + | * HDL reference design: [[repo>hdl/ |
- | * Linux sources: | + | * Wiki page for [[: |
* Schematic: [[ |CN0577 schematic]] | * Schematic: [[ |CN0577 schematic]] | ||
+ | * [[: |