Although this device uses an I2C interface with communication speeds up to 1 MHz, two of the eight pins are dedicated to Alert (pin3) and nReset (pin 6). The Alert pin is intended to be connected, if desired, to an interrupt pin on a microcontroller. According to section 3.5 (ALERT Pin) of the datasheet, "The output of the pin depends on the value of the temperature reading relative to programmable limits," and its function is "explained in a separate application note.
As you may have noticed, this is one of those annoying situations in which the pin configuration is the opposite of what you want: the DAC’s input pins move from bit 7 to bit 0 going downward, whereas the MCU’s output pins move from bit 7 to bit 0 going upward. I couldn’t remedy this by re-assigning the microcontroller pins because I wanted the data bits to correspond to the actual bits of the Port 2 register (so that I could write a full byte to the DAC without moving bits around). So I ended up with some awkward routing, but nothing terrible.
Nolanwebdev - Wiring Diagram Images Collection
Copyright © 2003 - 2018 Domain Media. All sponsored products, company names, brand names, trademarks and logos arethe property of their respective owners.