element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • 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
  • About Us
  • 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
Avnet Boards Forums
  • Products
  • Dev Tools
  • Avnet Boards Community
  • Avnet Boards Forums
  • More
  • Cancel
Avnet Boards Forums
MicroZed Hardware Design MicroZed + FMC  control LEDs without Linux
  • Forum
  • Documents
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Avnet Boards Forums to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 8 replies
  • Subscribers 333 subscribers
  • Views 949 views
  • Users 0 members are here
Related

MicroZed + FMC  control LEDs without Linux

nowksru
nowksru over 7 years ago

Hello,

My plan is to control LEDs on the FMC Carrier Card without installing any OS on the MicroZed (XC7Z020).

 

I first tried the FMC Carrier Card Linux User IO Tutorial , because it's apparently the only tutorial available for the MicroZed including the FMC-CC.

 

I did the tutorial step by step and also using the pre-built SD-Image. Both without any success. Only the "Power Good" (on the FMC-CC) and the power LED on the MicroZed switch on, but not the "DONE" LED on the FMC-CC. I also connected a terminal with teraterm, where nothing happened. For this tutorial I used Vivado 2013.3 as recommended.

 

 I am able to use the MicroZed by itself and control the LED on the MicroZed like in this tutorial. The steps I changed to try get it running on the FMC-CC are that I added the constraint file and I made 6 EMIO pins external inside Vivado for the FMC-CC and changed the pins that I controlled via xgpiops according to the MicroZed_HW_UG_v1_4.pdf in SDK. For this I used Vivado 2014.1 and did the programming using JTAG .

 

Am I missing a point? Is there any tutorial that someone can recommend me for achieving my goal?

 

Thanks in advance.

  • Sign in to reply
  • Cancel
Parents
  • jafoste4
    0 jafoste4 over 7 years ago

    Hello URS,

    If your boards set to 3.3V you should change your constraitns to reflect this, from lvcmos18 to lvcmos33.

    -Josh

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • nowksru
    0 nowksru over 7 years ago in reply to jafoste4

    Hi Josh,

    I changed now all the from lvcmos18 entries inside the constraints file to lvcmos33, but it doesn't work either.

    I am also wondering, shouldn't the four LEDs on the FMC-CC at least switch off when I am running my configuration on the MicroZed? Because they are illuminating the whole time.

    Also I am still not able to illuminate the LED 'D3' on the Microzed. So far I am only able to read the state of the button on the MicroZed.

     

    To make sure, these are the pins I defined in the SDK for the EMIO pins:

    #define led_fmc 54
    #define led_fmc 55
    #define led_fmc 56
    #define led_fmc 57
    #define pbsw_fmc 58
    #define pbsw_fmc 59

     

    And these for the button and the LED 'D3' on the MicroZed:

    #define ledpin 47
    #define pbsw 51

     

    -Urs
     

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • nowksru
    0 nowksru over 7 years ago in reply to jafoste4

    Hi Josh,

    I changed now all the from lvcmos18 entries inside the constraints file to lvcmos33, but it doesn't work either.

    I am also wondering, shouldn't the four LEDs on the FMC-CC at least switch off when I am running my configuration on the MicroZed? Because they are illuminating the whole time.

    Also I am still not able to illuminate the LED 'D3' on the Microzed. So far I am only able to read the state of the button on the MicroZed.

     

    To make sure, these are the pins I defined in the SDK for the EMIO pins:

    #define led_fmc 54
    #define led_fmc 55
    #define led_fmc 56
    #define led_fmc 57
    #define pbsw_fmc 58
    #define pbsw_fmc 59

     

    And these for the button and the LED 'D3' on the MicroZed:

    #define ledpin 47
    #define pbsw 51

     

    -Urs
     

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
No Data
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