Differences
This shows you the differences between two versions of the page.
| dsdb:rm [2016/05/04 05:43] – [16.1 Seven-Segment Display] sbobrowicz | dsdb:rm [2022/10/04 11:38] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | + | ======= DSDB Reference Manual ======= | |
| - | ====== | + | |
| {{ : | {{ : | ||
| Line 51: | Line 50: | ||
| The DSDB is compatible with Xilinx’s new high-performance Vivado Design Suite as well as the ISE/EDK toolset. These toolsets meld FPGA logic design with embedded ARM software development into an easy to use, intuitive design flow. They can be used for designing systems of any complexity, from a complete operating system running multiple server applications in tandem, down to a simple bare-metal program that controls some LEDs. | The DSDB is compatible with Xilinx’s new high-performance Vivado Design Suite as well as the ISE/EDK toolset. These toolsets meld FPGA logic design with embedded ARM software development into an easy to use, intuitive design flow. They can be used for designing systems of any complexity, from a complete operating system running multiple server applications in tandem, down to a simple bare-metal program that controls some LEDs. | ||
| + | |||
| + | {{ : | ||
| ---- | ---- | ||
| Line 609: | Line 610: | ||
| On-board auxiliary buffers and electronic switches control the direction of signals that differ between Source and Sink. These signals are summarized Table 14. | On-board auxiliary buffers and electronic switches control the direction of signals that differ between Source and Sink. These signals are summarized Table 14. | ||
| - | | **Signal** | + | | **Signal** |
| - | | **HPD** | + | | **HPD** |
| - | | ::: | Sink | ::: | Output | + | | ::: | Sink | ::: | Output |
| - | | **5V0** | + | | **5V0** |
| - | | ::: | Sink | ::: | Input | HDMI_OUT_EN = 0 | | + | | ::: | Sink | ::: | Input | HDMI_OUT_EN = 0 | |
| //Table 14. HDMI signal direction in Source and Sink roles. | //Table 14. HDMI signal direction in Source and Sink roles. | ||
| Line 635: | Line 636: | ||
| ==== 14.1 LCD Display ==== | ==== 14.1 LCD Display ==== | ||
| - | The LCD has a ILI6122 timing controller mounted on it which interfaces to the TFT display. The user has access only to certain pins of the controller which enable him to send data to the LCD. In order to access the controller pins the LCD uses a strip connector with the following pin-out. | + | The LCD has a ILI6122 timing controller mounted on it which interfaces to the TFT display. The user has access only to certain pins of the controller, specifically those which are used to send data to the LCD. In order to access the controller pins the LCD uses a strip connector with the following pin-out. |
| ^ Pin ^ Signal | ^ Pin ^ Signal | ||
| | 1 | BCK_LED_K | | 1 | BCK_LED_K | ||
| Line 655: | Line 656: | ||
| //Table 15. LCD control signals// | //Table 15. LCD control signals// | ||
| - | In order to facilitate the dimming of the back-light on the LCD, the FP6745 LED driver has been used. The user has direct access to the enable pin of the LED-driver; by driving this pin with a PWM signal the user will obtain a variety of back-light intensities dependent on the duty cycle of the PWM signal. When driving the back-light | + | In order to facilitate the dimming of the back-light on the LCD, the FP6745 LED driver has been used. The user has direct access to the enable pin of the LED-driver; by driving this pin with a PWM signal the user will obtain a variety of back-light intensities dependent on the duty cycle of the PWM signal. When driving the back-light |
| - | Before starting to use the LCD the DSIP pin must be set to logic high. This pin is an enable pin which allows the user to turn off the display without interrupting the timing and data flow. When sending data to the display the following timing specifications must be respected: | + | Before starting to use the LCD the DISP pin must be set to logic high. This pin is an enable pin which allows the user to turn off the display without interrupting the timing and data flow. When sending data to the display the following timing specifications must be respected: |
| **Horizontal** | **Horizontal** | ||
| Line 705: | Line 706: | ||
| //Table 18. Touch panel pin-out // | //Table 18. Touch panel pin-out // | ||
| - | The addressing mode of the I2C is is on 7 bit, with the slave address being 0111000 in binary and the maximum frequency at which the controller can operate is 400 KHz. Additionally | + | The addressing mode of the I2C is 7 bit, with the slave address being 0111000 in binary and the maximum frequency at which the controller can operate is 400 KHz. In addition |
| The following registers can be used in order to obtain a minimal functionality of the touch panel: | The following registers can be used in order to obtain a minimal functionality of the touch panel: | ||
| Line 768: | Line 769: | ||
| The DSDB contains a four-digit common anode seven-segment LED display. Each of the four digits is composed of seven segments arranged in a “figure 8” pattern, with an LED embedded in each segment. Segment LEDs can be individually illuminated, | The DSDB contains a four-digit common anode seven-segment LED display. Each of the four digits is composed of seven segments arranged in a “figure 8” pattern, with an LED embedded in each segment. Segment LEDs can be individually illuminated, | ||
| - | {{ nexys4-ddr:n4s.png?600 |}} | + | {{ :basys3-_seven_segment_display.png?600 |}} |
| - | Figure 15. FIXME -- fix figure label by removing from image and placing in text | + | //Figure 15. Digit Illumination Patterns// |
| The anodes of the seven LEDs forming each digit are tied together into one “common anode” circuit node, but the LED cathodes remain separate, as shown in Fig 16. The common anode signals are available as four “digit enable” input signals to the 4-digit display. The cathodes of similar segments on all four displays are connected into seven circuit nodes labeled CA through CG. For example, the four “D” cathodes from the four digits are grouped together into a single circuit node called “CD.” | The anodes of the seven LEDs forming each digit are tied together into one “common anode” circuit node, but the LED cathodes remain separate, as shown in Fig 16. The common anode signals are available as four “digit enable” input signals to the 4-digit display. The cathodes of similar segments on all four displays are connected into seven circuit nodes labeled CA through CG. For example, the four “D” cathodes from the four digits are grouped together into a single circuit node called “CD.” | ||
| Line 776: | Line 777: | ||
| {{ : | {{ : | ||
| - | Figure 16. FIXME -- Fix figure label | + | //Figure 16. Common Anode Circuit Node// |
| A scanning display controller circuit can be used to show a four-digit number on this display. This circuit drives the anode signals and corresponding cathode patterns of each digit in a repeating, continuous succession at an update rate that is faster than the human eye can detect. Each digit is illuminated just one-fourth of the time, but because the eye cannot perceive the darkening of a digit before it is illuminated again, the digit appears continuously illuminated. If the update, or “refresh”, | A scanning display controller circuit can be used to show a four-digit number on this display. This circuit drives the anode signals and corresponding cathode patterns of each digit in a repeating, continuous succession at an update rate that is faster than the human eye can detect. Each digit is illuminated just one-fourth of the time, but because the eye cannot perceive the darkening of a digit before it is illuminated again, the digit appears continuously illuminated. If the update, or “refresh”, | ||
| Line 782: | Line 783: | ||
| For each of the four digits to appear bright and continuously illuminated, | For each of the four digits to appear bright and continuously illuminated, | ||
| - | {{ nexys4-ddr:n4u.png?400 |}} | + | {{ :basys3-seven_segment_timing_diagram.png?400 |}} |
| - | Figure 17. FIXME -- fix figure label | + | //Figure 17. Four digit scanning display controller timing diagram// |
| ---- | ---- | ||
| - | |||
| ====== 17 Audio ====== | ====== 17 Audio ====== | ||
| Line 798: | Line 798: | ||
| | **J11** | | **J11** | ||
| - | // | + | // |
| The digital interface of the SSM2603 is wired to the programmable logic side of the Zynq. Audio data is transferred via the I²S protocol. Configuration is done over an I2C bus. The device address of the SSM2603 is 0011010b. All digital I/O are 3.3V level and connect to a 3.3V-powered FPGA bank. | The digital interface of the SSM2603 is wired to the programmable logic side of the Zynq. Audio data is transferred via the I²S protocol. Configuration is done over an I2C bus. The device address of the SSM2603 is 0011010b. All digital I/O are 3.3V level and connect to a 3.3V-powered FPGA bank. | ||
| Line 813: | Line 813: | ||
| | **MCLK** | | **MCLK** | ||
| - | // | + | // |
| The audio codec needs to be clocked from the Zynq on the MCLK pin. This master clock will be used by the audio codec to establish the audio sampling frequency. This clock is required to be an integer multiple of the desired sampling rate. The default settings require a master clock of 12.288 Mhz, resulting in a 48 kHz sampling rate. For other frequencies and their respective configuration parameters, consult the SSM2603 datasheet. | The audio codec needs to be clocked from the Zynq on the MCLK pin. This master clock will be used by the audio codec to establish the audio sampling frequency. This clock is required to be an integer multiple of the desired sampling rate. The default settings require a master clock of 12.288 Mhz, resulting in a 48 kHz sampling rate. For other frequencies and their respective configuration parameters, consult the SSM2603 datasheet. | ||
| - | The codec has two modes: master and slave, with the slave being default. In this mode, the direction of the signals is specified in Table FIXME. When configured as master, the direction of BCLK, PBLRC and RECLRC is inverted. In this mode, the codec generates the proper frequencies for these clocks. Digilent recommends that the audio codec be used in slave mode, because this tends to simplify the clocking scheme of the FPGA logic. No matter where are the clocks are generated, PBDAT needs to be driven out and RECDAT sampled in sync with them. The master clock is always driven out of the Zynq. | + | The codec has two modes: master and slave, with the slave being default. In this mode, the direction of the signals is specified in Table 25. When configured as master, the direction of BCLK, PBLRC and RECLRC is inverted. In this mode, the codec generates the proper frequencies for these clocks. Digilent recommends that the audio codec be used in slave mode, because this tends to simplify the clocking scheme of the FPGA logic. No matter where are the clocks are generated, PBDAT needs to be driven out and RECDAT sampled in sync with them. The master clock is always driven out of the Zynq. |
| - | The timing diagram of an I²S stream can be seen on Figure | + | The timing diagram of an I²S stream can be seen on Figure |
| {{ : | {{ : | ||
| - | // | + | // |
| The digital mute signal (MUTE) is active-low, with a pull-down resistor. This means that when not used in the design, it will stay low and the analog outputs of the codec will stay muted. To enable the analog outputs, drive this signal high. It is important to note that the audio codec will not receive or transmit any audio data until the MUTE signal is driven high. | The digital mute signal (MUTE) is active-low, with a pull-down resistor. This means that when not used in the design, it will stay low and the analog outputs of the codec will stay muted. To enable the analog outputs, drive this signal high. It is important to note that the audio codec will not receive or transmit any audio data until the MUTE signal is driven high. | ||
| Line 862: | Line 862: | ||
| ====== 20 Pmod Connectors ====== | ====== 20 Pmod Connectors ====== | ||
| - | Pmod connectors are 2x6, right-angle, | + | Pmod connectors are 2x6, right-angle, |
| - | {{ :zybo:pmod1f.png?300 |}} | + | {{ :basys3-pmod_connector.png?300 |}} |
| - | FIXME -- Remove figure label from picture and correctly label in text | + | //Figure 19. Pmod Connecter Front View// |
| Digilent produces a large collection of Pmod accessory boards that can attach to the Pmod expansion connectors to add ready-made functions like A/D’s, D/A’s, motor drivers, sensors, and other functions. See www.digilentinc.com for more information. | Digilent produces a large collection of Pmod accessory boards that can attach to the Pmod expansion connectors to add ready-made functions like A/D’s, D/A’s, motor drivers, sensors, and other functions. See www.digilentinc.com for more information. | ||
| - | The DSDB has three Pmod connectors, some of which behave differently than others. Each Pmod connector falls into one of two categories: standard or MIO connected. Table FIXME specifies which category each Pmod falls into, and also lists the Zynq pins they are connected to. | + | The DSDB has three Pmod connectors, some of which behave differently than others. Each Pmod connector falls into one of two categories: standard or MIO connected. Table 26 specifies which category each Pmod falls into, and also lists the Zynq pins they are connected to. |
| | Pmod JA (Standard) | | Pmod JA (Standard) | ||
| Line 881: | Line 881: | ||
| | JA10: AA8 | JB10: AA4 | JC10: E6 | | | JA10: AA8 | JB10: AA4 | JC10: E6 | | ||
| - | // | + | // |
| The following sections describe the differences between the Pmod types. | The following sections describe the differences between the Pmod types. | ||
| Line 899: | Line 899: | ||
| {{ : | {{ : | ||
| + | //Figure 20. MXP Pins// | ||
| ^ Signal Name ^ Reference ^ Direction ^ Description ^ | ^ Signal Name ^ Reference ^ Direction ^ Description ^ | ||
| Line 910: | Line 911: | ||
| | UART.TX | | UART.TX | ||
| | DGND | N/A | N/A | Reference for digital signals, +5 V, and +3.3 V. | | | DGND | N/A | N/A | Reference for digital signals, +5 V, and +3.3 V. | | ||
| + | //Table 27. MXP Pin Descriptions// | ||
| The +3V3 pin is driven by the 3V3_USER of the DSDB, and the +5V pin is driven by the 5V0_USER rail. See section **1 Power Supplies** for information on the characteristics of these power rails. | The +3V3 pin is driven by the 3V3_USER of the DSDB, and the +5V pin is driven by the 5V0_USER rail. See section **1 Power Supplies** for information on the characteristics of these power rails. | ||
| Line 927: | Line 929: | ||
| {{ : | {{ : | ||
| - | // | + | // |
| Each of the three signal breadboards has different functions described in the following section. | Each of the three signal breadboards has different functions described in the following section. | ||

