Posted on February 17, 2014 at 16:07
Hi,
I'm using the F407 (Discovery) as a SPI-Slave with DMA enabled and a ''data ready'' signaling line. I'm currently trying to transfer data in dual buffer mode (the host cpu might also send configura...
Posted on February 17, 2014 at 17:32
void
SPI_Tx_Start(volatile uint8_t *pBuf)
{
//Check if there is no ongoing transfer. No need to do anything if still transfering since HT-IRQ will check if data left to send
if
(SPI_CheckTxInProgress() == 0)
{...
Posted on February 17, 2014 at 17:19Ok, so the correct flow should be (I'm obviously using the disable with no later on restart):1. Disable2. Wait unitl disabled (<- Missing right now)3. Setup M0/M13. Setup NTDR (<- Missing right now)4. Enable?