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.
In reply to Matthew Sauceda:
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.
In reply to Lucas Berezy:
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.
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.
Thanks Matt, looking forward to some information soon.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.