Hi all!
I need to set a SPI which is 159 bits long. This is the code:
And this is the array which keeps the SPI word:Code:SpiTransfer(FALSE, SPI_SETTING_, F_1KHZ_, Spi_Word, Spi_Readback, DATA_LENGTH_);
The problem is that the SPi_Word gets truncated, but I don't know why... Besides I don't know why it gets truncated, I don't know how to solf this issue.Code:uint8_t Spi_Word[20]= { 0x00, 0x00, 0x26, 0x05, 0x00, 0x01, 0x68, 0x00, 0x0F, 0x80, 0x00, 0x00, 0x00, 0x00, 0xC1, 0xCF, 0x72, 0xE8, 0x60, 0x20, };
Any help would be appreciated,
Regards,
Coen



LinkBack URL
About LinkBacks




sorry about that... That function is part of an dll, that's why I posted the description of it. 