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.

AMC7836EVM and LabView

Other Parts Discussed in Thread: AMC7836EVM, AMC7836

I've just received the AMC7836EVM evaluation module along with the SDM-USB-DIG dongle. The included evaluation GUI works fine, but I'd like to control the EVM from LabView proper. How can I go about doing this?
All that I could find in the install directory of the evaluation application was a "Device GUI.h" file, "Device GUI.lib" file and a "Tio32.dll" file, which might prove relevant. 

  • Howdy Lucas and welcome to the e2e forums!  I'm glad you were able to evaluate the AMC7836EVM software.  Unfortunately there is no easy way to program customized labview code to leverage the AMC7836 GUI software.  The AMC7836 GUI software was developed to include fixed routines that get interpreted by the SDM-USB-DIG platform, and sent to the EVM via SPI protocol.  For SPI communication you can interface any communication platform  to the J11 header of the AMC7836EVM. device.


    Best Regards,

    Matt

  • Matt, thanks for the reply.

    I understand that I can't control the included GUI, as nice as that would be (and as somewhat lead to believe by the names of the function declarations in the .h file I found). What I do intend to do now is control the SDM-USB-DIG through LabView. I'm able to open a serial console to the device and it seems to give me a prompt, but I have not been able to find any documentation on what commands I can send through to it. The included demo GUI is obviously communicating with this device, how can I find out what I can send to the SDM-USB-DIG such that it communicates the correct register transfers over SPI with the AMC7836. My request now is basically more documentation on the command protocol for the serial SDM-USB-DIG commands protocol.

    Regards,

    Lucas.

  • I've had some success in reverse-engineering the serial protocol for the SDM-USB-DIG.
    For example, reading the DACA0 data register from the AMC7836 can be accomplished by issuing two 18 byte sequences:
    Firstly 01011105GH8050VVGI and then 01011105GH8051VVGI. This will read registers 0x50 and 0x51, corresponding to the low and high-byte registers of DACA0.

    Writing to a register can be accomplished by issuing a similar command sequence: 01011105GH0050xxGI. This will write an 8-bit value (xx) to register 0x50.
    Between the read and write command, the first 10 bytes seem to be the same (01011105GH). The last two bytes are also seemingly constant (GI). There seems to be a read/write command byte after the first 10 bytes (80 = read, 00=write).
    The SDM-USB-DIG can be connected to via serial comm 8N1@9600 baud.


    If someone from Texas Instruments with actual command sequences and documentation for this device wants to chime in, that would be great.

  • Howdy Lucas,

    The SDM-USB-DIG platform is originally intended to only perform the functionality included in the GUI. There is a chance that the code pertaining to the SDM-USB-DIG is closed source, therefore documentation regarding the device may not be available. I will double check and update this post with my findings.

    Regards,
    Matt
  • Thank you very much, I'd really appreciate if some documentation could be released on it - the whole source code is not necessary (I did find some stripped source code in a post elsewhere on this forum already, but all useful protocol information was not found).
  • Any updates on the information?
  • Howdy Lucas,


    Thank you for your patience.  I've just returned from vacation, and will continue my search for information. It is a little difficult as some people are out because of holiday, but I expect more people to return after the first week of the new year, and that is when I predict I'll have some useful information.

    Best Regards,

    Matt

  • Thanks Matt, looking forward to some information soon.

  • Howdy Lucas,

    Please respond to the message sent via e2e messages.

    Thanks,
    Matt
  • This discussion has been taken offline.

    -Matt
  • Hi Matt,

    I have a similar application to Lucas, but noticed that the discussion was taken off line.

    I was wondering if you managed to solve the problem and if the Labview source code is available for this evaluation board.

    Thanks for your time and help

    Cheers

    Ian