Hello,
I'm having problems sending an array with lpspi using dma.
I'm trying to send this array 5 times:
uint8 TxMasterBuffer[NUMBER_OF_BYTES] = {0xA5, 0xA5, 0x6, 0xA5, 0x7};
for(int i = 0; i<5; i++){
Lpspi_Ip_AsyncTransmit(&SPI_EXTERNAL_DEVICE, TxMasterBuffer, RxMasterBuffer, NUMBER_OF_BYTES, Lpspi_Ip_Callback);
}
The problem is that it only send one time the array. When I debug it changes the received buffer but in oscilloscope I can only see one message.
Is it a problem with configuration or the dma can't support this operation? I'm using the lpspi RTD's.