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.

PGA460PSM-EVM: PGA460PSM-EVM boot data configuration problem

Part Number: PGA460PSM-EVM
Other Parts Discussed in Thread: PGA460

After the pga460psm-evm device is powered on, how to directly load the data that has been written into the register (or the data in eeprom), that is, how to directly measure the distance using the previously configured data parameters after booting.

For example, after power-on, the configuration parameters of the internal registers and EEPROM are used by default before the P1 or P2 commands are used to test the distance. This process, what steps need to be taken before the ranging command, whether to read the configuration or load the EEPROM, etc.

  • x x2,

    All device settings, except the threshold settings, are based out of EEPROM, so it is possible to burn the EEPROM to save the desired values to the PGA460 to avoid having to reload the EEPROM values after power-up/cycle. Assuming the EEPROM is programmed with your desired values, at the bare minimum, you will need to write to the preset 1 and/or 2 threshold registers to clear the THR_CRC_ERR, which is '1' at device startup.

    Refer to the PGA460 Energia Library and Code Example for an example on how to run the Bulk EEPROM Write , Bulk Threshold Write, and EEPROM Burn commands that you should consider for your code.