Differences
This shows you the differences between two versions of the page.
| programmable-logic:zybo-z7:reference-manual [2022/03/23 17:06] – [10 Ethernet] Update ethernet section for PCN Arthur Brown | programmable-logic:zybo-z7:reference-manual [2022/10/04 04:38] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 111: | Line 111: | ||
| Design resources, example projects, and tutorials are available for download at the [[programmable-logic: | Design resources, example projects, and tutorials are available for download at the [[programmable-logic: | ||
| - | Zynq platforms are well-suited to be embedded Linux targets, and Zybo Z7 is no exception. | + | Zynq platforms are well-suited to be embedded Linux targets, and Zybo Z7 is no exception. |
| The Zybo Z7 can also be used in Xilinx' | The Zybo Z7 can also be used in Xilinx' | ||
| Line 129: | Line 129: | ||
| 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, |
| The table below depicts the external components connected to the MIO pins of the Zybo Z7. The Vivado board files found on the [[programmable-logic: | The table below depicts the external components connected to the MIO pins of the Zybo Z7. The Vivado board files found on the [[programmable-logic: | ||
| Line 202: | Line 202: | ||
| The Zybo Z7 power circuitry was carefully designed to meet the requirements of the Zynq-7000 and all other peripherals while also providing flexible input supply options. An overview of the power circuit is shown in Figure 1.1. | The Zybo Z7 power circuitry was carefully designed to meet the requirements of the Zynq-7000 and all other peripherals while also providing flexible input supply options. An overview of the power circuit is shown in Figure 1.1. | ||
| - | {{ :reference: | + | {{ : |
| - | + | < | |
| - | //Figure 1.1. Power circuit overview// | + | |
| All on-board power supplies are enabled or disabled by the power switch (SW4). The power indicator LED (LD13, labeled PGOOD) is on when all the supply rails reach their nominal voltage. A proper power cycle requires the power switch to stay in the OFF position for at least 1 second. | All on-board power supplies are enabled or disabled by the power switch (SW4). The power indicator LED (LD13, labeled PGOOD) is on when all the supply rails reach their nominal voltage. A proper power cycle requires the power switch to stay in the OFF position for at least 1 second. | ||
| Line 212: | Line 211: | ||
| The Zybo Z7 can be powered from several different sources. Jumper JP6 (near the power switch) determines which power source is used. There are three valid configurations for this jumper corresponding to the three powering options: USB, wall wart supply with barrel jack, and battery pack. Figure 1.1 depicts all three, and a diagram on the board silkscreen does as well. | The Zybo Z7 can be powered from several different sources. Jumper JP6 (near the power switch) determines which power source is used. There are three valid configurations for this jumper corresponding to the three powering options: USB, wall wart supply with barrel jack, and battery pack. Figure 1.1 depicts all three, and a diagram on the board silkscreen does as well. | ||
| - | The recommended power source is an external power supply (such as a wall-wart) with a barrel jack connector (also known as a coaxial power connector). The supply must use a center-positive 2.1mm internal-diameter plug and deliver between 4.5V to 5.5V DC. It should also be able to output at least 2.5 A (12.5 Watts) in order to support power hungry Zynq projects and external peripherals. To use an external supply with a barrel jack, plug it into the power jack (J17), set jumper JP6 to “WALL”, and then set SW4 to " | + | The recommended power source is an external power supply (such as a wall-wart) with a barrel jack connector (also known as a coaxial power connector). The supply must use a center-positive 2.1 mm internal-diameter plug and deliver between 4.5 V to 5.5 V DC. It should also be able to output at least 2.5 A (12.5 Watts) in order to support power-hungry Zynq projects and external peripherals. To use an external supply with a barrel jack, plug it into the power jack (J17), set jumper JP6 to “WALL”, and then set SW4 to " |
| - | An external power source, such as a battery pack, that does not have a suitable barrel jack connector can still be used by wiring | + | An external power source, such as a battery pack, that does not have a suitable barrel jack connector can still be used by wiring |
| - | It is also possible to power the Zybo Z7 from the USB programming port (J12), however the Zybo Z7 often requires more current than the 0.5 A of current that is allowed by a USB 2.0 device. If this limit is exceeded, many USB hosts will begin to droop the voltage briefly until the Zybo Z7 resets, dropping current consumption into acceptable ranges. To help prevent this, a USB host port should be chosen that can support higher current (often referred to as a "fast charging USB port" or similar by laptop/PC vendors). Many USB battery packs and wall supplies will also support higher current draws. Even when attached to a host capable of providing more current, the Zybo Z7 will limit itself to .75 A (typ), and will reset if this current is reached. If you experience your project resetting (indicated by a brief flicker on the PGOOD LED and the DONE LED turning off) while powered from a high current USB port, you will either need to lower the power consumption of your project or use an external power source with a barrel jack. | + | It is also possible to power the Zybo Z7 from the USB programming port (J12), however, the Zybo Z7 often requires more current than the 0.5 A of current that is allowed by a USB 2.0 device. If this limit is exceeded, many USB hosts will begin to drop the voltage briefly until the Zybo Z7 resets, dropping current consumption into acceptable ranges. To help prevent this, a USB host port should be chosen that can support higher current (often referred to as a "fast charging USB port" or similar by laptop/PC vendors). Many USB battery packs and wall supplies will also support higher current draws. Even when attached to a host capable of providing more current, the Zybo Z7 will limit itself to .75 A (typ), and will reset if this current is reached. If you experience your project resetting (indicated by a brief flicker on the PGOOD LED and the DONE LED turning off) while powered from a high current USB port, you will either need to lower the power consumption of your project or use an external power source with a barrel jack. |
| For reference, we found that the out of box demo loaded on the Zybo Z7 at the factory consumes about 0.5 A from the input power source. More demanding applications, | For reference, we found that the out of box demo loaded on the Zybo Z7 at the factory consumes about 0.5 A from the input power source. More demanding applications, | ||
| Line 223: | Line 222: | ||
| Table 1.1.1 provides an overview of the power input specifications for the Zybo Z7. | Table 1.1.1 provides an overview of the power input specifications for the Zybo Z7. | ||
| + | |||
| + | //Table 1.1.1. Zybo Z7 Power Input Specifications// | ||
| ^ Connector Type ^ JP6 Configuration | ^ Connector Type ^ JP6 Configuration | ||
| Line 229: | Line 230: | ||
| | USB | USB | J12 | VBUS | See USB specification | | USB | USB | J12 | VBUS | See USB specification | ||
| - | //Table 1.1.1. Zybo Z7 Power Input Specifications// | ||
| ==== 1.2 Power Specifications ==== | ==== 1.2 Power Specifications ==== | ||
| Table 1.2.1 describes the characteristics the Zybo Z7's on-board power rails. It can be used to estimate power consumption for a project, or determine how much current attached peripherals can draw before being limited. | Table 1.2.1 describes the characteristics the Zybo Z7's on-board power rails. It can be used to estimate power consumption for a project, or determine how much current attached peripherals can draw before being limited. | ||
| + | |||
| + | //Table 1.2.1. Zybo Z7 Power Rail Specifications// | ||
| ^ Net name ^ Upstream net name ^ Power IC Type ^ Power IC Label ^ Min/Typ/Max Voltage (V) ^ Max. Current | ^ Net name ^ Upstream net name ^ Power IC Type ^ Power IC Label ^ Min/Typ/Max Voltage (V) ^ Max. Current | ||
| Line 240: | Line 242: | ||
| | VCC1V0 | | VCC1V0 | ||
| | VCC1V35 | | VCC1V35 | ||
| - | | VCC1V8 | + | | VCC1V8 |
| - | | XADC_1V8 | + | | VCC1V8_IO |
| + | | XADC_1V8 | ||
| | XADC_1V25 | | XADC_1V25 | ||
| - | | ANA3V3 | + | | ANA3V3 |
| - | + | ||
| - | //Table 1.2.1. Zybo Z7 Power Rail Specifications// | + | |
| ==== 1.3 Power Sequencing ==== | ==== 1.3 Power Sequencing ==== | ||
| - | Input power to the board is gated by the TPS25940, a protection circuit providing both inrush and general current limit, over-voltage protection and current sense. Inrush current is limited by a ~4ms soft-start time. | + | Input power to the board is gated by the TPS25940, a protection circuit providing both inrush and general current limit, over-voltage protection, and current sense. Inrush current is limited by a ~4ms soft-start time. |
| - | The supply rails downstream are daisy-chained to follow the Xilinx-recommended start-up sequence. Flicking the power switch (SW4) will enable the 1.0V rail, which enables the 1.8V digital supply rail, which in turn enables the I/O supply rails 3.3V and 1.35V. The 1.25V reference and 1.8V analog supply ramp together with the 3.3V rail. Once all the channels of the ADP5052 (IC25) supply reach regulation, the PGOOD signal will assert, enabling the 3.3V audio supply, lighting up the power LED (LD13), and de-asserting the Power-On Reset signal (PS_POR_B) of the Zynq. | + | The supply rails downstream are daisy-chained to follow the Xilinx-recommended start-up sequence. Flicking the power switch (SW4) will enable the 1.0V rail, which enables the 1.8V digital supply rail, which in turn enables the I/O supply rails 3.3V and 1.35V. The 1.25V reference and 1.8V analog supply ramp together with the 3.3V rail. Once all the channels of the ADP5052 (IC25) supply reach regulation, the PGOOD signal will assert, enabling the 3.3V audio supply |
| - | Each power supply uses a soft-start ramp of 1-10ms to limit in-rush current. There is an additional delay of at least 130ms after the power rails reach regulation and before the Power-On Reset signal de-assert to allow for the PS_CLK (IC22) to stabilize. | + | Each power supply uses a soft-start ramp of 1-10ms to limit in-rush current. There is an additional delay of at least 130ms after the power rails reach regulation and before the Power-On Reset signal de-assert to allow for the PS_CLK (IC22) to stabilize. Further delay, typically 120 ms, is added before the deassert of the Zynq Power-On Reset to ensure that the Ethernet PHY, powered by the VCC1V8_IO rail and internally regulated, is ready before Zynq projects (without boot optimization) finish booting. |
| ==== 1.4 Current Monitoring ==== | ==== 1.4 Current Monitoring ==== | ||
| Line 264: | Line 265: | ||
| //Figure 1.4.1. Current Consumption Equation// | //Figure 1.4.1. Current Consumption Equation// | ||
| + | |||
| + | ---- | ||
| + | ==== Note: Sequencing Changes from Revision D.0 ==== | ||
| + | |||
| + | The power supply circuitry is slightly different depending on the revision of your board. Changes were introduced in Revision D.0 to conform to sequencing requirements imposed by the switch from the RTL8211E to the RTL28211F Ethernet PHY. Of particular note is the addition of a load switch separating all I/O circuitry connected to Zynq bank 501 (Ethernet, USB, UART, SD) from the main 1.8 V board supply. These changes mean that board power-on now takes more time. The dropdown below contains the power circuit overview diagram for revisions prior to D.0: | ||
| + | |||
| + | --> Power Circuit Overview - Revision < D.0 # | ||
| + | {{ : | ||
| + | <-- | ||
| ---- | ---- | ||
| Line 282: | Line 292: | ||
| **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 342: | Line 352: | ||
| 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 Zybo Z7 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 Zybo Z7 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/ |
| ---- | ---- | ||
| Line 366: | Line 376: | ||
| //Table 4.1. Flash part memory loaded// | //Table 4.1. Flash part memory loaded// | ||
| - | ^ Manufacturer | + | ^ Manufacturer |
| - | | Spansion | + | | Spansion |
| - | | Winbond | + | | Winbond |
| The two part numbers are highly compatible, however, the W25Q128JV is not functionally equivalent to the S25FL128S and might require changes to customer applications (embedded software) depending on the board support package in use (OS, drivers, and libraries). It might be possible to implement any changes that might be needed in such a way to keep compatibility with all load options. A non-exhaustive list of the differences between the W25Q128JV and the S25FL128S: | The two part numbers are highly compatible, however, the W25Q128JV is not functionally equivalent to the S25FL128S and might require changes to customer applications (embedded software) depending on the board support package in use (OS, drivers, and libraries). It might be possible to implement any changes that might be needed in such a way to keep compatibility with all load options. A non-exhaustive list of the differences between the W25Q128JV and the S25FL128S: | ||
| Line 386: | Line 396: | ||
| * U-boot and Linux kernel built using the “jedec, | * U-boot and Linux kernel built using the “jedec, | ||
| - | **Note:** //Refer to the manufacturers' | + | **Note:** //Refer to the manufacturers' |
| ~~REFNOTES~~ | ~~REFNOTES~~ | ||
| Line 447: | Line 457: | ||
| ===== 8 microSD Slot ===== | ===== 8 microSD Slot ===== | ||
| - | The Zybo Z7 provides a microSD slot (J4) for non-volatile external memory storage as well as booting the Zynq. The slot is wired to Bank 1/501 MIO[40-45], and also includes a card detect signal attached to MIO 47. 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 8.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 Zybo Z7 provides a microSD slot (J4) for non-volatile external memory storage as well as booting the Zynq. The slot is wired to Bank 1/501 MIO[40-45], and also includes a card detect signal attached to MIO 47. 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 8.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 550: | Line 560: | ||
| * Power-on core logic ready time 100 ms vs. 20 ms. The RTL8211F reserves a 100 ms window after power-on that is not being used for now. The only register access allowed in this window is Page 0xa46, Reg. 20, bit[1]=1 (PHY Special Config Done), to skip this window and enter normal operating state. Otherwise, the PHY will do it automatically when the wait period ends. Entering normal operating state is signaled by the ETH_INT_B interrupt. This behavior affects only very short boot time applications, | * Power-on core logic ready time 100 ms vs. 20 ms. The RTL8211F reserves a 100 ms window after power-on that is not being used for now. The only register access allowed in this window is Page 0xa46, Reg. 20, bit[1]=1 (PHY Special Config Done), to skip this window and enter normal operating state. Otherwise, the PHY will do it automatically when the wait period ends. Entering normal operating state is signaled by the ETH_INT_B interrupt. This behavior affects only very short boot time applications, | ||
| * Three PHY status LEDs vs. two. The Link and Activity LEDs have been replaced by one LED for each link speed that integrate link and activity. These are now labeled “10”, “100”, and “1G”. | * Three PHY status LEDs vs. two. The Link and Activity LEDs have been replaced by one LED for each link speed that integrate link and activity. These are now labeled “10”, “100”, and “1G”. | ||
| - | | + | |
| + | ---- | ||
| Suggested embedded software work-arounds depending on the board support package: | Suggested embedded software work-arounds depending on the board support package: | ||
| Line 739: | Line 751: | ||
| //Figure 15.2. Attaching a Pcam// | //Figure 15.2. Attaching a Pcam// | ||
| - | The MIPI CSI-2 bus is passively terminated on the Zybo Z7 and connected directly to the Zynq PL. The guidelines described in Xilinx application note [[https://www.xilinx.com/ | + | The MIPI CSI-2 bus is passively terminated on the Zybo Z7 and connected directly to the Zynq PL. The guidelines described in Xilinx application note [[https://docs.xilinx.com/ |
| A [[https:// | A [[https:// | ||
| Line 809: | Line 821: | ||
| Although we strive to provide perfect products, we are not infallible. The Zybo Z7 is subject to the limitations below. | Although we strive to provide perfect products, we are not infallible. The Zybo Z7 is subject to the limitations below. | ||
| ^ Product Name ^ Variant | ^ Product Name ^ Variant | ||
| - | | Zybo Z7 | All | All | Negative CK-to-DQS delays in the board files are causing critical warnings in Vivado > | + | | Zybo Z7 | All | All | Negative CK-to-DQS delays in the board files are causing critical warnings in Vivado > |
| {{tag>rm doc zybo-z7}} | {{tag>rm doc zybo-z7}} | ||

