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.

TSW1400EVM + AFE5809EVM Automation

Other Parts Discussed in Thread: AFE5809EVM, AFE5809

Hi everyone,

maybe I am just being blind, but I am trying to interface our AFE5809EVM board which is connected to a TSW1400EVM board via USB. 

I can use the GUI that is provided by TI to setup the AFE5809EVM, however, I would like to do so using Matlab instead of the GUI. The board connects as a serial port on my PC, so I assume that the GUI send's it's command using the serial port as well and hence there should be in principle no problem to do the same with Matlab. However, I can't find anything related to doing so on the web. 

Any ideas where to find information about automating the AFE5809EVM? Documentation of the serial commands, dlls to use, anything?

Thanks a lot, 

Joe

  • Joe,

    Are you trying to automate the AFE5809 or the TSW1400.  The TSW1400 has good automation support, even in Matlab for HSDCPro.  The AFE5809 GUI has no automation support, however.  The AFE5809 EVM connects only through the USB  or SPI header.   Are you trying to control the GUI from Matlab through the USB?

    Thanks,

    Chuck

  • Dear Chuck,

    first, thank you for your very quick reply. 

    What we want to do is able to programatically set some of the settings which can be controlled for the AFE, e.g. activate and change the impedance of the LNA, set the gain, etc. I am aware that those settings are accessible trought the SPI header and I found the documentation for that. We unfortunately  don't have an SPI interfacing option, so I was hoping that we can use the same path that the AFE5809 EVM GUI uses, as it is communicating over USB but sets the register in the AFE using the SPI protocol somehow. 

    But from what you wrote, that is not possible, correct?

    We are able to communicate and control the TSW1400 using Matlab. Thanks for the good examples provided. However, I am not aware of an option to control any of the AFE register settings trough the TSW, or am I missing something? I.e. is there a way of changing the AFE settings with the TSW automation dlls? 

    Regs,

    Joe