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
Avnet Boards Forums
  • Products
  • Dev Tools
  • Avnet Boards Community
  • Avnet Boards Forums
  • More
  • Cancel
Avnet Boards Forums
ZedBoard Hardware Design UART0 routed to PL via EMIO does not send any data out
  • 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 4 replies
  • Subscribers 325 subscribers
  • Views 2212 views
  • Users 0 members are here
Related

UART0 routed to PL via EMIO does not send any data out

fayyazrafiq
fayyazrafiq over 11 years ago

Hi,

I am having the EMIO problem. I wanted to use PS UART0 via EMIO and connected it to PL side package pins in XPS, but i could see any data out after several tries.  I am using XPS 14.5 and SDK 14.5 with ZEDBOARD.

I also tried the XMD debugger and I can see the UART0 data out via PL package pins. I don't know where is the problem but i am struggling this problem from one week. please help me.

Any help is highly appreciated.

Regards
Fayyaz

  • Sign in to reply
  • Cancel
Parents
  • rwong1231
    0 rwong1231 over 8 years ago

    Hi Gary,

    I duplicated your instructions using Vivado 2017.2 but was not able to read anything off the TX and RX lines in my Picozed 7030 via CC V2. Here's what I did (and hopefully you might be able to see what I did wrong?):

    1. UART0 --> EMIO

    2. UART0 TX [external] --> to pin AA17 (Picozed)/JB PMOD, Pin 1 --> constraints file.

    3. UART0 RX [external] --> to pin AA16 (Picozed)JB PMOD, Pin 2 --> constrainst file.

    ie...

    set_property PACKAGE_PIN AA16 [get_ports UART0_RX]

    set_property PACKAGE_PIN AA17 [get_ports UART0_TX]

    4. Synthesized/Implemented and Generated Bitstream with no issues

    5. Export Hardware (including Bitstream) and opened the SDK

    6. In Board Support Package Settings: stdin and stdout is set to ps7_uart_0

    7. Generated Hello World using:

    a) File --> New --> Application Project --> Hello World example project...

    b) In system.mss, under peripheral drivers --> ps7_uart_0 --> Import examples --> Hello World example project...

     

    I ran both methods for step 7 but with no success. Nothing popped up on my terminal.

    Serial settings:

    Baud: 115200 (set in Vivado hardware and matched to terminal program)

    TX (Picozed) <---> RX (terminal)

    RX (Picozed) <--> TX (terminal)

    GND <--> GND

     

    Did I miss anything?


    Thank you.
     

    Regards,


    Ron.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • rwong1231
    0 rwong1231 over 8 years ago in reply to rwong1231

    One more thing: after regenerating the BSP sources, the problem window displayed the following message:

    missing initializer for field 'HandlerTable' of 'XScuGic_Config {aka struct <anonymous>}' [-Wmissing-field-initializers]

    I'm not sure if this may contribute to the issue I'm having but am putting it in here in case it does.

    Severity: warning

    Ron.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • rwong1231
    0 rwong1231 over 8 years ago in reply to rwong1231

    One more thing: after regenerating the BSP sources, the problem window displayed the following message:

    missing initializer for field 'HandlerTable' of 'XScuGic_Config {aka struct <anonymous>}' [-Wmissing-field-initializers]

    I'm not sure if this may contribute to the issue I'm having but am putting it in here in case it does.

    Severity: warning

    Ron.

    • 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