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.

[AFE44x0EVM] Stop Read ADC Register Command



Hi,

I was testing commands following "Message Communication Protocol v4.0" by using AccessPort.

It seemed OK for most commands except when it goes to continuous data.

From the document: [PC sends: “0x01 0x2A 0x00 0x00 0x00 0x00 0x0D”]

First of all, the packets of 4 "0x00" seemed to be 0x30 for ASCII so that we can see the output data continuously.

Next, when it continuously output data, I found it no use for sending Stop Read ADC Register Command: 0x06 0x0D.

It still output data and never stop.

The firmware version is v1.4.

Any ideas? Thank you.

Best regards,

Webb

  • Hi Webb,

    There is a mistake in "Message Communication Protocol v4.0". For continuous data capture mode, PC sends 0 as No of Packets as shown below.
    PC to EVM : "0x01 0x2A 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x0D"

    In continuous capture mode EVM sends data until user hits "Stop" button. When "Stop" button is pressed GUI issues a Stop Read ADC Register Command (i.e. 0x06 0x0D) and EVM stops sending data to PC.

    Thank you pointing the mistake, hope this helps.

    Regards,
    Prabin
  • Hi Prabin,

    Thank you for reply.

    Actually my problem is as follows:
    If the Stop Read ADC Register Command is sent by AccessPort other than the AFE44x0EVM GUI, I found it unable to stop transmitting data.

    Is there anything need to be done before sending the stop command? (Such as some initial register setting.)
    Thank you.

    Best regards,
    Webb
  • Hi Prabin,

    I've checked with other programming interface to send stop command.
    It works fine.
    Maybe the problem is because AccessPort cannot send data while keep reading.
    Thank you.

    Best regards,
    Webb