ya_montazar
Member level 2
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.
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.