Quantcast
Channel: Processors forum - Recent Threads
Viewing all articles
Browse latest Browse all 17527

EDMA3 LLD SPI receiving data

$
0
0

 Hello everybody!

I want to organize SPI receiving data from external ADC.

I use EDMA3 LLD and psp spi example. 

my C6748 should receive data from ADC by the BUSY external signal on GPIO. EDMA should receive data continiously and makes interrupt after block of transfer.

So my comprehension of steps:

1) I should configure EDMA driver for GPIO event for the start transmitt of dummy bytes

2) I should configure EDMA for linking mode

2) I should configure four PaRamSet of EDMA (one for TX dummy data, one for RX data, and two for ping/pong buffer)

3) I should call GIO_submit() just once in my application for start the first EDMA transaction.

After this SPI driver will receive data form ADC automatically after each BUSY signal on corresponding GPIO.

Is it correct?


Viewing all articles
Browse latest Browse all 17527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>