Hi,
I am trying MiBSPI, I am using MIBSPI1 as master and MIBSPI3 as slave on TMS570LCHDK.
Both module are configured in five-pin mode(using CLK, ENA, CS0, SIMO, SOMI). Data sending between both modules(using TXRAM, RXRAM and TG0) are working.
My slave would like to receive some command from master, hold ENA high and process the command, then only response via SPI by writing to TXDATA. Then the master will just require single transfer to send command and receive the response. In the end, the MibSPI master and slave will run on two separate TMS570LC4357.
I tried changing BUFMODE to suspend single-transfer mode in the slave, but the ENA signal will still be asserted even if TXFULL=0 on that buffer.
Trying changing BUFMODE to suspend single-transfer mode in master, SPI will stop transmitting when reached buffer with TXFULL=0.
Is it possible to let slave hold ENA high but using BUFMODE in suspend single-transfer mode until TXDATA is updated?
If not, is there anyway to let slave hold ENA high?