Other Parts Discussed in Thread: TMS320F28027
Hi,
i am using TMS320F28027 in one of my project. i wants to communicate TMS320F28027(master) to AD5204(slave) through SPI protocol
if i set SPI_CharLength_16_Bits means it works fine. if i set SPI_CharLength_8_Bits means it is not working
________________________________________________________________________.
This method is working( SPI_CharLength_16_Bits )
SPI_write(mySpi, 0x0116); // combined address and data
_________________________________________________________________________
this method is not working (SPI_CharLength_8_Bits )
SPI_write(mySpi, 0x01); // address
SPI_write(mySpi, 0x16); // data
i think the problem is chip select pin .how to control spi chip select pin
Thanks in advance.
Ramesh