Hello,
I'm trying to send a byte array to the SPI Channel. My Problem is, that I only see the first byte of the array on the SPI TX line when I sent the array through a configured DMA Channel. The SPI Transfer works without DMA. So I think it must be a Problem of the right DMA Configuration.
I configured the ParamSet for the TX Channel as follows:
aCnt = u16_arraySize;
bCnt = 1;
bCntReload = 0u;
cCnt = 1u;
srcBIdx = 0;
srcCIdx = 0;
destBIdx = 0;
destCIdx = 0;
srcAdress = u32_arrayAdress;
destAdress = SOC_SPI_0_REGS+MCSPI_TX(1);
syncDimension = EDMA_PARAM_SYNC_TYPE_A;
prvLvl = B_FALSE;
setStatic = B_TRUE;
Is there anything wrong with the configuration of the ParamSet?
What else could be the Problem?
Thank you