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
ZedBoard Hardware Design How to configure the SPI of Zedboard
  • 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 325 subscribers
  • Views 2534 views
  • Users 0 members are here
Related

How to configure the SPI of Zedboard

Former Member
Former Member over 9 years ago

Hi everybody!!
I just yet get started in the domain of designing hardware this my first experience. So my question is :

How can I configure the SPI to communicate with image sensor who is connecte to the zedboard card via connector FMC ??

Do you have any support or tutto in order to configure registers of the image sensors(in SDK) ?

I m working with vivado but i think i will switch to xilinx design suite.is it a good idea ?

Waiting for your feebacks.
Best regards

  • Sign in to reply
  • Cancel
  • Former Member
    0 Former Member over 9 years ago

    Hello Anisse,

     

    To answer your last question first. Vivado is the current Xilinx tool suite for the Zynq device. You should stick with Vivado for the best performance and support. I would not recommend using the outdated ISE tools.

     

    Assuming you want to control the FMC based image sensor with the Zynq ARM processor the easiest implementation would be to use either the Zynq PS (Processor System) SPI core or add a Quad_AXI SPI core to the PL (Programmable Logic). Either will work but I find the AXI SPI core to be more flexible. To use the PS SPI core you will need to configure the PS SPI signals to connect to the EMIO connections to the PL and then assign these signals to the appropriate Zynq IO pins connected to the FMC connector using a constraints file in Vivado. To use the AXI based SPI core you will need to add that to your block design along with an AXI controller and then make the necessary connections. You will use a constraints file to assign the external SPI signals to the IO pins connected to the FMC connector as you would for the PS SPI.

     

    Depending on the image sensor FMC board you are using you may be able to find an example design already implemented. There are several for the ZedBoard listed on the ZedBoard Reference Designs page: http://zedboard.org/support/design/1521/11

     

    I would also suggest that you work through some of the basic tutorial material available on implementing Zynq designs using Vivado.

     

    The Avnet Zynq Speedways are a good place to start:

     

    http://zedboard.org/course/developing-zynq%C2%AE-7000-all-programmable-soc-software-vivado-20133-and-201441

    http://zedboard.org/course/developing-zynq%C2%AE-7000-all-programmable-soc-hardware-vivado-20133-and-201441

     

    Adam Taylor has a series of blog posts on developing Zynq designs. He uses the MicroZed board but the basic design flow is the same:

     

    http://zedboard.org/content/microzed-chronicles

     

    And there is a lot of good material for the ZedBoard on the Xilinx University site if you are a student or educator:

     

    http://www.xilinx.com/support/university.html

     

    -Gary

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 9 years ago in reply to Former Member

    Hello Edwards,

    I want to thank you a lot for your feedback.

    Best regards

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 9 years ago

    Hi Edwards,

    I have done some tp on my laptop like "hello word" it was succesful although with FSBL on the SD-card.

    I have read some of the support that you had sent me before.

    now my question is very specific i want to know by what should I start for my project ? can i have your adresse mail in order to send you some screen-shoots. " i am trying to interface the Ps and PL by axi interconnect and bridge with vdma.
    thank you for your feedback and help.

    Anisse

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 9 years ago

    Hello Anisse,

     

    We are not in a position to provide individual support on the forum via email. The links provided above should give you a good understanding of how to interface the PS and PL using the AXI Interconnect. If you spend a little time searching for examples and applications notes you should be able to find some good examples on using vdma as well.

     

    -Gary

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 9 years ago

    Hi Edwards,

    I have connected my PS and PL via VDMA and VTC for timing (detection and generation)using build a video design from scratch ( part III add a frame buffer).
    My image sensor outs put are 4 LVDS (each LVDS has two channel A and B).
    what should i do to get my information data ??

    thank you for your feedback,
    -Anisse

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 9 years ago

    Hi Anisse,

     

    I am not sure exactly what you are asking. If it is how to move data from an image sensor into your application that would depend in part on what you are trying to accomplish.

     

    In this case I would suggest that you look at one of the many video reference designs available for the ZedBoard as a starting point:

     

    http://zedboard.org/support/design/1521/11

     

    -Gary

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 9 years ago

    Hi Edwards,

    thank you for your feedback.
    The output of my image sensor is 4 LVDS(each LVDS has 2 channels).
    My question is how can I de-serialize those channels to have a vector like(x downto 0).
    there is an Ip core in vivado that may do this ??

    ps : i need it for the input "vid_data[xx:0]" of my "Video In to Axi4-Stream".

    kind regards
    -Anisse

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 9 years ago

    Hello Anisse,

     

    There is dedicated logic in the FPGA portion of the Zynq device that can perform this function.

     

    This Xilinx app note covers the basic operation:

     http://www.xilinx.com/support/documentation/application_notes/xapp585-lvds-source-synch-serdes-clock-multiplication.pdf

     

    The Display Panel Controller Standalone Tutorials for the MicroZed Embedded Vision Carrier on the MicroZed Embedded Vision Kit Reference Designs page has an example of de-serializing LVDS inputs:

    http://picozed.org/support/design/4681/46

     

    I suspect other reference designs on that page do as well.

     

    -Gary

    • Cancel
    • Vote Up 0 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