Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

How to create and code a 16-bit spi interface in Microblaze?

Status
Not open for further replies.

ya_montazar

Member level 2
Joined
Feb 24, 2014
Messages
47
Helped
0
Reputation
0
Reaction score
0
Trophy points
6
Activity points
342
Hi to all.
I have created a spi module with 8 bit width data.
Now I WANT TO change it to a 16-bit one.
To do this,I have change its property in XPS and now I should change the codes.
I use this function to transfer data.
Xspi_Transfer (&mySPI,data,NULL,1)

The spi definition is now 16 bit but the function still in 8 bit mode. What should I do?
Changing Xspi.c and *.h is enough? So what should be changed??

I would appreciate it if anyone could help.

Mshin.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top