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.

PGA302EVM-037: PGA302EVM-037 I2C register setting value saving method

Part Number: PGA302EVM-037
Other Parts Discussed in Thread: PGA302

Hello,

I am developing a linear hall sensor to amplify PAG302.

When the external MCU sends the register to the PGA302EVM-037 by I2C communication, it has been confirmed that the register is changed in the memory map in the PAG320 GUI.

There is a question here.

If register value is written and RUNNING in RESET mode, is the register value saved?

Is the register value initialized when the power is turned off and on?

Ex) If 0x42 0x47 0x05 is sent to I2C in the memory map of PGA302 GUI, the P channel amplification value becomes 40, but I want to know if the amplification value is set to 40 even when the power is turned off and on.

If it is initialized, I would like to know how to prevent the written register value from being deleted.

Thank you.

seok.

  • Hello Seok,

    Certain configuration settings have both a digital interface register address, which is a part of the volatile memory and will be erased on device reset, as well as an EEPROM address which will be stored even when the PGA302 is powered down. If the configuration is stored in the EEPROM, when the PGA302 is powered back up, the internal digital logic will copy the EEPROM register setting back over to the digital interface register as well, and the configuration will be set.

    The PGAIN setting is one of these. The I2C command you listed is the correct one to set the digital interface register, but if you want to store the PGAIN setting during power-down, you will have to write to the PGAIN EEPROM register.

    Note in the register map that these registers have both a digital interface address as well as an EEPROM address:

    For more detail on the EEPROM programming procedure please refer to the EEPROM Memory section of the datasheet.

    Regards,

  • Thank you for answer.

    I am very happy to have your answer resolved.

    However, there are two problems and one question.

    First, RESET mode does not work on PGA302EVM-037.
    When sending the 0x40 0x0C 0x03 value through I2C communication between the PGA302 GUI and the external MCU, a waveform is generated but the signal conditioner does not recognize it.
    https://e2e.ti.com/support/sensors/f/1023/p/922417/3436110?tisearch=e2e-sitesearch&keymatch=PGA302%20reset#3436110
    The question and problem in the link are very similar.
    Is it just a problem with the signal conditioner IC of the PGA302EVM-037?
    If it is an IC problem, will it be solved by just changing the IC?

    Second, 2.5V is not output to VBRGP on PGA302EVM-037.
    The compensation engine is running and VBRGP knows that 2.5V is output. Today, I saw the voltage of VBRGP for ADC TEST, and 0V is output.
    If a register needs to be set, I would like to know which register should be assigned to which value.

    The last question is.
    Does the PGA302 IC chip have basic firmware like the PGA302EVM-037? I plan to buy 50 or so.
    Ex) ADC, DAC, P GAIN, T GAIN...

    Sorry for the many questions. I must use PGA302 to complete my project.
    Please help.

    Thanks.

  • Hello Seok,

    Have you seen the same reset behavior that was shown in the thread that you linked to?

    How is your PGA302EVM being powered? And where are you measuring the VBRG output? Did you previously see 2.5V on the output, but now it no longer appears?

    Yes the PGA302 is a completed system with the internal compensation algorithm as a part of every device. Any PGA302 device that you buy will always have the same internal logic. The EEPROM settings are all set to default values from the factory and those will need to be changed by the user for each device.

    Regards,

  • During various experiments, the LED did not come into the power supply, so I purchased a new one.

    This is an additional question.

    To set the value of PGA302 of the board I made, I connected the line to PGA302EVM as shown in the figure below and turned on the GUI.
    Then, the PGA302 value of the board I made was shown on the Memory Map.
    Did these features originally exist in the PGA302EVM-037?

    Does the PGA302 EVM have separate multiplexers or switches?
    I2C communication separated by address. Can you tell how this was possible?

    Is there a separate priority for the slave?

  • Hello

    I am using the PGA302 and have a question about the EEPROM register.

    I solved the above question. Thank you for your consideration.

    To get to the point,
    I am adjusting the conditioner value to amplify the value of the magnet with a linear Hall sensor.
    I can see that the DAC output value changes according to the values of H, G and N.

    When I adjusted the H and G values, the values increased up and down the graph.
    (H: 251E -> 21C8, G: 251F -> 351F)

    I want to stretch the value of the graph to the right as shown in red.

    To do that, you need to adjust the values of H, G, and N.

    Please tell me the meaning and usage of H, G, and N.

    Graph vertical: MCU ADC value
    Graph horizontal: moving distance of magnet (100 = 1mm)

    Thanks

  • Hello,

    The above problem was solved by the spacing of the magnet.

    My question is similar to the above.

    Please explain the method and meaning of calculating the values of H, G, N in the EEPROM register in PGA302.

    I look forward to your answer.

    Thanks.