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.

PGA460: about echo data dump function

Part Number: PGA460
Other Parts Discussed in Thread: ENERGIA

Hi all,

My customer is thinking of using the echo data dump function of PGA460.

But it is not working as expected.

Normally, we operate PGA460 (asynchronous).

Only when using the echo data dump function, he would like to use PGA460 in synchronous mode.

The control procedure is as follows:

(1) On-board memory data storage
1. DATADUMP_EN bit set to 1
2. P1_REC bit set to 0x01 to select a recording period with a time length of 8192 μs
3. Burst/Listen command execution
4. SCLK supply (no output in normal case)
5. Data transmitted from PGA460 is H fixed
I expected to transfer 128 bytes of data, but it is H fixed.

(2) Direct Data Burst with USART Synchronization Mode
1. DP_MUX (other than 0x00)
2. SCLK supply (no output in normal case)
3. Command issue (CMD=7 transducer echo data dump)
4. Data transmitted from PGA
*As for the direct data burst operation, the operation has not been confirmed yet.

The echo data dump function is operational.
If you have any countermeasures or procedures, please let me know.

Best Regards,

Ryusuke

  • Hi Ryusuke,

    Thank you for posting to Sensors forum!

    To help clarify, are you trying to do an echo data dump or a direct data burst, as these are two different means to collect data? Also, could you further clarify the unexpected behavior that you are seeing? Some waveforms would be very useful in helping to visualize the issue.

    Best,

    ~Alicia

  • Hi Alicia,

    My customer is trying to do in echo data dump mode.

    I will ask the customer about the waveform and other unexpected behavior.

    Best Regards,

    Ryusuke

  • Hi Ryusuke,

    Thanks for letting me know. Please keep me updated on the waveforms from your customer.

    Best,

    ~Alicia

  • Hi Ryusuke,

    Just wanted to follow up to check if you were able to get the waveforms from your customer.

    Best,

    ~Alicia

  • Hi Ryusuke,

    I am going to close this thread due to inactivity. Please feel to re-open this thread or ask a related question if you still have any questions.

    Best,

    ~Alicia

  • Hi all,

    Sorry for the pause.
    I hope you will allow me to use the thread as it is.

    I have received an inquiry from Ryusuke,
    I would like to confirm this directly.

    Thank you very much.

    Toru

  • Hi all,

    To properly tune an ultrasonic system or,
    to accurately adjust the time-varying gain and threshold,
    We would like to use the echo data dump function for the purpose of properly tuning the ultrasound system and accurately adjusting the time-varying gain and threshold.

    First, we would like to check what kind of data can be obtained by the echo data dump function,
    I tried to operate the function using control procedures (1) and (2), but the values of the setting procedures may be different,
    However, the data was not sent from the PGA460, possibly due to a difference in the setting procedure.
    (The ultrasound measurement result commands other than the echo data dump function can be executed.)

    We have obtained the waveforms at the time of saving the on-board memory data in the control procedure (1).
    (1) On-board memory data storage
      On-board_memory_data_storage_scope_0.png
        Yellow: TX of PGA
        Green: RX of PGA
      On-board_memory_data_storage_scope_1.png
        Yellow: TX of PGA
        Green: PGA clock


    Please let me know if there are any setting procedures or countermeasures.

    Best Regards,

    Toru

  • Hi Toru,

    Thank you for the additional information. I'll need some time to look it over and will aim to provide a response by the end of the week.

    Best,

    ~Alicia

  • Hi Toru,

    We do have Code Examples (via an Energia Library) for this device which does include how to use the echo data dump to get a distance measurement which may help you in using the echo data dump function.

    Please let me know if this helps.

    Best,

    ~Alicia

  • Hi Alicia,


    Thank you for the information.
    We will first review the information you provided.

    Best Regards,

    Toru

  • Hi Toru,

    Sure. When you finish reviewing it, please let me know if it was able to resolve your question or if you still have additional questions.

    Best,

    ~Alicia

  • Hi Alicia,

    We have checked the operation of the software using the information provided in the Software Development Guide,
    We would like to confirm the Echo Data Dump Profile.

    ・Get Echo Data Dump Profile
    First of all, could you tell me what information can be read out when this command is executed?
    (Because we would like to check first if the information we are expecting matches the information that can be read.)

    Next, let us confirm the processing.
    After this command is executed, data (128 bytes) is stored in EDD Memory,
    After this command is executed, the data (128 bytes) will be stored in EDD Memory,
    and the information will be acquired from EDD Memory after a certain period of time has elapsed.
    (I thought it would be the same operation as when measuring ultrasound results, and 128 bytes would be sent together.)

    I apologize if my understanding is wrong.

    Best Regards,

    Toru

  • Hi Toru,

    Get Echo Data Dump Profile
    First of all, could you tell me what information can be read out when this command is executed?

    The Echo Data Dump function allows for the data at the output of the digital data path to be extracted in a raw digital format. For more detailed information please see section 7.3.7 Echo Data Dump in the datasheet. This function can be used for any of the 4 BURST/LISTEN or LISTEN ONLY commands which are described in section 7.3.6.1.1 RUN Commands of the datasheet.

    Regarding what occurs after an Echo Data Dump is executed, please see below snippet from the datasheet:

    Hopefully this helps.

    Best,

    ~Alicia

  • Hi Alicia,

    Thank you for the information.
    First, I would like to confirm the on-board memory data storage functionality.

    I obtained the data based on the example implementation of the data dump for on-board memory data storage.
    After executing DATADUMP_EN=1, P1_REC set, burst/listen (preset 1),
    I was able to read 128 bytes of data by reading from EDD Memory,
    How can I judge the validity of the data read out?
    (I am able to read out something, but I am not sure if it is a normal value or not.)
    Also, is the data you were able to read the maximum peak value (Amplitude) out of 64 samples correct?

    Best Regards,

    Toru

  • Hello Toru-san,

    Alicia is currently out of the office today. She will review your response when she is back on Monday, thank you for your patience!

    Best,

    Isaac

  • Hi Toru,

    One of the things that you can do to help ensure that your data is valid is by checking the Diagnostic Field (described in section 7.3.6.2.1.7 Diagnostic Field of the datasheet) to ensure that no error has occurred.

    Also, is the data you were able to read the maximum peak value (Amplitude) out of 64 samples correct?

    To clarify, is this in reference to the highlighted below?

    Best,

    ~Alicia

  • Hi Alicia,

    Sorry for the delay in getting back to you.
    I understood that the decision will be made in the diagnostic field.

    Best Regards,

    Toru

  • Hi Toru,

    Thanks for letting me know! Was this able to answer all of your questions? Are there any other questions that you have regarding this topic? Please feel free to let me know.

    If your questions have been answered, please mark this thread as resolved.

    Best,

    ~Alicia

  • Hi Alicia,

    Let me also check on direct data bursting.

    ・Direct Data Burst
    When a UART command is used after setting the DP_MUX parameter, it is recognized that data can be received in response to the UART command,
    I am aware that data can be received according to the UART command after setting the DP_MUX parameter,
    Is this correct?
    (This applies to send/receive, receive only, and temperature reading commands.)

    Data stream
    +--------------+---------------+-----+----------------+-----------------+
    | Diag Data | Data-1[0:7] |  ...  | data-N[0:7] | chksum[0:7] |
    +--------------+---------------+-----+----------------+-----------------+

    Also, by setting DP_MUX=0x1-0x4,
    The source signal to be bursted from the device can be selected.
     DP_MUX=0x0: Disable
     DP_MUX=0x1: LPF output
     DP_MUX=0x2: Rectifier output
     DP_MUX=0x3: BPF output
     DP_MUX=0x4: ADC output
    ※When data burst is enabled, object detection and measurement are disabled.

    Set DP_MUX based on the information you want to obtain, and then execute the command,
    Is it correct to say that information can be acquired by setting DP_MUX based on the information to be acquired and then executing the command?

    We would appreciate an answer by 6/30.

    Best Regards,

    Toru

  • Hi Toru,

    When a UART command is used after setting the DP_MUX parameter, it is recognized that data can be received in response to the UART command,
    I am aware that data can be received according to the UART command after setting the DP_MUX parameter,
    Is this correct?

    Yes.

    Is it correct to say that information can be acquired by setting DP_MUX based on the information to be acquired and then executing the command?

    This is correct. Once the DP_MUX is enabled (some value other than 0x0, but less that 0x5), that data is then transmitted via the UART TXD pin once any of the send/receive, receive only, or temperature read commands are issued.

    Best,

    ~Alicia

  • Hi Alicia,

    What do you mean by a send/receive, receive only, or temperature reading command?
    Is the following correct?
     The command that is marked "PGA460 response available" in the command list of the UART interface.

    Please expand the information if there is any discrepancy in the above recognition.

    Best Regards,

    Toru

  • Hi Toru, 

    Is the following correct?
     The command that is marked "PGA460 response available" in the command list of the UART interface.

    Yes, this is correct.

    Best,

    ~Alicia

  • Hi Alicia,

    Sorry for the delay in responding.

    Regarding the echo data dump,
    I would like to use it for different purposes.
    I will contact you if I have any further questions or concerns.

    Best Regards,

    Toru

  • Hi Toru,

    Thanks for letting me know. In the meantime I will go ahead and close this thread for now. If you have any additional questions, please feel free to reopen this thread or ask a related question.

    Best,

    ~Alicia