Sign In

Don't have a Xilinx account yet?

  • Choose to receive important news and product information
  • Gain access to special content
  • Personalize your web experience on Xilinx.com

Create Account

Username

Password

Forgot your password?
XClose Panel
Xilinx Home
Reply
Super Contributor
garengllc
Posts: 174
Registered: ‎04-10-2012
0

How to handle MicroBlaze SPI's MISO being inout in a design

I have a design on a custom board with SPI going to a DAC that has a pin labelled as SDO.  In my mind that SDO from the DAC is really MISO and the SDIO would function as a MOSI.  I setup my declaration to handle it this way, but I get a Xst:528 Multi-source - signal is connected to multiple drivers error.  Driving down into the microblaze code that is generated, I see that they make those pins inout which I assume is causing my issue.  What is the best way to  handle this?

 

Also, where is the best place to look for examples/tutorials for SPI on microblaze?  I see some in the C:\Xilinx\13.4\ISE_DS\EDK\sw\XilinxProcessorIPLib\drivers\spi_v3_03_a\examples directory, but they look different enough from teh generated code that teh SDK created that it makes me hesitant.