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.

Start read ADC register command to AFE4404 via labview

Other Parts Discussed in Thread: AFE4404, AFE4404EVM

Hello,

I'm using the AFE4404 EVM and I'm trying to aquire the code/volts from the ADC. I have a main VI where I sub VI's that initialize the device, a second that initializes the registers, and then a third VI that is trying to read the ADC. This is where I start to have problems. I want to write PC to EVM to capture 1024 packets, according to the documentation I can do this by writing “0x01 0x2A 0x30 0x30 0x30 0x30 0x30 0x34 0x30 0x30 0x0D”. When I attempt to write this to the EVM I get an error. I've attached a screenshot to show how I am doing this. Can you see what I am doing wrong? In my other VI's I can successfully read and write from registers so I'm guessing I'm screwing up the formatting of this message somehow....

  • Hi Alan,

    What is the firmware revision of the AFE4404EVM?
    Are you using the latest version? If not, can you program it to the latest version v1.5?

    The latest version can be accessed from the AFE4404 tools folder at the TI website.
    Here is the link for your reference www.ti.com/.../slac718

    The hex file will be located in the default installation directory:
    C:\AFE4404EVMFWSRC-v1.5\AFE4404EVM_FW_SRC_v1.5_Release\Projects\Firmware_Updater
  • Hi Praveen, I thought I was using 1.4, but I'm not so sure now since the error has disappeared when I flashed to 1.5, so thanks for spotting that.

    But now I am having another issue, the documentation I'm using (Message communication protocol for AFE4404 EVM v4.0) is pretty vague about what format the packets return in, or how take care of the timing of the reading of the packets.

    For example: I am sampling at 150hz, so I send a request to read 1024 samples, now since this should take 6 seconds to read at that sample rate I am putting in a pause to let the board do it's thing, then reading. However the string I get back is very inconsistent in length, sometimes I run it and I can get 2000 numbers back, other times 200 etc. 

    I know you don't officially support labview in this context, but some screen shots of the vi's ( or even the vi's themselves), that you use in the labview based software would be absolute gold to me right now :)

    Alan