Tool/software:
I have worked with this device on 4 different applications, device works well.
The problem is that my newest application hangs up occasionally when I write to a register or acquire data. There is one main difference with this application: I am in this case outputting a current source from the chip. All functioning circuits that use this chip are identical electrically and are controlled the same way.
The only differences between them are the register settings.
- This is an example of typical register values I initialize when things work properly.
Register 40h = 0xB1, set input configuration, no gain
Register 44h = 0x00, default to 20 SPS, single shot mode
Register 44h = 0x00
Register 4Ch = 0x00
- When I use these register settings I get the occasional hangs.
Register 40h = 0x72, set input configuration and X2 gain
Register 44h = 0x48, set at 90 SPS, single shot mode
Register 44h = 0x01, set current source to 10ua
Register 4Ch = 0xA0, set REFP as DAC1 current source output
Again, the circuit works fine, we sample once every second or so. The I2C hang is maybe 2-3 times during an 8 hour period of run-time.
Any thoughts on this issue?