Quantcast
Channel: Data converters
Viewing all articles
Browse latest Browse all 27575

Forum Post: RE: Linux/ADS7841: ADS7841Q Data conversion formula and corresponding linux driver and application

$
0
0
Hi Ranjith, Most likely, you are missing the MSB of the conversion result. The MSB will always be latched on the 10th DCLK rising edge. This would mean that you must use SPI Mode 0 (CPOL = CPHA = 0). I also forgot to ask, how many clocks per conversion are you sending? To answer your other questions, the DCLK and conversion rate are not the same. The DCLK is your only clock input to the device and used both for conversions and for serial interface. The DCLK frequency and the number of clocks per conversion (15, 16, or 24) set the conversion rate. For example, if you are aiming for 5 kSPS with 16 clocks per conversion, DCLK must be at least 80 kHz. The command byte will overlap with the conversion data from the previous acquisition in that case (see Figure 4). Best Regards,

Viewing all articles
Browse latest Browse all 27575

Trending Articles



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