2008-08-12 Configuring an ADC

Last edit

Changed:

< Occasionally, I'd do the detailed work myself and the steps would be:

to

> Occasionally, I'd do those detailed steps in a script and the steps would be:


On the DAC board, for testing purposes, a Cirrus Logic ADC is present.

It's the same ADC as used in another project. These babies are pretty well-versed feature-wise, as far as my experience goes anyway. The one we use (CS5534) has four channels, each of them with its own configuration registers for selecting measurement time, range selection, offset enablers, offset registers, et cetera.

What's different here is the FPGA in between the software and the ADC. In the previous project, I'd just write the configuration register for a certain voltage range and kick off a macro contained in the FPGA flash. Read back results and voilĂ .

Occasionally, I'd do those detailed steps in a script and the steps would be:

Currently, it's a bit simpler: just read out and convert.