The project represents the User Demo found on the Nexys4 configuration and demonstrates usage of the VGA display in 1280 X 1024 mode, the Artix7 XADC, the Nexys4 onboard ADT7420 Temperature Sensor on Two-Wire Interface, the ADXL362 Accelerometer on SPI Interface, the PS2 interface, the RGB LEDs, the ADMP421 Omnidirectional Microphone, Audio Output, the 16MB PSRAM Memory, user buttons, switches and LEDs.
The project was created under ISE 14.7 and ported to Vivado 16.4
The behavior is as follows:
The project connects to the VGA display in a 1280*1024 resolution and displays various items on the screen:
Other features:
Not Used | Used | |
---|---|---|
16 User Switches | X | |
16 User LEDs | X | |
Two Tri-color LEDs | X | |
5 User Push Buttons | X | |
Two 4-Digit 7-Segment Displays | X | |
4 Pmod Ports | X | |
Pmod for XADC Signals | X | |
12-Bit VGA Output | X | |
USB-UART Bridge | X | |
Serial Flash for Application Data | X | |
USB HID Host with Mouse | X | |
USB HID Host with Keyboard | X | |
Micro SD Card Connector | X | |
PWM Audio Output | X | |
PDM Microphone | X | |
3-Axis Accelerometer | X | |
16Mbyte CellularRAM | X | |
Temperature Sensor | X | |
10/100 Ethernet PHY | X |
Follow the Using Digilent Github Demo Projects Tutorial. This is an HDL design project, and as such does not support Vivado SDK. Select the tutorial options appropriate for a Vivado-only design. As you can connect your mouse, monitor, or audio output device to your Nexys 4 after the demo is running, you do not need to return to this guide when prompted to check for additional hardware requirements and setup.
This portion will help you run the demo and observe all its features.
The 7-Segment display runs a constant snake pattern. There is no way to change this pattern with the Nexys4 I/O.
The two tri-color LEDs are initially set to gradually change from red to green, then green to blue, then back to red. If the user pushed btnR, the LEDs are set to blue. If the user pushed btnC, the LEDs are set to green. If the user pushed btnL, the LEDs are set to red. Finally if the user pushed btnD, the LEDs return to their gradual change loop. If the user keeps pushing btnD, both LEDs will be isolated then both will be turned off.
If the user pushes btnU, an audio recording is started and data is taken from the omnidirectional microphone. The data is stored into the CellularRam memory. While the recorder is recording, the LEDs will light up from left to right. After about five seconds, the audio will be read from the CellularRam memory and played through the headphone jack. LEDs will turn off from right to left.
The project connects to the VGA display in a 1280*1024 resolution and displays various items on the screen:
* A Digilent / Analog Devices logo.
* A mouse cursor, if a USB mouse is connected to the board when the project is started.
* The audio signal from the onboard ADMP421 Omnidirectional Microphone.
* A small square representing the X and Y acceleration data from the ADXL362 onboard Accelerometer. The square moves according the Nexys4 board position. Note that the X and Y axes on the board are exchanged due to the accelerometer layout on the Nexys4 board.The accelerometer display also displays the acceleration magnitude, calculated asSQRT( X^2 + Y^2 +Z^2), where X, Y and Z represent the acceleration value on the respective axes.
* The FPGA temperature, the onboard ADT7420 temperature sensor temperature value and the accelerometer temperature value.
* The value of the R, G and B components sent to the RGB LEDs LD16 and LD17.