Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| learn:programmable-logic:tutorials:nexys-4-basic-user-demo:start [2017/04/26 23:12] – [1. Generate the Project] Andrew Holzer | learn:programmable-logic:tutorials:nexys-4-basic-user-demo:start [2022/10/04 11:38] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 5: | Line 5: | ||
| ===== Overview ===== | ===== Overview ===== | ||
| - | ==== Features Used ==== | ||
| - | |||
| - | | ^ Not Used ^ Used ^ | ||
| - | ^ 16 user switches | ||
| - | ^ 16 user LEDs | | X | | ||
| - | ^ Two tri-color LEDs | | X | | ||
| - | ^ 5 User Push Buttons | ||
| - | ^ Two 4-digit 7-segment displays | ||
| - | ^ 4 Pmod ports | ||
| - | ^ Pmod for XADC signals | ||
| - | ^ 12-bit VGA output | ||
| - | ^ USB-UART Bridge | ||
| - | ^ Serial Flash for Application Data | ||
| - | ^ USB HID Host With Mouse | ||
| - | ^ USB HID Host With Keyboard | ||
| - | ^ Micro SD card connector | ||
| - | ^ PWM audio output | ||
| - | ^ PDM microphone | ||
| - | ^ 3-axis accelerometer | ||
| - | ^ 16Mbyte CellularRAM | ||
| - | ^ Temperature sensor | ||
| - | ^ 10/100 Ethernet PHY | ||
| ==== Description ==== | ==== Description ==== | ||
| Line 45: | Line 23: | ||
| parity, and 1 stop bit. | parity, and 1 stop bit. | ||
| + | ==== Features Used ==== | ||
| + | |||
| + | | ^ Not Used ^ Used ^ | ||
| + | ^ 16 user switches | ||
| + | ^ 16 user LEDs | ||
| + | ^ Two tri-color LEDs | ||
| + | ^ 5 User Push Buttons | ||
| + | ^ Two 4-digit 7-segment displays | ||
| + | ^ 4 Pmod ports | ||
| + | ^ Pmod for XADC signals | ||
| + | ^ 12-bit VGA output | ||
| + | ^ USB-UART Bridge | ||
| + | ^ Serial Flash for Application Data | | ||
| + | ^ USB HID Host With Mouse | | ||
| + | ^ USB HID Host With Keyboard | ||
| + | ^ Micro SD card connector | ||
| + | ^ PWM audio output | ||
| + | ^ PDM microphone | ||
| + | ^ 3-axis accelerometer | ||
| + | ^ 16Mbyte CellularRAM | ||
| + | ^ Temperature sensor | ||
| + | ^ 10/100 Ethernet PHY | | ||
| ------- | ------- | ||
| Line 62: | Line 62: | ||
| ===== Downloads ===== | ===== Downloads ===== | ||
| - | Nexys4 Support | + | Nexys 4 GPIO Demo Project |
| ------- | ------- | ||
| - | ===== How to... ===== | ||
| + | ===== Download and Launch the Nexys 4 GPIO Demo ===== | ||
| + | >1) Follow the [[: | ||
| - | ==== 1. Generate | + | >2) In order to fully use the demo, you will need to connect a serial terminal to your Nexys 4. Plug your board into your computer with a Micro USB cable and make sure the board is turned on. Then open a serial terminal (such as TeraTerm) on your computer. In the terminal application, |
| - | + | > | |
| - | >1.1) Download | + | > |
| - | >1.2) Generate | + | ===== Using the Nexys 4 GPIO Demo ===== |
| - | ==== 2. Build the Project | + | ==== 1. Using the Switches with LEDs ==== |
| - | >2.1) Click **Generate Bitstream** on the left hand menu towards the bottom. Vivado | + | >For this section, all the switches are tied to their corresponding LED. Every time a switch is toggled, the LED directly above it will toggle with it. If the center push button is pressed, all the LEDs will be tied to ground |
| > | > | ||
| - | >Note: If you want, you can click each step by itself in the order of **Run Synthesis**, | + | >{{:nexys: |
| - | > | + | |
| - | >{{:basys3:buildflow.png?600|}} | + | |
| - | ==== 3. Program the Board ==== | + | ==== 2. Seven Segment Display |
| - | >3.1) Once you have generated your bit file, Click on the hardware manager and connect to your board by choosing | + | >The 7-segment display counts from 0 to 9 on each of its 8 digits. This count is reset when the center button is pressed. Also, single anodes of the 7-segment display are blanked |
| > | > | ||
| - | > | + | >{{: |
| - | >3.2) Click program to load the project onto your Nexys4. | + | ==== 3. Tri-color LEDs ==== |
| - | ==== 4. Run the Project ==== | + | >The two tri-color LEDs are set to gradually change colors at all times. The user cannot affect them in this demonstration. |
| - | This portion will help you run the demo and observe all its features. | + | ==== 4. Microphone to PWM Output ==== |
| - | >4.1) Using the Switches with Leds | + | >The microphone which is next to Pmod connector JC, records audio data and sends it to the mono audio output located at J8. To listen to the mics output, you will need to plug in headphones or a speaker. |
| > | > | ||
| - | >For this section, all the switches are tied to their corresponding led. Every time a switch is toggled, the led directly above it will toggle with it. If the center push button is pressed, all the Leds will be tied to ground | + | > |
| - | > | + | |
| - | > | + | |
| - | >4.2 Seven Segment Display | + | ==== 5. UART Messages ==== |
| - | > | + | |
| - | >The 7-Segment display counts from 0 to 9 on each of its 8 digits. This count is reset when the center button is pressed. Also, single anodes of the 7-Segment display are blanked by holding BTNU, BTNL, BTND, or BTNR. Holding the center button blanks all the 7-Segment anodes. | + | |
| - | > | + | |
| - | > | + | |
| - | >4.3) Tri-color Leds | + | >On startup or reset of the demo, the message " |
| - | > | + | |
| - | >The two tri-color leds are set to gradually change colors at all times. The user cannot affect them in this demonstration. | + | |
| - | + | ||
| - | >4.4) Microphone to PWM Output | + | |
| > | > | ||
| - | >The microphone which is next to Pmod connector JC, records audio data and sends it to the mono audio output located at J8. To listen to the mics output, you will need to plug in headphones or a speaker. | + | >{{:learn:programmable-logic: |
| - | > | + | |
| - | >{{:nexys:nexys4:gpio14.jpg?300|}} | + | |
| - | {{tag> | + | {{tag> |

