(SOLVED)MAX31856 (Digital TC Amplifier) Locked Up

Discussion in 'Analog & Mixed-Signal Design' started by jpanhalt, Dec 4, 2018.

  1. jpanhalt

    Thread Starter Expert

    Jan 18, 2008
    6,448
    1,251
    I am using the MAX31856 digital thermocouple amplifier on the Adafruit backpack board coupled with a PIC16F1783.

    SPI works and can read all of the device's registers. However, the device seems to be locked up in "interrupt" mode. Reads of all the registers show default values and no pending faults.

    Anyone have experience unlocking that chip? I tried the datasheet way of writing to FAULTCLR without success.
     
  2. jpanhalt

    Thread Starter Expert

    Jan 18, 2008
    6,448
    1,251
    SOLVED
    Apparently the default is to do nothing. After messing with the registers and trying to create a fault, I set bit 7 of Reg 0x00 to allow periodic readings, and it came to life (reads about every 100 ms and DRDY bit works). Adafruit's code is all in arduino C. I don't know whether that code does that.

    This statement (emphasis added) in its brochure:
    caused me to assume that activating DRDY for periodic readings was not necessary.

    This is the second time I have been caught by a device with a default state of being off. (The first time was the BMC156 accelerometer and compass.)
     
Loading...