Differences
This shows you the differences between two versions of the page.
| programmable-logic:pynq-z1:reference-manual [2021/05/14 16:04] – ↷ Page moved from reference:programmable-logic:pynq-z1:reference-manual to programmable-logic:pynq-z1:reference-manual Arthur Brown | programmable-logic:pynq-z1:reference-manual [2022/10/04 04:38] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 107: | Line 107: | ||
| The PS consists of many components, including the Application Processing Unit (APU, which includes 2 Cortex-A9 processors), | The PS consists of many components, including the Application Processing Unit (APU, which includes 2 Cortex-A9 processors), | ||
| - | There are many aspects of the Zynq APSoC architecture that are beyond the scope of this document. For a complete and thorough description, | + | There are many aspects of the Zynq APSoC architecture that are beyond the scope of this document. For a complete and thorough description, |
| - | Table 2.1 depicts the external components connected to the MIO pins of the PYNQ-Z1. The Zynq Presets File found on the [[reference:programmable-logic: | + | Table 2.1 depicts the external components connected to the MIO pins of the PYNQ-Z1. The Zynq Presets File found on the [[programmable-logic: |
| | **MIO 500 3.3 V** | **Peripherals** | | **MIO 500 3.3 V** | **Peripherals** | ||
| Line 197: | Line 197: | ||
| **Stage 2** | **Stage 2** | ||
| - | The last stage is the execution of the user application that was loaded by the FSBL. This can be any sort of program, from a simple “Hello World” design, to a Second Stage Boot loader used to boot an operating system like Linux. For a more thorough explanation of the boot process, refer to Chapter 6 of the [[http://www.xilinx.com/ | + | The last stage is the execution of the user application that was loaded by the FSBL. This can be any sort of program, from a simple “Hello World” design, to a Second Stage Boot loader used to boot an operating system like Linux. For a more thorough explanation of the boot process, refer to Chapter 6 of the [[https://docs.xilinx.com/ |
| Line 204: | Line 204: | ||
| The PYNQ-Z1 supports three different boot modes: microSD, Quad SPI Flash, and JTAG. The boot mode is selected using the Mode jumper (JP4), which affects the state of the Zynq configuration pins after power-on. Figure 3.1 depicts how the Zynq configuration pins are connected on the PYNQ-Z1. | The PYNQ-Z1 supports three different boot modes: microSD, Quad SPI Flash, and JTAG. The boot mode is selected using the Mode jumper (JP4), which affects the state of the Zynq configuration pins after power-on. Figure 3.1 depicts how the Zynq configuration pins are connected on the PYNQ-Z1. | ||
| - | {{ pynq-z1-config.png? | + | {{ reference: |
| //Figure 3.1. PYNQ-Z1 configuration pins.// | //Figure 3.1. PYNQ-Z1 configuration pins.// | ||
| Line 251: | Line 251: | ||
| * Powered from 3.3V | * Powered from 3.3V | ||
| - | The SPI Flash connects to the Zynq-7000 APSoC and supports the Quad SPI interface. This requires connection to specific pins in MIO Bank 0/500, specifically MIO[1:6,8] as outlined in the Zynq datasheet. Quad-SPI feedback mode is used, thus qspi_sclk_fb_out/ | + | The SPI Flash connects to the Zynq-7000 APSoC and supports the Quad SPI interface. This requires connection to specific pins in MIO Bank 0/500, specifically MIO[1:6,8] as outlined in the Zynq datasheet. Quad-SPI feedback mode is used, thus qspi_sclk_fb_out/ |
| ---- | ---- | ||
| Line 267: | Line 267: | ||
| Both the memory chips and the PS DDR bank are powered from the 1.5V supply. The mid-point reference of 0.75V is created with a simple resistor divider and is available to the Zynq as external reference. | Both the memory chips and the PS DDR bank are powered from the 1.5V supply. The mid-point reference of 0.75V is created with a simple resistor divider and is available to the Zynq as external reference. | ||
| - | For proper operation it is essential that the PS memory controller is configured properly. Settings range from the actual memory flavor to the board trace delays. For your convenience, | + | For proper operation it is essential that the PS memory controller is configured properly. Settings range from the actual memory flavor to the board trace delays. For your convenience, |
| For best DDR3 performance, | For best DDR3 performance, | ||
| Line 273: | Line 273: | ||
| Board delays are specified for each of the byte groups. These parameters are board-specific and were calculated from the PCB trace length reports. The DQS to CLK Delay and Board Delay values are calculated specific to the PYNQ-Z1 memory interface PCB design. | Board delays are specified for each of the byte groups. These parameters are board-specific and were calculated from the PCB trace length reports. The DQS to CLK Delay and Board Delay values are calculated specific to the PYNQ-Z1 memory interface PCB design. | ||
| - | For more details on memory controller operation, refer to the Xilinx [[http://www.xilinx.com/ | + | For more details on memory controller operation, refer to the Xilinx [[https://docs.xilinx.com/ |
| ¹Maximum actual clock frequency is 525 MHz on the PYNQ-Z1 due to PLL limitation. | ¹Maximum actual clock frequency is 525 MHz on the PYNQ-Z1 due to PLL limitation. | ||
| Line 283: | Line 283: | ||
| The PYNQ-Z1 includes an FTDI FT2232HQ USB-UART bridge (attached to connector J14) that lets you use PC applications to communicate with the board using standard COM port commands (or the tty interface in Linux). Drivers are automatically installed in Windows and newer versions of Linux. Serial port data is exchanged with the Zynq using a two-wire serial port (TXD/RXD). After the drivers are installed, I/O commands can be used from the PC directed to the COM port to produce serial data traffic on the Zynq pins. The port is tied to PS (MIO) pins and can be used in combination with the UART 0 controller. | The PYNQ-Z1 includes an FTDI FT2232HQ USB-UART bridge (attached to connector J14) that lets you use PC applications to communicate with the board using standard COM port commands (or the tty interface in Linux). Drivers are automatically installed in Windows and newer versions of Linux. Serial port data is exchanged with the Zynq using a two-wire serial port (TXD/RXD). After the drivers are installed, I/O commands can be used from the PC directed to the COM port to produce serial data traffic on the Zynq pins. The port is tied to PS (MIO) pins and can be used in combination with the UART 0 controller. | ||
| - | The Zynq presets file (available in the [[reference:programmable-logic: | + | The Zynq presets file (available in the [[programmable-logic: |
| Two on-board status LEDs provide visual feedback on traffic flowing through the port: the transmit LED (LD11) and the receive LED (LD10). Signal names that imply direction are from the point-of-view of the DTE (Data Terminal Equipment), in this case the PC. | Two on-board status LEDs provide visual feedback on traffic flowing through the port: the transmit LED (LD11) and the receive LED (LD10). Signal names that imply direction are from the point-of-view of the DTE (Data Terminal Equipment), in this case the PC. | ||
| Line 295: | Line 295: | ||
| ====== 7 microSD Slot ====== | ====== 7 microSD Slot ====== | ||
| - | The PYNQ-Z1 provides a microSD slot (J9) for non-volatile external memory storage as well as booting the Zynq. The slot is wired to Bank 1/501 MIO[40-47], including Card Detect. On the PS side peripheral SDIO 0 is mapped out to these pins and controls communication with the SD card. The pinout can be seen in Table 7.1. The peripheral controller supports 1-bit and 4-bit SD transfer modes, but does not support SPI mode. Based on the [[http://www.xilinx.com/ | + | The PYNQ-Z1 provides a microSD slot (J9) for non-volatile external memory storage as well as booting the Zynq. The slot is wired to Bank 1/501 MIO[40-47], including Card Detect. On the PS side peripheral SDIO 0 is mapped out to these pins and controls communication with the SD card. The pinout can be seen in Table 7.1. The peripheral controller supports 1-bit and 4-bit SD transfer modes, but does not support SPI mode. Based on the [[https://docs.xilinx.com/ |
| | **Signal Name** | | **Signal Name** | ||
| Line 308: | Line 308: | ||
| //Table 7.1. microSD pinout// | //Table 7.1. microSD pinout// | ||
| - | The SD slot is a powered from 3.3V, but is connected through MIO Bank 1/501 (1.8V). Therefore, a TI TXS02612 level shifter performs this translation. The TXS02612 is actually 2-port SDIO port expander, but only its level shifter function is used. The connection diagram can be seen on Figure 7.1. Mapping out the correct pins and configuring the interface is handled by the PYNQ-Z1 Zynq presets file, available on the [[reference:programmable-logic: | + | The SD slot is a powered from 3.3V, but is connected through MIO Bank 1/501 (1.8V). Therefore, a TI TXS02612 level shifter performs this translation. The TXS02612 is actually 2-port SDIO port expander, but only its level shifter function is used. The connection diagram can be seen on Figure 7.1. Mapping out the correct pins and configuring the interface is handled by the PYNQ-Z1 Zynq presets file, available on the [[programmable-logic: |
| - | {{ pynq-z1-microsd.png? | + | {{ reference: |
| //Figure 7.1. microSD slot signals// | //Figure 7.1. microSD slot signals// | ||
| Line 316: | Line 316: | ||
| Both low speed and high speed cards are supported, the maximum clock frequency being 50 MHz. A Class 4 card or better is recommended. | Both low speed and high speed cards are supported, the maximum clock frequency being 50 MHz. A Class 4 card or better is recommended. | ||
| - | Refer to section 3.1 for information on how to boot from an SD card. For more information, | + | Refer to section 3.1 for information on how to boot from an SD card. For more information, |
| ---- | ---- | ||
| Line 334: | Line 334: | ||
| The PYNQ-Z1 uses a Realtek RTL8211E-VL PHY to implement a 10/100/1000 Ethernet port for network connection. The PHY connects to MIO Bank 501 (1.8V) and interfaces to the Zynq-7000 APSoC via RGMII for data and MDIO for management. The auxiliary interrupt (INTB) and reset (PHYRSTB) signals connect to MIO pins MIO10 and MIO9, respectively. | The PYNQ-Z1 uses a Realtek RTL8211E-VL PHY to implement a 10/100/1000 Ethernet port for network connection. The PHY connects to MIO Bank 501 (1.8V) and interfaces to the Zynq-7000 APSoC via RGMII for data and MDIO for management. The auxiliary interrupt (INTB) and reset (PHYRSTB) signals connect to MIO pins MIO10 and MIO9, respectively. | ||
| - | {{ pynq-z1-eth.png? | + | {{ reference: |
| //Figure 9.1. Ethernet PHY signals// | //Figure 9.1. Ethernet PHY signals// | ||
| Line 350: | Line 350: | ||
| //Table 9.1. Ethernet status LEDs.// | //Table 9.1. Ethernet status LEDs.// | ||
| - | The Zynq incorporates two independent Gigabit Ethernet Controllers. They implement a 10/100/1000 half/full duplex Ethernet MAC. Of these two, GEM 0 can be mapped to the MIO pins where the PHY is connected. Since the MIO bank is powered from 1.8V, the RGMII interface uses 1.8V HSTL Class 1 drivers. For this I/O standard an external reference of 0.9V is provided in bank 501 (PS_MIO_VREF). Mapping out the correct pins and configuring the interface is handled by the PYNQ-Z1 Zynq Presets file, available on the [[reference:programmable-logic: | + | The Zynq incorporates two independent Gigabit Ethernet Controllers. They implement a 10/100/1000 half/full duplex Ethernet MAC. Of these two, GEM 0 can be mapped to the MIO pins where the PHY is connected. Since the MIO bank is powered from 1.8V, the RGMII interface uses 1.8V HSTL Class 1 drivers. For this I/O standard an external reference of 0.9V is provided in bank 501 (PS_MIO_VREF). Mapping out the correct pins and configuring the interface is handled by the PYNQ-Z1 Zynq Presets file, available on the [[programmable-logic: |
| Although the default power-up configuration of the PHY might be enough in most applications, | Although the default power-up configuration of the PHY might be enough in most applications, | ||
| Line 360: | Line 360: | ||
| On an Ethernet network each node needs a unique MAC address. To this end, the one-time-programmable (OTP) region of the Quad-SPI flash has been programmed at the factory with a 48-bit globally unique EUI-48/ | On an Ethernet network each node needs a unique MAC address. To this end, the one-time-programmable (OTP) region of the Quad-SPI flash has been programmed at the factory with a 48-bit globally unique EUI-48/ | ||
| - | For more information on using the Gigabit Ethernet MAC, refer to the [[http://www.xilinx.com/ | + | For more information on using the Gigabit Ethernet MAC, refer to the [[https://docs.xilinx.com/ |
| Line 404: | Line 404: | ||
| ====== 11 Clock Sources ====== | ====== 11 Clock Sources ====== | ||
| - | The PYNQ-Z1 provides a 50 MHz clock to the Zynq PS_CLK input, which is used to generate the clocks for each of the PS subsystems. The 50 MHz input allows the processor to operate at a maximum frequency of 650 MHz and the DDR3 memory controller to operate at a maximum of 525 MHz (1050 Mbps). The PYNQ-Z1 Zynq Presets file available on the [[reference:programmable-logic: | + | The PYNQ-Z1 provides a 50 MHz clock to the Zynq PS_CLK input, which is used to generate the clocks for each of the PS subsystems. The 50 MHz input allows the processor to operate at a maximum frequency of 650 MHz and the DDR3 memory controller to operate at a maximum of 525 MHz (1050 Mbps). The PYNQ-Z1 Zynq Presets file available on the [[programmable-logic: |
| The PS has a dedicated PLL capable of generating up to four reference clocks, each with settable frequencies, | The PS has a dedicated PLL capable of generating up to four reference clocks, each with settable frequencies, | ||
| Line 412: | Line 412: | ||
| Figure 11.1 outlines the clocking scheme used on the PYNQ-Z1. Note that the reference clock output from the Ethernet PHY is used as the 125 MHz reference clock to the PL, in order to cut the cost of including a dedicated oscillator for this purpose. Keep in mind that CLK125 will be disabled when the Ethernet PHY (IC1) is held in hardware reset by driving the PHYRSTB signal low. | Figure 11.1 outlines the clocking scheme used on the PYNQ-Z1. Note that the reference clock output from the Ethernet PHY is used as the 125 MHz reference clock to the PL, in order to cut the cost of including a dedicated oscillator for this purpose. Keep in mind that CLK125 will be disabled when the Ethernet PHY (IC1) is held in hardware reset by driving the PHYRSTB signal low. | ||
| - | {{ pynq-z1-clocking.png? | + | {{ reference: |
| //Figure 11.1. PYNQ-Z1 clocking.// | //Figure 11.1. PYNQ-Z1 clocking.// | ||
| Line 422: | Line 422: | ||
| The PYNQ-Z1 board includes two tri-color LEDs, 2 switches, 4 push buttons, and 4 individual LEDs as shown in Figure 12.1. The push buttons and slide switches are connected to the Zynq PL via series resistors to prevent damage from inadvertent short circuits (a short circuit could occur if an FPGA pin assigned to a push button or slide switch was inadvertently defined as an output). The four push buttons are " | The PYNQ-Z1 board includes two tri-color LEDs, 2 switches, 4 push buttons, and 4 individual LEDs as shown in Figure 12.1. The push buttons and slide switches are connected to the Zynq PL via series resistors to prevent damage from inadvertent short circuits (a short circuit could occur if an FPGA pin assigned to a push button or slide switch was inadvertently defined as an output). The four push buttons are " | ||
| - | {{ pynq-z1-gpio.png? | + | {{ reference: |
| //Figure 12.1. PYNQ-Z1 GPIO.// | //Figure 12.1. PYNQ-Z1 GPIO.// | ||
| Line 440: | Line 440: | ||
| The PYNQ-Z1 includes an omnidirectional MEMS microphone. The microphone uses a Knowles SPK0833LM4H-B chip which has a high signal to noise ratio (SNR) of 63dBA and high sensitivity of -26 dBFS. The digitized audio is output in the pulse density modulated (PDM) format. The component architecture is shown in Figure 13.1. | The PYNQ-Z1 includes an omnidirectional MEMS microphone. The microphone uses a Knowles SPK0833LM4H-B chip which has a high signal to noise ratio (SNR) of 63dBA and high sensitivity of -26 dBFS. The digitized audio is output in the pulse density modulated (PDM) format. The component architecture is shown in Figure 13.1. | ||
| - | {{ pynq-z1-mic.png? | + | {{ reference: |
| //Figure 13.1. Microphone Pinout.// | //Figure 13.1. Microphone Pinout.// | ||
| Line 448: | Line 448: | ||
| PDM data connections are becoming more and more popular in portable audio applications, | PDM data connections are becoming more and more popular in portable audio applications, | ||
| - | {{ pynq-z1-mic-pdm.png? | + | {{ reference: |
| //Figure 13.1.1. PDM Sine Wave./// | //Figure 13.1.1. PDM Sine Wave./// | ||
| Line 454: | Line 454: | ||
| A PDM signal is generated from an analog signal through a process called delta-sigma modulation. A simple idealized circuit of delta-sigma modulator is shown in Figure 13.1.2. | A PDM signal is generated from an analog signal through a process called delta-sigma modulation. A simple idealized circuit of delta-sigma modulator is shown in Figure 13.1.2. | ||
| - | {{ pynq-z1-mic-delta-sigma.png? | + | {{ reference: |
| //Figure 13.1.2. PDM Delta-Sigma Modulator.// | //Figure 13.1.2. PDM Delta-Sigma Modulator.// | ||
| Line 479: | Line 479: | ||
| The clock input of the microphone can range from 1 MHz to 3.3 MHz based on the sampling rate and data precision requirement of the applications. The L/R Select signal must be set to a valid level, depending on which edge of the clock the data bit will be read. A low level on L/RSEL makes data available on the rising edge of the clock, while a high level corresponds to the falling edge of the clock, as shown in Figure 13.2.1. Note that on the PYNQ-Z1, the L/RSEL signal is permanently tied low, so data is always made available on the rising edge (as seen with the DATA 1 signal in Figure 13.2.1). | The clock input of the microphone can range from 1 MHz to 3.3 MHz based on the sampling rate and data precision requirement of the applications. The L/R Select signal must be set to a valid level, depending on which edge of the clock the data bit will be read. A low level on L/RSEL makes data available on the rising edge of the clock, while a high level corresponds to the falling edge of the clock, as shown in Figure 13.2.1. Note that on the PYNQ-Z1, the L/RSEL signal is permanently tied low, so data is always made available on the rising edge (as seen with the DATA 1 signal in Figure 13.2.1). | ||
| - | {{ pynq-z1-mic-signal.png? | + | {{ reference: |
| //Figure 13.2.1. Microphone Signal Timing.// | //Figure 13.2.1. Microphone Signal Timing.// | ||
| Line 485: | Line 485: | ||
| The typical value of the clock frequency is 2.4 MHz. Assuming that the application requires 7-bit precision and 24 KHz, there can be two counters that count 128 samples at 12 KHz, as shown in Figure 13.2.2. | The typical value of the clock frequency is 2.4 MHz. Assuming that the application requires 7-bit precision and 24 KHz, there can be two counters that count 128 samples at 12 KHz, as shown in Figure 13.2.2. | ||
| - | {{ pynq-z1-mic-pdm-count.png? | + | {{ reference: |
| //Figure 13.2.2. Example PDM Circuit.// | //Figure 13.2.2. Example PDM Circuit.// | ||
| Line 495: | Line 495: | ||
| The on-board audio jack (J13) is driven by a Sallen-Key Butterworth Low-pass 4th Order Filter that provides mono audio output. The circuit of the low-pass filter is shown in Figure 14.1. The input of the filter (AUD_PWM) is connected to the Zynq PL pin R18. A digital input will typically be a pulse-width modulated (PWM) or pulse density modulated (PDM) open-drain signal produced by the FPGA. The signal needs to be driven low for logic ‘0’ and left in high-impedance for logic ‘1’. An on-board pull-up resistor to a clean analog 3.3V rail will establish the proper voltage for logic ‘1’. The low-pass filter on the input will act as a reconstruction filter to convert the pulse-width modulated digital signal into an analog voltage on the audio jack output. | The on-board audio jack (J13) is driven by a Sallen-Key Butterworth Low-pass 4th Order Filter that provides mono audio output. The circuit of the low-pass filter is shown in Figure 14.1. The input of the filter (AUD_PWM) is connected to the Zynq PL pin R18. A digital input will typically be a pulse-width modulated (PWM) or pulse density modulated (PDM) open-drain signal produced by the FPGA. The signal needs to be driven low for logic ‘0’ and left in high-impedance for logic ‘1’. An on-board pull-up resistor to a clean analog 3.3V rail will establish the proper voltage for logic ‘1’. The low-pass filter on the input will act as a reconstruction filter to convert the pulse-width modulated digital signal into an analog voltage on the audio jack output. | ||
| - | {{ pynq-z1-audio-sch.png? | + | {{ reference: |
| //Figure 14.1. Audio Output Circuit.// | //Figure 14.1. Audio Output Circuit.// | ||
| Line 503: | Line 503: | ||
| The frequency response of SK Butterworth Low-Pass Filter is shown in Figure 14.2. The AC analysis of the circuit is done using NI Multisim 12.0. | The frequency response of SK Butterworth Low-Pass Filter is shown in Figure 14.2. The AC analysis of the circuit is done using NI Multisim 12.0. | ||
| - | {{ pynq-z1-audio-chart-nolabel.png? | + | {{ reference: |
| //Figure 14.2. Audio Output Frequency Response.// | //Figure 14.2. Audio Output Frequency Response.// | ||
| Line 512: | Line 512: | ||
| A pulse-width modulated (PWM) signal is a chain of pulses at some fixed frequency, with each pulse potentially having a different width. This digital signal can be passed through a simple low-pass filter that integrates the digital waveform to produce an analog voltage proportional to the average pulse-width over some interval (the interval is determined by the 3dB cut-off frequency of the low-pass filter and the pulse frequency). For example, if the pulses are high for an average of 10% of the available pulse period, then an integrator will produce an analog value that is 10% of the Vdd voltage. Figure 14.1.1 shows a waveform represented as a PWM signal. | A pulse-width modulated (PWM) signal is a chain of pulses at some fixed frequency, with each pulse potentially having a different width. This digital signal can be passed through a simple low-pass filter that integrates the digital waveform to produce an analog voltage proportional to the average pulse-width over some interval (the interval is determined by the 3dB cut-off frequency of the low-pass filter and the pulse frequency). For example, if the pulses are high for an average of 10% of the available pulse period, then an integrator will produce an analog value that is 10% of the Vdd voltage. Figure 14.1.1 shows a waveform represented as a PWM signal. | ||
| - | {{ pynq-z1-audio-pdm.png? | + | {{ reference: |
| //Figure 14.1.1. PWM Waveform.// | //Figure 14.1.1. PWM Waveform.// | ||
| Line 518: | Line 518: | ||
| The PWM signal must be integrated to define an analog voltage. The low-pass filter 3dB frequency should be an order of magnitude lower than the PWM frequency, so that signal energy at the PWM frequency is filtered from the signal. For example, if an audio signal must contain up to 5 KHz of frequency information, | The PWM signal must be integrated to define an analog voltage. The low-pass filter 3dB frequency should be an order of magnitude lower than the PWM frequency, so that signal energy at the PWM frequency is filtered from the signal. For example, if an audio signal must contain up to 5 KHz of frequency information, | ||
| - | {{ pynq-z1-audio-pwm.png? | + | {{ reference: |
| //Figure 14.1.2. PWM Output Voltage.// | //Figure 14.1.2. PWM Output Voltage.// | ||
| Line 526: | Line 526: | ||
| ====== 15 Reset Sources ====== | ====== 15 Reset Sources ====== | ||
| - | ==== 15.1 Power-on Reset ==== | + | ==== 15.1 Power-on Reset Signals |
| The Zynq PS supports external power-on reset signals. The power-on reset is the master reset of the entire chip. This signal resets every register in the device capable of being reset. The PYNQ-Z1 drives this signal from the PGOOD signal of the TPS65400 power regulator in order to hold the system in reset until all power supplies are valid. | The Zynq PS supports external power-on reset signals. The power-on reset is the master reset of the entire chip. This signal resets every register in the device capable of being reset. The PYNQ-Z1 drives this signal from the PGOOD signal of the TPS65400 power regulator in order to hold the system in reset until all power supplies are valid. | ||
| Line 548: | Line 548: | ||
| **Warning: | **Warning: | ||
| - | {{ pynq-z1-pmod.png? | + | {{ reference: |
| //Figure 16.1. Pmod Port Diagram// | //Figure 16.1. Pmod Port Diagram// | ||
| Line 573: | Line 573: | ||
| **Note: The PYNQ-Z1 is not compatible with shields that output 5V digital or analog signals. Driving pins on the PYNQ-Z1 shield connector above 3.4V may cause damage to the Zynq.** | **Note: The PYNQ-Z1 is not compatible with shields that output 5V digital or analog signals. Driving pins on the PYNQ-Z1 shield connector above 3.4V may cause damage to the Zynq.** | ||
| - | {{ pynq-z1-shield.png? | + | {{ reference: |
| //Figure 17.1. Shield Pin Diagram.// | //Figure 17.1. Shield Pin Diagram.// | ||
| Line 611: | Line 611: | ||
| //Table 17.1.1. Shield Digital Voltages.// | //Table 17.1.1. Shield Digital Voltages.// | ||
| - | For more information on the electrical characteristics of the pins connected to the Zynq PL, please see the [[http://www.xilinx.com/ | + | For more information on the electrical characteristics of the pins connected to the Zynq PL, please see the [[https://docs.xilinx.com/ |
| ==== 17.2 Shield Analog I/O ==== | ==== 17.2 Shield Analog I/O ==== | ||
| Line 617: | Line 617: | ||
| The pins labeled A0-A11 and V_P/V_N are used as analog inputs to the XADC module of the Zynq. The Zynq expects that the inputs range from 0-1 V. On the pins labeled A0-A5 we use an external circuit to scale down the input voltage from 3.3V. This circuit is shown in Figure 17.2.1. This circuit allows the XADC module to accurately measure any voltage between 0V and 3.3V (relative to the PYNQ-Z1' | The pins labeled A0-A11 and V_P/V_N are used as analog inputs to the XADC module of the Zynq. The Zynq expects that the inputs range from 0-1 V. On the pins labeled A0-A5 we use an external circuit to scale down the input voltage from 3.3V. This circuit is shown in Figure 17.2.1. This circuit allows the XADC module to accurately measure any voltage between 0V and 3.3V (relative to the PYNQ-Z1' | ||
| - | {{ pynq-z1-shield-an.png? | + | {{ reference: |
| //Figure 17.2.1. Single-Ended Analog Inputs.// | //Figure 17.2.1. Single-Ended Analog Inputs.// | ||
| Line 625: | Line 625: | ||
| The pins labeled V_P and V_N are connected to the VP_0 and VN_0 dedicated analog inputs of the FPGA. This pair of pins can also be used as a differential analog input with voltage between 0-1V, but they cannot be used as Digital I/O. The capacitor in the circuit shown in Figure 17.2.2 for this pair of pins is loaded on the PYNQ-Z1. | The pins labeled V_P and V_N are connected to the VP_0 and VN_0 dedicated analog inputs of the FPGA. This pair of pins can also be used as a differential analog input with voltage between 0-1V, but they cannot be used as Digital I/O. The capacitor in the circuit shown in Figure 17.2.2 for this pair of pins is loaded on the PYNQ-Z1. | ||
| - | {{ pynq-z1-shield-diff-an.png? | + | {{ reference: |
| //Figure 17.2.2. Differential Analog Inputs.// | //Figure 17.2.2. Differential Analog Inputs.// | ||
| - | The XADC core within the Zynq is a dual channel 12-bit analog-to-digital converter capable of operating at 1 MSPS. Either channel can be driven by any of the analog inputs connected to the shield pins. The XADC core is controlled and accessed from a user design via the Dynamic Reconfiguration Port (DRP). The DRP also provides access to voltage monitors that are present on each of the FPGA’s power rails, and a temperature sensor that is internal to the FPGA. For more information on using the XADC core, refer to the Xilinx document titled "7 Series FPGAs and Zynq-7000 All Programmable SoC XADC Dual 12-Bit 1 MSPS Analog-to-Digital Converter" | + | The XADC core within the Zynq is a dual channel 12-bit analog-to-digital converter capable of operating at 1 MSPS. Either channel can be driven by any of the analog inputs connected to the shield pins. The XADC core is controlled and accessed from a user design via the Dynamic Reconfiguration Port (DRP). The DRP also provides access to voltage monitors that are present on each of the FPGA’s power rails, and a temperature sensor that is internal to the FPGA. For more information on using the XADC core, refer to the Xilinx document titled "7 Series FPGAs and Zynq-7000 All Programmable SoC XADC Dual 12-Bit 1 MSPS Analog-to-Digital Converter" |

