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.

TIDA-060024: Set the communication command of the ultrasonic sensor

Part Number: TIDA-060024
Other Parts Discussed in Thread: TMS320F28335, , PGA460, PGA460-Q1

how do I use SCITXD and SCIRXD of TMS320F28335 to receive the distance sensed by TIDA-060024? How to set the communication protocol of TIDA-060024?

  • Hi Jerry,

    Please refer to the PGA460 Software Development Guide (Rev. A) and PGA460 Energia Library and Code Example (Version 1.1.0) (Rev. J) for guidance and examples on using an MCU-UART with the PGA460.

    To UART will need be configured as follows (from the PGA460 datasheet):

    The UART asynchronous-mode interface in PGA460-Q1 is designed for data-rates from 2400-bps to 115200-bps operation, where the data rate is automatically detected based on the sync field produced by the master controller. Other parameters related to the operation of the UART interface include:

    • Baud rate from 2400 bps to 115 200 bps, auto-detected (as previously described)
    • 8 data bits
    • 1 start bit
    • 2 stop bit
    • No parity bit
    • No flow control
    • Interfield wait time (required for 1 stop bit)

    Table 3 of the PGA460 datasheet shows you all available UART commands.