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.

OPT3101EVM: No data stream when running Latte

Part Number: OPT3101EVM
Other Parts Discussed in Thread: OPT3101

I am having problem with streaming data from my OPT3101EVM kit. I am able to start Latte and it finds the EVM device OK but when I click on the "Start Capture" button I do not get any data streaming and after a couple of seconds the Log window displays:

"Capture data from EVM timed out -- no data received from EVM. Stopping capture"

I have tried everything as specified in the user manual and Windows 7 correctly displays the Control and Data com ports when the EVM is plugged in.

Apart from an "operation Flash read Failed" error Latte does not report any other errors when loading.

What am I missing here. I have tried everything I can think of and still no data stream.

  • Hi,

    When you open latte it will open a black command prompt window that will stay in the background. Have you checked that for errors? If any errors printing there can you supply these?

    Best,

    Alex

  • Hi Alex,

    No there are no errors reported. See window contents below.

    I have also installed the EVM on another Windows 7 computer and I get the same result.

    [1240] PyInstaller Bootloader 3.x
    [1240] LOADER: executable is C:\Program Files\Texas Instruments\Latte\bin\latte.
    exe
    [1240] LOADER: homepath is C:\Program Files\Texas Instruments\Latte\bin
    [1240] LOADER: _MEIPASS2 is NULL
    [1240] LOADER: archivename is C:\Program Files\Texas Instruments\Latte\bin\latte
    .exe
    [1240] LOADER: No need to extract files to run; setting extractionpath to homepa
    th
    [1240] LOADER: SetDllDirectory(C:\Program Files\Texas Instruments\Latte\bin)
    [1240] LOADER: Already in the child - running user's code.
    [1240] LOADER: Python library: C:\Program Files\Texas Instruments\Latte\bin\pyth
    on27.dll
    [1240] LOADER: Loaded functions from Python library.
    [1240] LOADER: Manipulating environment (sys.path, sys.prefix)
    [1240] LOADER: sys.prefix is C:\PROGRA~1\TEXASI~1\Latte\bin
    [1240] LOADER: Setting runtime options
    [1240] LOADER: Initializing python
    [1240] LOADER: Overriding Python's sys.path
    [1240] LOADER: Post-init sys.path is C:\Program Files\Texas Instruments\Latte\bi
    n
    [1240] LOADER: Setting sys.argv
    [1240] LOADER: setting sys._MEIPASS
    [1240] LOADER: importing modules from CArchive
    [1240] LOADER: extracted struct
    [1240] LOADER: callfunction returned...
    [1240] LOADER: extracted pyimod01_os_path
    [1240] LOADER: callfunction returned...
    [1240] LOADER: extracted pyimod02_archive
    [1240] LOADER: callfunction returned...
    [1240] LOADER: extracted pyimod03_importers
    [1240] LOADER: callfunction returned...
    [1240] LOADER: Installing PYZ archive with Python modules.
    [1240] LOADER: PYZ archive: latte
    [1240] LOADER: Running pyiboot01_bootstrap.py
    [1240] LOADER: Running pyi_rth_mplconfig.py
    [1240] LOADER: Running pyi_rth_mpldata.py
    [1240] LOADER: Running pyi_rth_traitlets.py
    [1240] LOADER: Running pyi_rth_multiprocessing.py
    [1240] LOADER: Running pyi_rth_win32comgenpy.py
    [1240] LOADER: Running pyi_rth_pkgres.py
    [1240] LOADER: Running pyi_rth__tkinter.py
    [1240] LOADER: Running pyi_rth_qt4plugins.py
    [1240] LOADER: Running latteExec.py
    C:\Users\Digilog02\Documents\Texas Instruments\Latte\projects\

    Regards

    Dave

  • Hi Alex,

    Are you able to help me out with this problem?

    If I can't get it to work I may have to try and find another technology for my project which would be a shame as I think this may fit well but I need to get the EVM going in order to evaluate the device for my application.

    I really don't have any other ideas to try to get this working.

    Regards

    DAve

  • Hi Dave,

    Sure thing. I understand you are under a time crunch so will try to get this resolved ASAP. 

    Can you send hardware IDs for both com ports EVM shows up as?

    Can you also check control and data ports in command line of latte and send (see below)

    Can you also swap the USB cable and try with a fresh one to check that as well?

    Best,

    Alex

  • Hi Alex,

    Thanks for your reply.

    I have attached info as requested. I have also tried a new USB cable but this did not solve the problem.

    By the way how do you attach screen shots. When I try and paste a screen shot of my PC from Word it does not attach to the post.

    Regards

    Dave

    OPT3101 Control ID (COMM12)

    USB\VID_2047&PID_0A3C&REV_0200&MI_00

    USB\VID_2047&PID_0A3C&MI_00

     

    OPT3101 Data ID (COMM13)

    USB\VID_2047&PID_0A3C&REV_0200&MI_02

    USB\VID_2047&PID_0A3C&MI_02

    mEVMSelector.EVMSelector instance at 0x000000000EAACA08

    #======

    [u'COM12']

    #======

    [u'COM13']

    #======

  • Thanks for this. I will review and get back. For pictures use the left button in the blue circle. To add files use the right in the circle. You'll have to save the pictures to a file and then upload. Unfortunately paste does not work :( 

  • Hi Alex,

    A further update. I have just tried installing the EVM system onto a Windows 10 PC and unfortunately I am getting exactly the same result.

    It appears to me that unless the Latte program does not work at all there maybe a problem with the EVM hardware?

    What can I do to check this out?

    Thanks.

    Dave

  • Hi Dave,

    Can you send the full output in the log window where you saw the read from flash error? 

    Can you also use the following in the command line and let me know the result? This will test the I2C - but this seems to be working okay

    dev._i2c_en.getValue()

    dev._num_avg_sub_frames.getValue()

    Can you also share a picture of the EVM or confirm it matches the one here https://www.ti.com/tool/OPT3101EVM

    To check what state the device is in you can look on the LED switching node with a scope probe to look for the 10MHz switching 

    You can also probe the data_ready line that is brought out to one of the headers (see schematic in users guide). The MSP430 is looking for this pulse to send data to the PC.

    If we still can't get to the bottom of this I will look into how we can ship you another one. I agree this may be some hardware issue. Checking the I2C in the commands and probing the signals I mentioned above should help us see if that is the case.

    Best,

    Alex

  • Hi Alex,

    I have had a probe around with an oscilloscope and there isn't any data_ready signal (the line is low) and there is no signal on the LED (permanently high).

    There is also no slave I2C signals. I have done the measurement with and without running the Capture button in Latte and there is no difference.

    I have attached the log data file with the commands you requested and the flash error is on line 61 of the log file. I have also attached a photo of the EVM.

    Regards

    Dave

  • Hi Alex,

    I was unable to send the last reply with the log file so listed below is the file contents. The Flash error is highlighted in red.

    The last 4 lines in the log are the results of the following commands:

    dev._i2c_en.getValue()

    dev._num_avg_sub_frames.getValue()

    #======
    #Executing .. OPT3101/OPT3101EVMrevE3_Demo/devInit.py
    #Start Time 2020-04-25 16:38:38.400000
    Registers View - Reset property was not found
    #================ ERRORS:0, WARNINGS:1 ================#
    #================ ERRORS:0, WARNINGS:0 ================#
    DEVR; Sending reset pulse to device
    Internal electrical Crosstalk Correction
    REGWx80x004E1E; dev.tg_en=0
    REGWx2Ax784920; dev.en_adaptive_hdr=0
    REGWx14x000000; dev.en_sequencer=0
    REGWx14x000000; dev.en_processor_values=0
    REGWx80x004E1F; dev.tg_en=1
    REGWx2Ex8001A0; dev.use_xtalk_reg_int=0
    REGWx2Ex8001B0; dev.int_xtalk_calib=1
    REGWx2Ex8001A0; dev.int_xtalk_calib=0
    REGWx2Ex8001A0; dev.iq_read_data_sel=0
    REGWx2Ex8001A0; dev.iq_read_data_sel=0
    Internal Crosstalk, Amp:00000 codes ,Phase:0.0 degrees
    REGWx80x004E1E; dev.tg_en=0
    REGWx2Ax784920; dev.en_adaptive_hdr=0
    REGWx14x000000; dev.en_sequencer=0
    REGWx14x000000; dev.en_processor_values=0
    REGWx80x004E1F; dev.tg_en=1
    Loading register map based on flash : Register Count 01 Reg Address: 0x0B Value:0x00110009
    Loading register map based on flash : Register Count 02 Reg Address: 0x0C Value:0x00990000
    Loading register map based on flash : Register Count 03 Reg Address: 0x29 Value:0x003F9C41
    Loading register map based on flash : Register Count 04 Reg Address: 0x2B Value:0x00016978
    Loading register map based on flash : Register Count 05 Reg Address: 0x2C Value:0x0000186A
    Loading register map based on flash : Register Count 06 Reg Address: 0x2D Value:0x00533586
    Loading register map based on flash : Register Count 07 Reg Address: 0x2E Value:0x002207A0
    Loading register map based on flash : Register Count 08 Reg Address: 0x2F Value:0x00490DBD
    Loading register map based on flash : Register Count 09 Reg Address: 0x30 Value:0x00800312
    Loading register map based on flash : Register Count 10 Reg Address: 0x31 Value:0x000013A5
    Loading register map based on flash : Register Count 11 Reg Address: 0x32 Value:0x0000005B
    Loading register map based on flash : Register Count 12 Reg Address: 0x33 Value:0x000026E6
    Loading register map based on flash : Register Count 13 Reg Address: 0x34 Value:0x0000FCE7
    Loading register map based on flash : Register Count 14 Reg Address: 0x35 Value:0x00005A19
    Loading register map based on flash : Register Count 15 Reg Address: 0x36 Value:0x0000F857
    Loading register map based on flash : Register Count 16 Reg Address: 0x38 Value:0x00000000
    Loading register map based on flash : Register Count 17 Reg Address: 0x39 Value:0x00000000
    Loading register map based on flash : Register Count 18 Reg Address: 0x3A Value:0x004F0000
    Loading register map based on flash : Register Count 19 Reg Address: 0x41 Value:0x008F8010
    Loading register map based on flash : Register Count 20 Reg Address: 0x42 Value:0x00004528
    Loading register map based on flash : Register Count 21 Reg Address: 0x43 Value:0x009B0083
    Loading register map based on flash : Register Count 22 Reg Address: 0x45 Value:0x00000570
    Loading register map based on flash : Register Count 23 Reg Address: 0x47 Value:0x009B08F0
    Loading register map based on flash : Register Count 24 Reg Address: 0x48 Value:0x009B08E8
    Loading register map based on flash : Register Count 25 Reg Address: 0x49 Value:0x009B08F0
    Loading register map based on flash : Register Count 26 Reg Address: 0x51 Value:0x00003D49
    Loading register map based on flash : Register Count 27 Reg Address: 0x52 Value:0x0000339B
    Loading register map based on flash : Register Count 28 Reg Address: 0x53 Value:0x00002BCE
    Loading register map based on flash : Register Count 29 Reg Address: 0x5E Value:0x00000000
    Loading register map based on flash : Register Count 30 Reg Address: 0x5F Value:0x00000039
    Loading register map based on flash : Register Count 31 Reg Address: 0x60 Value:0x00130000
    Loading register map based on flash : Register Count 32 Reg Address: 0x71 Value:0x00000000
    Loading register map based on flash : Register Count 33 Reg Address: 0xB4 Value:0x00E1E1CE
    Loading register map based on flash : Register Count 34 Reg Address: 0xB5 Value:0x00000001
    Loading register map based on flash : Register Count 35 Reg Address: 0xB8 Value:0x00018026
    Loading register map based on flash : Register Count 36 Reg Address: 0xB9 Value:0x00000478
    Operation Flash read Failed.
    #================ ERRORS:1, WARNINGS:1 ================#
    REGWx89x001B58; dev.tg_ovl_window_start=7000
    REGWx6Ex0A1CE2; dev.en_temp_conv=1
    REGWx07x800000; dev.config_tillum_msb=8
    REGWx0Dx806000; dev.en_tillum_12b=1
    REGWx02x92A448; dev.tsens_slave1=72
    REGWx02xB2A448; dev.en_tillum_read=1
    REGWx02x32A448; dev.temp_avg_illum=0
    REGWx01x120140; dev.frame_vd_trig=1
    REGWx01x1A0140; dev.i2c_en=1
    REGWx01x1A0140; dev.i2c_rw=1
    REGWx07x810000; dev.i2c_num_bytes_tran1=1
    REGWx50x200101; dev.clip_mode_fc=1
    REGWx2Ex2207A0; dev.iq_read_data_sel=3
    REGWx78x001000; dev.gpio1_obuf_en=1
    REGWx78x001080; dev.gpo1_mux_sel=2
    REGWx0Bx110009; dev.dig_gpo_sel0=9
    REGWx78x001080; dev.gpio2_obuf_en=0
    REGWx78x011080; dev.gpio2_ibuf_en=1
    REGWx9Fx000001; dev.num_sub_frames=1
    REGWx9Fx001001; dev.num_avg_sub_frames=1
    REGWx2Ex9207A0; dev.xtalk_filt_time_const=9
    REGWx14x000000; dev.en_processor_values=0
    REGWx2Bx016978; dev.hdr_thr_high=27000
    REGWx2Cx001405; dev.hdr_thr_low=5125
    REGWx2Ax78C920; dev.en_adaptive_hdr=1
    REGWxB9x000478; dev.en_tx1_on_tx0=1
    REGWxB9x000478; dev.en_tx2_on_tx0=0
    REGWx85x00267A; dev.tg_seq_int_start=9850
    REGWx86x002682; dev.tg_seq_int_end=9858
    REGWx97x000001; dev.tg_seq_int_mask_start=1
    REGWx97x001001; dev.tg_seq_int_mask_end=1
    REGWx13x036B00; dev.compare_reg1=28000
    REGWx14x00101D; dev.compare_reg2=4125
    REGWx13x036B00; dev.mux_sel_compin=0
    REGWx15x101108; dev.command0=264
    REGWx15xB02108; dev.command1=2818
    REGWx16x400100; dev.command2=256
    REGWx16xC00100; dev.command3=3072
    REGWx14x01101D; dev.en_sequencer=1
    REGWx14x03101D; dev.en_processor_values=1
    REGWx10x00C000; dev.en_cont_fcalib=1
    REGWx0Fx154C4B; dev.start_freq_calib=1
    REGWx0Fx954C4B; dev.en_freq_corr=1
    REGWx0Fx914C4B; dev.sys_clk_divider=8
    REGWx0Fx915000; dev.ref_count_limit=20480
    REGWx0FxD15000; dev.en_floop=1
    REGWx0FxF15000; dev.en_auto_freq_count=1
    REGWx0FxF15000; dev.en_freq_corr=1
    REGWx0FxF15000; dev.start_freq_calib=1
    REGWx80x004E1F; dev.tg_en=1
    #================ ERRORS:0, WARNINGS:0 ================#
    REGWx43x9B0083; dev.scale_phase_temp_coeff=2
    REGWx45x000566; dev.temp_coeff_main_hdr0_tx0=1382
    REGWx2Dx53357C; dev.temp_coeff_main_hdr1_tx0=1404
    REGWx2Dx52957C; dev.temp_coeff_main_hdr0_tx1=1321
    REGWx30x000312; dev.temp_coeff_main_hdr1_tx1=1168
    REGWx2Fx490DBD; dev.temp_coeff_main_hdr1_tx1=73
    REGWx46x000000; dev.temp_coeff_illum_hdr0_tx0=0
    REGWx52x00339B; dev.temp_coeff_illum_hdr1_tx0=0
    REGWx51x003D49; dev.temp_coeff_illum_hdr1_tx0=0
    REGWx54x000000; dev.temp_coeff_illum_hdr0_tx1=0
    REGWx53x002BCE; dev.temp_coeff_illum_hdr0_tx1=0
    REGWx56x000000; dev.temp_coeff_illum_hdr1_tx1=0
    REGWx55x000000; dev.temp_coeff_illum_hdr1_tx1=0
    REGWxB5x000001; dev.scale_amb_phase_corr_coeff=1
    REGWx0CxA00000; dev.amb_phase_corr_pwl_coeff0=160
    REGWxB4xE1E1CE; dev.amb_phase_corr_pwl_coeff1=206
    REGWxB4xE1E1CE; dev.amb_phase_corr_pwl_coeff2=225
    REGWxB4xE1E1CE; dev.amb_phase_corr_pwl_coeff3=225
    REGWxB8x01801B; dev.amb_phase_corr_pwl_x0=27
    REGWxB8x01801B; dev.amb_phase_corr_pwl_x1=96
    REGWxB9x000478; dev.amb_phase_corr_pwl_x2=120
    #================ ERRORS:0, WARNINGS:0 ================#
    #================ ERRORS:0, WARNINGS:0 ================#
    #Done executing .. OPT3101/OPT3101EVMrevE3_Demo/devInit.py
    #End Time 2020-04-25 16:38:48.720000
    #Execution Time = 10.3199999332 s
    #================ ERRORS:0, WARNINGS:0 ================#
    DEVB 1; Setting Device to 2 register mode
    REGWx80x004E1E; dev.tg_en=0
    REGWx9Fx001001; dev.num_avg_sub_frames=1
    REGWx80x004E1F; dev.tg_en=1
    REGWx9Fx001001; dev.num_sub_frames=1
    REGWx97x001001; dev.tg_seq_int_mask_start=1
    REGWx97x001001; dev.tg_seq_int_mask_end=1
    REGWx80x004E1E; dev.tg_en=0
    REGWx14x02101D; dev.en_sequencer=0
    REGWx14x00101D; dev.en_processor_values=0
    REGWx2Ax784920; dev.en_adaptive_hdr=0
    REGWx2Ax784922; dev.sel_tx_ch=1
    REGWx2Ax794922; dev.sel_hdr_mode=1
    REGWx80x004E1F; dev.tg_en=1
    REGWx80x004E1E; dev.tg_en=0
    REGWx9Fx000001; dev.num_avg_sub_frames=0
    REGWx80x004E1F; dev.tg_en=1
    REGWx80x004E1E; dev.tg_en=0
    REGWx9Fx000000; dev.num_sub_frames=0
    REGWx80x004E1F; dev.tg_en=1
    REGWx9Fx000000; dev.num_sub_frames=0
    REGWx97x001000; dev.tg_seq_int_mask_start=0
    REGWx97x000000; dev.tg_seq_int_mask_end=0
    CAPS; Sending command to start capture
    Capture data from EVM timed out -- no data received from EVM. Stopping capture.
    CAPE; Sending command to stop capture
    True
    #======
    0
    #======

  • Hi Dave,

    Thanks for sending. I also wanted to confirm you have not modified anything in the latte software so it is as it come when downloaded? If this is the case I will look to ship you a new EVM to test. Are you able to provide your address for us to ship to? If rather not put on forum you can click on my profile and click the contact button to provide that way.

    Best,

    Alex

  • In addition to your address can you also provide some background on your application/use-case and projected volume estimate.

    Best,

    Alex

  • Hi Dave,

    I have submitted the EVM replacement request with your address and will follow up via direct message when it ships so will mark this post as resolved.

    Best,

    Alex