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.

AFE58JD28EVM: Automation

Part Number: AFE58JD28EVM
Other Parts Discussed in Thread: AFE58JD28, TSW14J50EVM

Hi

In our company, we are working on a measurement system based on several ultrasound cards (transmitters and receivers).
We are interested in replacing the cards we have (from another company) with a number of AFE58JD28 and TSW14J50 cards, when we hoped we could use the HSDCPro Automation DLL.
During the integration work, we discovered that the use of the dll requires the GUI to be open and connected directly to the board.

Here are some questions:
1) Is there a way to use the HSDCPro Automation DLL for several cards simultaneously, without having to use the UI to switch from board to board?
2) We saw that if there are pop-up messages (on the UI screen), the dll commands will not be executed until the message is closed. I saw in a question on the forum that there used to be a HSDC Pro v5.201 version that had the option to disable the pop-up messages. Is it still possible to get this version?
3) We thought of trying to write the control software ourselves, is there low-level documentation? For example, how is the capture command carried out, or which address in DDR should be accessed to receive the sampled information?

Thanks a lot

Moshe Oziel

  • Moshe,

    1. Currently, for the TSW14J50EVM, we don’t have a way to use the HSDC Pro Automation DLL simultaneously with multiple boards without using the UI to switch between boards.
    2. On a recent customer request, we did rebuild the HSDC Pro GUI v5.20 to disable the Connect Board popup based on an INI parameter. Please find the details below. In order to use this functionality, we have to set the “Automated Launch” key as TRUE under “Automation” section in TSW1400.ini, which is located at the following location: 

    TSW1400.ini file path : "C:\Program Files (x86)\Texas Instruments\High Speed Data Converter Pro\TSW1400.ini"

     This change must be mode before running the automation script to launch the GUI. A high level document on the TSW14J50EVM Software flow and Register map details are attached. 

    The rebuild version of HSDC Pro GUI can be downloaded from the following link:

    https://tidrive.ext.ti.com/u/pfs0Mb77NGW3-zQ2/6db961aa-de63-43b8-8a63-1c25bd13b1dd?l

    Hope this helps.

    Regards,

    Jim

    TSW14J50 FW Register Map.xlsxTSW14J50 Software Flow.docx

  • Thanks a lot Jim, 

    The information you sent is very helpful.
    We are having difficulty activating the TSW14J50Board_CLib_1.0.dll.

    Is there a way to get the source code of the dll? Or alternatively, get the signatures of the functions of the dll (the arguments, and the return code)?

  • Moshe,

    Currently, we don’t have any documents explaining the board DLL functions.

    Sometime back, we added a few functions to the TSW1400 Board DLL, which act like wrapper functions for the low-level functions. The purpose of these functions is to skip the HSDC Pro GUI Automation and directly call these functions for board communications. The functions added are similar to the Automation functions like Connect_Board, Select_ADC_Device, Pass_Capture_Event, etc. Inside each function, we have called the TSW1400 board DLL low-level functions. In this way, the capture time was lower compared to using the Automations function in HSDC Pro GUI as we are bypassing the GUI.

     Attached are all of the wrapper functions along with a manual inside a folder and attached it. You can refer to the functions and add them to the TSW14J50 Board DLL. This may help you to understand the TSW14J50 functions and its parameters.

     Regards,

    Jim

    TSW1400 Board DLL Wrapper Functions.zip

  • Thanks a lot!

  • Hi Jim

    We have made good progress, using the code you sent us.
    However, we still cannot read the measurement from the DDR.
    For the function:
    error = TSW1400BrdCtrl_Read_DDR_to_File(fileName,fcode, data, TSW1400DeviceDict[currentIndex].ADCInfo.Channel_Pattern, TSW1400DeviceDict[currentIndex].ADCInfo.Channel_Pattern_Length, TSW1400DeviceDict[currentIndex].ADCInfo.Operation, TSW1400DeviceDict[currentIndex].ADCInfo.Operand, TSW1400DeviceDict[currentIndex] .ADCInfo.PostProcessingLen,timeOut_ms,&num_samples_this_iteration,&total_num_samples,&b_still_capturing,&b_frame_clk_occurred,&b_any_more_data);

    Could you please expand on what the two arrays are:
    TSW1400DeviceDict[currentIndex].ADCInfo.Operation
    TSW1400DeviceDict[currentIndex].ADCInfo.Operand,

  • Moshe,

    TSW1400DeviceDict[currentIndex].ADCInfo.Operation
    TSW1400DeviceDict[currentIndex].ADCInfo.Operand,

    In the ADC INI file, we have a parameter to mention the data postprocessing. The above parameters would pass the operation and operand to the function.

    For TSW14J50 DLL, Configure_PLL function has to be called before calling the Configure_TSW14J50_ADC_Session.

    I have also attached the TSW14J50 header to understand more on the function parameters.

    Regards,

    Jim

    TSW14J50_API.h

  • Thanks a lot

    We are able to configure and receive measurement data via TSW14J50BrdCtrl_Read_DDR_to_File function.

    However, strangely it seems as if the dll does not have the function TSW14J50BrdCtrl_Read_DDR_to_Array, and instead has the function TSW14J50BrdCtrl_Read_DDR_Data (with different arguments).

    Do you have an updated dll?
    We are using the dll from version: HSDC 5.20.

  • Hi Moshe,

    Jim is OOO. We are looking into this for you. Please give us a few days.

    Thanks,

    Rob

  • Moshe,

    The updated DLL is attached.

    Regards,

    Jim

    TSW14J50 DLL.zip