This tutorial covers how to use the out of he box design that ships loaded into Arty's Quad-SPI Flash, with I/O and UART.
To view the reference material and other demo projects for Arty, go to the Arty resource center.
For this Tutorial you will need:
- TeraTerm Software installed
- Xilinx Vivado (The free Webpack will work) installed and licensed
Step 1: Plug in and Power on Arty
Using the USB A to USB B micro, plug the Arty into your computer. Make sure the jumper between the ethernet and female barrel jack connector is configured for USB power.
Step 2: Open TeraTerm
Open TeraTerm and select USB the radio button for Serial. If this window does not automatically appear, you may need to go to File -> New Connection. Click OK.
Step 3: Open the Serial Port Setup
Go to Setup -> Serial Port...
Step 4: Enter the Correct Settings
Enter the correct Port, Baud Rate of 115200, 8 data bits, no parity bit, 1 stop bit, and no flow control. Hit OK.
Step 5: Open the Menu for the Demo
Right now you probably see gibberish in the TerraTerm window.
Press any button, and then press button 3 to get to the menu. From this point on anytime you want to get to the menu shown in this image, you press button 3.
As you can see in the menu, this demo features three modes; PWM, Cylon, and scrolling LEDS.
I will go through each with what is shown from the serial port and on the board.
Step 6: PWM Mode - All Switches Off
Press BTN 0 to enter PWM mode.
With all the switches off, you should see a PWM value of 0. The switches define the duty cycle of the PWM signal being sent to the LEDs. No switches on translates to, no illumination on the LEDS.
Step 7: Changing the PWM
If you change the switches you can change the PWM, and brightness of the LEDS.
If SW0 is on the PWM is 10000, and you can see dimly lit LEDS.
If SW0 and SW2 are on the PWM is 20000, and you can see brighter lit LEDS.
Step 8: Cylon Mode
Press BTN 3 to go back to the menu for the demo.
If you press BTN 1, the demo will go into cylon mode. This mode uses the RGB LEDS and cycles them through different colors. You can see more details of the sequence on the serial output.
Step 9: Scrolling LED Mode
Press BTN 3 to go back to the menu.
If you select BTN 2, this will take you to scrolling LED mode, where only one LED is lit at a time, continuously changing which RGB LED is lit.
Step 10: Explore the Arty Resource Center!
Now that you've had your first introduction to Arty, go to the Arty Resource Center, for schematics, reference manuals, demos and more!