Hi,
I have a question concerning the FSI communication between multiple F28004x control cards. I want to send and receive 8 words frame using DMA, I did these settings in the lead device :
FSI_setTxFrameType(FSITXA_BASE, FSI_FRAME_TYPE_NWORD_DATA); FSI_setTxSoftwareFrameSize(FSITXA_BASE, nWords); // nWords = 8 FSI_setTxDataWidth(FSITXA_BASE, nLanes); FSI_setTxUserDefinedData(FSITXA_BASE, txUserData); FSI_setTxFrameTag(FSITXA_BASE, txDataFrameTag); FSI_setRxSoftwareFrameSize(FSIRXA_BASE, nWords); // nWords = 8 FSI_setRxDataWidth(FSIRXA_BASE, nLanes);
I configured DMA to uptade TX buffer. I have a question about reseting the RX and TX circular buffer, currently I'm resetting them in the DMA_ISR but is it necessary to do it or it will restart automaticly to beginning after the 8th word because we specified the frame size as 8 words?
And if it is necessary to do it, can we do it with another way than by the CPU, using the DMA or something else?
Thank you in advance for your answer !