[Worked around it] SPI Transfer half complete Not working corectly
I have setup the spi connection, and i'm testing it with a logic analyzer.
It all works great. BUT, the Transfer half complete interrupts occurs before any data is transferred when i use;
(HAL_SPI_TransmitReceive_DMA(&SpiHandle, (uint8_t*)aTxBuffer, (uint8_t*)aRxBuffer, BUFFERSIZE);
When i use;
(HAL_SPI_TransmitReceive_DMA(&SpiHandle, (uint8_t*)aTxBuffer, (uint8_t*)aRxBuffer, 12)
i do get the Transfer half complete interrupts in the middle of the transfer.
It doesn't matter if i use normal, IT or DMA
EDIT: I wanted to use the interrupts for my Chip select, but now i use the harddware NSS as output, works better. but... The DMA half transfer still dint work. But yeah.
