Hi,
I am using the deflino TMS320C28346 and a FTDI FT232H in combination. The main task is to get data from an ADS1278 to the delfino (which works perfect) and from the delfino to a PC using the FT232H (which is a USB high speed to SPI driver). Data shifted into the DSP is stored in a buffer with a length of 1024 lines and 16bit width. Everytime the buffer is full I have a GPIO rising from low to high which is recognized by the FT232H (which is like a virtual data ready).
The idea is to set the DSP via McBSP in SPI-mode to shift the data using the DMA to work in background. My data packages are pretty big for the driver to work properly.
My question is: How do I need to set up the DMA in SPI slave-mode? I read something about an extra cycle each DMA package is sent? Furthermore, which would be the best way to pick up the data - is it possible to have one big package (1024 * 16bit) or is it better to separate it into smal packages (for instance: sending 1 word/burst and using 1024 burst OR sending 32 words/burst using 32burst)? This would mean I have to calculate with 32 extry cyles, right?
Thank you very much in advance and best regards!
Johannes