Other Parts Discussed in Thread: DAC7678, DAC53608
I'm in the process of writing software to control the DAC7578 in our automated testing. According to Table 14 in the DAC7578 datasheet, it seems the user can set a new code for an individual DAC channel but the code doesn't get passed to the output until a trigger is received. My understanding is that either of the following can be used as triggers to update a single channel:
- Method 1: use Commands b0000 and b0001 to write to DACx input register and then update DACx channel
- Method 2: Command b0011 to write and update DACx channel
When testing this functionality with software, I am unable to get either method to work as I would expect. My questions are in bold below.
- Method 1:
- Reset the part (all channels set to 0x0000)
- Use command b0000 to set channel A to 0xFFF
- Use command b0001 to update channel A
- Channel A output remains at 0 - shouldn't channel A update to 0xFFF once command b0001 is sent?
- Method 2:
- Reset the part (all channels set to 0x0000)
- Use command b0000 to set channel A to 0xFFF and channel B to 0xAAA
- Use command b0011 to set channel C to 0xCCC and update only channel C
- Channels A, B, and C all update once command b0011 is sent - shouldn't only channel C update when command b0011 is sent?