Spartan-7 SP701 Evaluation Kit PWM Tutorial

Spartan-7 SP701 Evaluation Kit PWM Tutorial

This page gives an overview of getting started with the SP701 Evaluation Kit.

Table of Contents

Introduction

Learn how to rapidly prototype an embedded system using the Spartan-7 FPGA SP701 evaluation kit. , This video demonstrates how to put together a MicroBlaze design and run "Hello World” using the Vivado Design Suite and Vitis Unified Software Platform, as well as a simple Pulse Width Modulation (PWM) application commonly used in controlling the speed of motors, the brightness of lights, and creating efficient power supplies.

Resources

Demonstration Steps

The demonstration video will cover two quick examples of how to build a system from scratch. The first is a Hello World example using MicroBlaze and the second is the PWM application example.

Expand the following section to view the source code for the PWM demo

Hello World with MicroBlaze

  • Open Example Project in Vivado

  • Target SP701 Evaluation Kit

  • Select MicroBlaze Design Preset

  • Synthesize and implement

  • Export to Vitis

  • Select Hello World Template

  • Power on the board and set UART communication

  • Download application

PWM Application Example

  • Update Application Code to Support PWM IP

    • Include header files packages

    • Retrieve Device IDs

    • Capture user input to control Duty Cycle

    • Update and configure PWM

  • Power on the board and set UART communication

  • Download application

  • Use Vivado ILA to monitor PWM signal

Related Links

Collateral

Tutorials and Guides

Workshops and Training

© Copyright 2019 - 2022 Xilinx Inc. Privacy Policy