13.GENERATING AN ANALOG OUTPUT

This chapter describes the steps involved in generating an analog output (also called performing a D/A conversion) on a selected output channel using direct programming (not with the driver software). There are six steps involved in performing a D/A conversion:

1 . Compute the D/A code for the desired output voltage

2 . Compute the LSB and MSB values

3 . Add the channel number to the MSB

4 . Set D/A Simultaneous Update bit

5 . Write the LSB and MSB to the board

6. Monitor the DACBUSY status bit

Last updated