AnsweredAssumed Answered

Transfering data using SPI using the DSP as slave

Question asked by DelperB on Mar 12, 2010
Latest reply on Mar 25, 2010 by jeyanthi.jegadeesan

Hi,

 

    My peripheral will collect data in 18 bits packages, and it can transfer them as a SPI master to the ADSP21369 which will operate as a slave.   Will be using the VDK as the kernel to operate and we want to store all the data in a memory pool, to transfer it later to another process. 

 

     Does anyone knows how should I configure the SPI / DMA to transfer 18 bits chunks to the DSP?  Besides the DSP should receive about 2000 packages of 18 bit data before triggering a DMA interrupt.    Anyway to do this in the VDK environment?   I presume the DSP-SPI channel can be configured as a slave to get data, and then the DMA associated should be configured to get all that amount of data.  But I saw it can only take either 8, 16 or 32 bits packages.   What happend if the data is 18 bits?

 

Regards

Outcomes