element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Path to Programmable 3
  • Challenges & Projects
  • Design Challenges
  • Path to Programmable 3
  • More
  • Cancel
Path to Programmable 3
Forum How to generate multiple PWM signals with Vivado and Vitis?
  • Blog
  • Forum
  • Documents
  • Leaderboard
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Path to Programmable 3 to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 4 replies
  • Subscribers 127 subscribers
  • Views 1930 views
  • Users 0 members are here
  • pwm
  • xilinx
  • vivado
  • Path Programmable III
  • servo
  • motor
  • vitis
  • minized
Related

How to generate multiple PWM signals with Vivado and Vitis?

guillengap
guillengap over 2 years ago

My idea is to generate 2, 3 or 4 PWM signals with the MiniZed board and using Vivado and Vitis, but any example with another board is useful for me.

I found a good tutorial by Adam Taylor to generate a simple PWM signal: https://www.hackster.io/adam-taylor/mini-but-mighty-the-minized-and-vitis-for-motor-control-9c376b

However, for more PWM signals I have to make changes to the hardware (Vivado) and the software (Vitis). Does anyone know what changes need to be made?

  • Sign in to reply
  • Cancel

Top Replies

  • javagoza
    javagoza over 2 years ago +5
    Hi guillengap you can use the AXI_Timer IP in the Programmable Logic area. I made a tutorial for the Spartan-7. I think it will be easily portable to the minized. community.element14.com/.../arty-s7…
  • javagoza
    javagoza over 2 years ago in reply to javagoza +3
    In order to know how to use the Digilent's vivado library you can look at my last blog: community.element14.com/.../p2p3-amd-vitis-portability-and-reuse-migrating-microblaze-bare-metal-environmental…
  • javagoza
    javagoza over 2 years ago in reply to guillengap +1
    I also made several PID controllers and a support library. community.element14.com/.../arty-s7-50-artybot-bot-application-framework A simple App using the library community.element14.com/.../arty…
  • javagoza
    0 javagoza over 2 years ago

    Hi guillengap  you can use the AXI_Timer IP in the Programmable Logic area.

    I made a tutorial for the Spartan-7. I think it will be easily portable to the minized.

    Arty S7 50 ArtyBot Pulse Width Modulation (PWM) for Motor Speed Control
    javagoza
    Arty S7 50 ArtyBot Pulse Width Modulation (PWM) for Motor Speed Control
    In the previous blogs in this series for the " 7 Ways…
    By javagoza over 3 years ago in FPGA > Blog
    2 comments

    • Cancel
    • Vote Up +5 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • guillengap
    0 guillengap over 2 years ago in reply to javagoza

    Hi javagoza  Thanks for your help! Yesterday I had given a simple view to your blog and I will try with AXI_Timer IP. It seems to me an interesting option to try it with MiniZed board. 

    My doubt borns when the author does it with the internal TTC (triple timer) of the MiniZed, and for multiple PWM he makes a consideration in the hardware configuration and doesn't gave more details: https://support.xilinx.com/s/article/744654?language=en_US

    Your solution seems more detailed, easier and you use Vivado + Vitis! If my project works (PWM+Accelerometer+PID controller), I will post a blog and put your project as a reference!

    Kind regards

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • javagoza
    0 javagoza over 2 years ago in reply to guillengap

    I also made several PID controllers and a support library. 

    Arty S7 50 ArtyBot - Bot Application Framework
    javagoza
    Arty S7 50 ArtyBot - Bot Application Framework
    In this post I describe the Bot Application Framework…
    By javagoza over 3 years ago in FPGA > Blog
    1 comment

    A simple App using the library

    Arty S7 50 ArtyBot becomes Emubot, an educational robot for young children
    javagoza
    Arty S7 50 ArtyBot becomes Emubot, an educational robot for young children
    In this post I will introduce the Emubot project. Emubot…
    By javagoza over 3 years ago in FPGA > Blog
    4 comments

    Another source of inspiration may be the Digilent drivers, although I think my solution with the AXI Timer is simpler and better supported by Vitis/Vivado.

    vivado-library/ip/PWM_2.0 at master · Digilent/vivado-library · GitHub

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • javagoza
    0 javagoza over 2 years ago in reply to javagoza

    In order to know how to use the Digilent's vivado library you can look at my last blog:

    P2P3 AMD Vitis portability and reuse. Migrating a Microblaze bare metal environmental monitor App to the Zynq architecture.
    javagoza
    P2P3 AMD Vitis portability and reuse. Migrating a Microblaze bare metal environmental monitor App to...
    Introduction In the current exercise, I want to evaluate…
    By javagoza over 2 years ago in Path to Programmable 3 > Blog
    5 comments

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube