Hello,
How can I select the channels of ADS8332? I also don't know how to write the CFR+CMR bits. Which pin should I use? SDI, perhaps?
Many thanks.
------------------------
Hi Gigi,
There are two ways to cycle through channels; either enable the auto-cycle method to automatically cycle through enabled channels as described on page 21 of the data sheet or use a manual channel cycle mode where you use DIN to write to the CMR to change the mux. See table 4 for a list of the commands you will need to set the CFR as well as manually set the mux for channel cycling. You will use the SDI pin to write to the device.
Regards,
Tony Calabria
Hi,
Thanks for your response.
I want to use manual channel select and manual trigger mode because I want to command the ADS8332EVM only via software.
So far I know that I must apply code from 0000b to 0111b to select channels and set the /CONVST on 0L for 40ns and then on 1L. /CS switch to 0L.
Then I must put 1101b on SDI to read data from SDO pin. Am I correct so far?
In manual trigger mode the reading wil be only during sampling as I can see on Page 9 or could it be done via converting too? It says on page 29 that:
"If SCLK is used as the conversion clock (CCLK) and a continuous SCLK is used, it is not possible to clock out all16 bits from SDO during the sampling time (6 SCLKs) because of the quiet zone requirement. In this case, it isbetter to read the conversion result during the conversion time (36 SCLKs or 48 SCLKs in Auto-Nap mode)."
In this case, how the timing diagrams are different in converting time than the sampling time?
Many thanks for your attention,
Gigi.
Have you made progress with the ADS8332? You do not have to write the 'Read Data' command each time you start to retrieve data, the ADS8332 assumes you are going to access data on subsequent access to the serial interface. You should simply be able to write the channel select command, which sets up the MUX for the next acquisition cycle.
Tom