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.

PGA450-Q1: UART Communication

Part Number: PGA450-Q1
Other Parts Discussed in Thread: TIDA-00151, PGA450Q1EVM, , TUSS4470, PGA460, PGA460PSM-EVM

Hello,

we are integrating a PGA450-Q1 on a custom board programmed with example program: PGA450-Q1_TIDA-00151_OTP-UART.hex. We are trying to sending command through serial 0x00,0x55,0x01,0x00 using TI-GER board following the instructions on sldu019b pag.7. No response from the sensor we also tried to send commands from a microcontroller at 5V logic levels 19200Baud rate. But no response from the PGA450. Using the PGA450Q1EVM GUI and putting the system in reset is it possible to read and write registers.

What are we missing?

Kind regards,

Matteo

  • Hi Matteo,

    A few items to verify:

    • Have you updated the PGA450-Q1 EEPROM with the values shown in table 3 in the SLDU019B document? What is the sensor address of your PGA450-Q1? The command you are sending assumes sensor address 0x01, which is the value that needs to be programmed into the EEPROM address 0x1F . Alternatively, instead of changing the EEPROM address (should be 0x00 by factory default), change the intended sensor address and send 0x00,0x55,0x00,0x00 instead.
    • Can you use the GUI to confirm that the PGA450-Q1 was successfully programmed with the OTP hex file? You should be able to read value back from the OTP memory space with non-zero values.
    • Ensure you are supplying the PGA450-Q1 with at least 7V at VPWR.
    • Ensure you do not have the UART pins swapped (PGA450-RXD to MCU-TXD and PGA450-TXD to MCU-RXD).
    • Note, only commands 0, 2, 4, and 6 provide responses.

    As an FYI, we now also offer the PGA460PSM-EVM, which is intended to act as a replacement to the PGA450EVM-S. The PGA450 is quite old at this point, and the PGA460 is more flexible and easier to use. Most importantly, it eliminates the need for OTP programming. We also have even newer devices, such as the TUSS4470, but no off-the-shelf small form factor EVM you can buy just yet. Check out the Ultrasonic FAQ for details and a comparison of each depending on your use-case: https://e2e.ti.com/support/sensors/f/1023/t/748143

  • Ok Thank you. Now the Command 0 works. Where can I find an .hex that have Command 1 enabled?

    Kind Regards,

    Matteo

  • Hi Matteo,

    Command 1 does work in the HEX file you have. When I mentioned that commands 0, 2, 4, and 6 provide responses, I meant they are the only commands that return data to the MCU. The other commands still perform an action, but do not return data to the MCU. For example, command 1 performs a time of flight execution, but you need to follow-up with command 2 to get the time of flight result that command 1 generates.

  • Command 0 works, Now I'm sending command 1 wait 5ms than command 2 but no answers from the PGA. 

    What am I missing?

    Kind regards,

    Matteo