This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

PGA305: PGA305

Part Number: PGA305
Other Parts Discussed in Thread: PGA900

Hi

Id like to find the correct procedure to access the PGA305 24 bits of all four options displayed on the manual as I2C run time commands page 32. I had changed the two values in the COMPENSATION_CONTROL Register to all combination possible but not success at all. I'm just getting Zeroes in any combination. I checked the TADC and PADC and I have signal but not RUNTIME OutPuts. 

Please advice..

  • Hi Francisco,

    If you are looking for the compensated output in digital form through I2C, COMPENSATION_CONTROL should be set to 0x0. If you are using the GUI you can read the outputs while the device is in compensation mode by going to the COMBUF Page.

    Regards,
  • Hi Scott
    Thanks by answering my question and welcome back.
    I have being doing  what you said and still get only 0x00 in all of the three channels, I used my last untouched PGA305 with the GUI and it has same results.
    Please send me a configuration that you know works with the EVM and the internal temperature and EVM resistor bridge.
    I may have a bad batch of ICs??
    Please advice
     
     
     
    Francisco Requena
    DOWNHOLE TECHNOLOGY
    Mobile: +1 (432) 312-8647
    7414 Breen Dr, Houston TX 77086
     
  • Hi Scott
    I tried twice to open the PGA305GUI and it give me an error, do you have another way to get that document?
    I uninstalled the GUI software and downloaded a fresh version two time with same results.
    Regards
     
    Francisco Requena
    DOWNHOLE TECHNOLOGY
    Mobile: +1 (432) 312-8647
    7414 Breen Dr, Houston TX 77086
     
  • Hi Francisco,

    What is the operating system you are using? Have you installed the Labview runtime engine?

    National Instruments LabVIEW Run-Time Engine 2012 from the below link.
    www.ni.com/.../

    Regards,
  • Scott,
    Im using Windows 7, this installation failed to install that labview but I have labview in this machine. I had not being able to uninstall this one as the unistall is corrupted.
    I need a new version and a way to uninstall this actual one.
    Regards
     
    Francisco Requena
    DOWNHOLE TECHNOLOGY
    Mobile: +1 (432) 312-8647
    7414 Breen Dr, Houston TX 77086
     
  • Hi Francisco,

    Can you please upload the exact installation file you are using?

    Thanks,

  • I tried but the system complained due that the max file  size is just 20MB and the installation file is about 66MB, let me know if im doing something wrong. this is the  version of this installer file :  PGA305_Installer_v1.6.1

  • Hi Francisco,

    That should be the correct installation file. Can you please post the error that appears when you try to run the GUI?

    Regards,
  • Hi, Scott
    The only issue I have is the ability to read the outputs while the device is in compensation mode by going to the COMBUF Page. when i do that using I2C the device present a watchdog error that lock the PGA and i can put it in Reset using I2C GUI controls.
    I use the GUI OWI capabilities to unlock the PGA but still the COMBUF register cant be read or I have just zeroes as answer on all channels.
    I need to know what is the write way to set the device to use the combuf, I mean what is the correct way to access the combuf registers.
  • Hi, Scott
    The only issue I have is the ability to read the outputs while the device is in compensation mode by going to the COMBUF Page. when i do that using I2C the device present a watchdog error that lock the PGA and i can't put it back in Reset using I2C GUI commands.
    I use the GUI OWI capabilities to unlock the PGA but still the COMBUF register can't be read using OWI either or I have just zeroes as answer on all channels.
    I managed to set the registers of the digital interface of this device using the PGA900 manual as reference. This was necessary as there are few register that need correctly set of are not mention on the PGA305 datasheet. So I managed to read 24 bits information using the Digital Interface.
    I need to know what is the right way to set this device to use the combuf, I mean what is the correct way to set the device and access the combuf registers.
  • Hi, Scott
    The only issue I have is the ability to read the outputs while the device is in compensation mode by going to the COMBUF Page. when i do that using I2C the device present a watchdog error that lock the PGA and i can't put it back in Reset using I2C GUI commands.
    I use the GUI OWI capabilities to unlock the PGA but still the COMBUF register can't be read using OWI either or I have just zeroes as answer on all channels.
    I managed to set the registers of the digital interface of this device using the PGA900 manual as reference. This was necessary as there are few register that are not mentioned on the PGA305 datasheet. So I managed to read 24 bits information using the Digital Interface.
    I need to know what is the right way to set this device to use the combuf, I mean what is the correct way to set the device and access the combuf registers.
  • Hi Francisco,

    Can you please describe the exact procedure that you are currently using to try to read the compensated output via the combuf registers and what happens at each step?

    Regards,
  • Hi Scott, nice to hear from you, I attached a PDF file with a summary of what I did. I also pasted from word below 

     

    Procedure to read COMBUF Registers:

     

    A.- Previous to the procedure, with device in DI mode:

    1. Load EEprom with required Values using Cache.
    2. Load DI register with appropriate Values.
    3. Place the PGA305 in Run Time Mode placing COMPENSATION_RESET = 0.
    4. Send 0x00 to Address 0x40 register address 0x08 and 0x09. // to clear                    COM_DIF_TO_MCU B1 and B2 registers.
    5. Send 0x01 to address 0x40 Register 0x0A COM_RX_STATUS // I do this as i found                           to be useful, but I tried without this and have same results.

     

    B.- Procedure for reading COMBUF (only Temperature as an example):

     

    1. Write Command 0x02 to address 0x40 Register 0x09.
    2. Write 0x01 to address 0x40 Register 0x0A, COM_RX_STATUS // I found                 this to be useful, but I tried without this and have same results.
    3. Read (Monitor) COM_TX_STATUS (Register 0x06) or COM_RX_STATUS (Register 0x0A) to change but it never happened. I tried without Waiting too with same results.
    4. Read Byte2(MS Byte) from address 0x40, Register 0x04.
    5. Write Command 0x70 to address 0x40 Register 0x09.
    6. Write 0x01 to address 0x40 Register 0x0A, COM_RX_STATUS // I found                 this to be useful, but I tried without this and have same results.
    7. Read (Monitor) COM_TX_STATUS (Register 0x06) or COM_RX_STATUS (Register 0x0A) to change but it never happened. I tried without Waiting too with same results.
    8. Reads Byte1 (Mid S Byte) from address 0x40, Register 0x05.
    9. Reads Byte0 (Less S Byte) from address 0x40, Register 0x04.

     

    This procedure was done with all possible combination with and without monitoring the status registers with same result:

    Read 0x00 and device locked by Dogwatch who was enabled by itself.

     

     PGA305_COMBUF.pdf

  • Hi Francisco,

    Thank you for the detailed information. Do you have any PGA305 devices which have not been used before? If so, can you please read the full contents of the EEPROM and post them here?

    Thank you,
  • Scott attached a file with few screen captured of a virgin device EEPROM.PGA305_raw.docx

  • Scott
    Just in case you can see the attachment ..here it is  
     
     
    Francisco Requena
    DOWNHOLE TECHNOLOGY
    Mobile: +1 (432) 312-8647
    7414 Breen Dr, Houston TX 77086
     
  • Hi Francisco,

    Can you please add me as a friend and send a message with your email address so that I can follow up with you on this?

    Thanks,