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
Software Application Development Picozed CC Gen2 SPI test - via PS (JPS1) and EMIO (JB1) - slow speeds
  • 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 Verified Answer
  • Replies 5 replies
  • Subscribers 330 subscribers
  • Views 838 views
  • Users 0 members are here
Related

Picozed CC Gen2 SPI test - via PS (JPS1) and EMIO (JB1) - slow speeds

rwong1231
rwong1231 over 8 years ago

Hi,

I'm currently having some speed issues that I'm hoping someone might be able to shed some light and recommend/suggest where I might have missed a step? I have a basic SPI setup following Adam Taylor's Microzed(ish) chronicle series 81 - SPI.

In VIVADO:

I've routed the MIO pins to SPI0: SS[0]-MIO13, MOSI-MIO10, MISO-MIO11,SCLK-MIO12.

On the EMIO side, I've routed and constrained the following pins to the JB1 PMOD connector:

** SSI is tied to a constant block (of value 1) in Vivado as suggested in TRM **

SPI0_MOSI_O --> SDO

set_property PACKAGE_PIN Y8 [get_ports SDO]

Y8 is connected to BANK13_LVDS_8_N on the Picozed

SPI0_SCLK_O--> sclk

set_property PACKAGE_PIN W9 [get_ports sclk]

W9 is connected to BANK13_LVDS_9_N on the Picozed

 

In XSDK:

I've duplicated Adam Taylor's _part82.c (via GitHub).

Executing the example code, I'm getting two issues:

A. on the JB1-PL (EMIO) side, I can't go faster than 6.25MHz at the moment. I've tried changing the SPI frequency in Vivado Block Design several times (100MHz, 166.667MHz, 200MHz) and then using XSPIPS_CLK_PRESCALE_32 (or _8, _64 etc..) to fine tune it but still no success.

B. The SPI on JPS1 has no signals coming out. I'm using an oscilloscope to trace the signals at the moment. There are no signals coming out of the Pin 2 and Pin 4 on the JPS1-PMOD connector. (ie..MOSI and SCLK pins).

 

Thank you for any suggestions/recommendations.

  • Sign in to reply
  • Cancel

Top Replies

  • jafoste4
    jafoste4 over 8 years ago +1 verified
    Hi Nocturnalpea, What is your current Hardware setup(PicoZed 7030/7020/7015/7010 + FMC V2/FMC V1)? Did you complete issue 82 of the SPI setup? Is your main goal with this to implement a SPI design on your…
Parents
  • jafoste4
    0 jafoste4 over 7 years ago

    Hello Mason,

    These files are now published. Please refer to http://zedboard.org/support/design/13076/106

    Tutorial 06-Tutorial 09 show various use cases depending on your application where you want to use the PL or PS I2C or SPI controller.

    --Josh

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

    Hello Mason,

    These files are now published. Please refer to http://zedboard.org/support/design/13076/106

    Tutorial 06-Tutorial 09 show various use cases depending on your application where you want to use the PL or PS I2C or SPI controller.

    --Josh

    • 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