Post Go back to editing

AD8557 - cannot get the gain or offset to write

I am using (or trying too) an AD8557 connected to a pressure sensor (wheatstone bridge).  All is being controlled by an Atmel AT32 processor (3.3v).  With a tube attached to the pressure sensor, I can get 4mV across the + and - of the bridge.  With no pressure, the output of the + and - leg of the bridge is 1.654v, with respect to ground. The output of the AD8557 shows 13mV with no pressure to 38mV with the 4mV.  Obviously I would like a little higher output voltage from the AD8557 - and therein lies the problem - I cannot get the output to change, regardless of what I program the 2nd Stage, Offset, and 1st Stage to be.  So far I have only tried this in the Simulate Mode.

I have used my oscilloscope to verify that the pulses going to the Digin of the AD8557 are correct - and they are.

I am using 100us for a one, 5us for a zero and 20us between pulses.  I am waiting 100ms between the 3 different transmissions.

I am sending the 2nd Stage gain, followed by the offset and then the 1st Stage gain.  I have tried these in different order, with different values for the gains and offset, with no luck.

An example of what I am sending would be the offset with a value of 0x80 (1000000b)  The three  pictures show the 38 bit wave form in two sections - the first section goes from the start of the 38 bits through the 1st two bits of the last 12 bit ending packet.  The second section shows the last 10 bits of the 12 bit ending packet.

The third picture is a smaller time scale of the beginning of the 38 bits showing a 1 and three 0's so that the timing of the 1, 0 and between pulses is clear.

Any suggestions would be appreciated!

Kind regards,

David

  • Hi David,

    Thanks for  the clear pictures and details of your  question.

    Here are some of my comments:

    • Programmed values (gain and offset) has no effect until the master fuse is blown. Be reminded that when you have choose your gain and offset, it is  permanently programmed once the master fuse is blown.
    • If you still can run in simulation mode, that means that the master fuse is still not blown. After blowing the master fuse, the gain and output offset are determined solely by the blown fuses, and the simulation mode is permanently deactivated.
    • When programming the AD8557, 5.75V supply is required when blowing fuses. What is your supply for AD8557. The code you sending maybe right but with no proper power to blown the fuses causes unsuccessful programming.
    • The best way to verify correct programming is to use the read back mode to read the programmed values. Please refer to Read Mode Section of the DS.

    Hope it helps. Please let us know  if these don't work for you so that we can help you out.

    Regards,

    Phil

  • Hi Phil - right now I am only trying to run in simulation mode, until I can get the values determined.  It is in the simulation mode I cannot get the gains or offset to change.  So "writing" as in permanently programming is not what I am attempting to do, rather "writing" in the simulation mode is what I am trying, and not succeeding at.

    Kind regards,

    David

  • Phil - there are 4 AD8557s on the board I am building - I had them with separate DigIn lines, and had been working with the latest AD8557 I had put on the board.  I just modified the board for all 4 DigIn lines to be tied together to s single pin on the processor.  Ran the program and 1 of the AD8557 accepted values in the simulation mode.  So it appears I have 3 dead AD8557s.

    The simulation program does work after all. 

    Thanks,

    David

  • Hi, I run into the same problem as David and I don’t think Phil’s answer is fully correct. In simulation mode the set values from first, second gain and offset are immediately active. So without a blown fuse the parameters of the AD8557 can be modified and the amplifier uses the new parameters. The original documentation of the AD8557 is not clear about this issue. For me it was helpful to check the chapter “shorted wire fault detection”, too.

    Regards svp

Before You Switch


Switching languages will make ADI Explorer unavailable. Resume your session by switching back to English and reopening ADI Explorer.