Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

f28377d spi data read

$
0
0

Hi everyone,

I have a question about the spi of f28377d board. The spi has 8-bits and 16-bits transfer but I need to read the data of 24-bits length. How can I do that?

To be more clear, I will send a data of length 8-bits to configure the slave(AD7793)  then, the slave  will send me the data of 24-bit length.

I am trying to do it like below;

After configuring the slave out of the while loop, I should generate 24-bits of clock to read from the slave. Can I write to Txbuf register three consequtive 8-bits of dummy data in while loop to generate a clock length of 24-bits. Is this the way of doing it?

Thank you.


Viewing all articles
Browse latest Browse all 262198

Trending Articles



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