This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

USB SPI DMA MSP430F5528

Hi

I am using MSP430 F5528 with USB connectivity. The USB used DMA 1 I can change it to 0 or 2

1) In the MSP430FF28 and F5525 are all 8 DMA channels available or just 0 1 2 ?

2) I have data coming from SPI 27 bytes data is like one sample and I have a sampling rate of 4KSPS , without DMA I can recieve samples correctly upto 1KSPS at SPI 2MHz MCLK, SMCLK 4 MHz . But any higher  Sampling rate I should expect to get more data points in less time but tht is not happening.

I thought it could be because of speed issues so I thought of using DMA for SPI but I am not sure how to use DMA for SPI when simulateaneously other is running. Could some one provide me details on how to go about it and if possible provide a sample code  for it

 

Thanks

**Attention** This is a public forum