Hi there,
I've succeeded in setting up a MibSPI using TG and DMA to transfer up to 128 x 16-bit words and understood well the mechanism, I believe.
When my TX size is within 128 words, the MibSPI sequencer transmits data in the TXRAM and save RX words in RXRAM, so all I have to do is to start the sequencer and once the last word is RX (defined by BUFID), the DMA kicks in and copy all RX data to my application RAM.
Now I'm trying to understand how to setup using this same SPI transmission scheme but with a larger buffer but could find information for my understanding. I understand that I have to set the LARGE COUNT bit in the DMACNTLEN register, then set the ICOUNT field of the ICOUNT register to the size of my buffer to be transmitted, up to 64K. Below are some of my questions and hope that someone can shed some light.
What registers to configure to instruct the MibSPI sequencer to take data from the application RAM (larger than 128 words, let say, 1024 words)?
How the mechanism works to transfer each chunk of data to the TXRAM?
Where can I configure the RX buffer written to trigger the DMA at the end of transfer (it was BUFID when <= 128 words)?
Thank you very much for any help.