Hi, I need to ask some help. I am trying to configure MIBSPI3 o SPI3 it is the same. To send 3 bytes to a DAC 8771, for configuration etc. But i need to get low CS at start until reach the last byte. I try some configurations like Chip select hold and Chip Select Hold Fc. And that not work.
Using Chip Select Hold I got this
using both hold and FC I got this
I need something like this,
The problem was that it has 16bits of data. I try 8 bit in SPI3 but not works. That is why i come back to MIBSPI3
// this is my code to send a command
uint16 TX_Data_Master[3] = { 0x00, 0x00, 0x00};
mibspiInit();
TX_Data_Master[0] = DAC8771_ADD_REG_SEL_BUCK_BOOST;
TX_Data_Master[1] = 0;
TX_Data_Master[2] = 1; // bit RST = 1
mibspiSetData(mibspiREG3, 0 , TX_Data_Master);
mibspiTransfer(mibspiREG3, 0 );
while(!mibspiIsTransferComplete(mibspiREG3, 0 ));
thanks in advance






