Filter löschen
Filter löschen

Is it possible to capture data from USB, through Silicon Labs CP2102 UART Bridge in Matlab (Windows 10)? I could not identify specific Matlab driver for the same..

8 Ansichten (letzte 30 Tage)
Is it possible to capture data from USB, through Silicon Labs CP2102 UART Bridge in Matlab (Windows 10)? I could not identify specific Matlab driver for the same..

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 28 Jan. 2019
You use the vendor driver and open the device as a com port using serial(). No special MATLAB driver.
I did not investigate to see if it would be possible to wrap it with visa.

Weitere Antworten (1)

Ben Barrowes
Ben Barrowes am 21 Dez. 2023
Related to this, I bought a USB relay that is based off the CP2102, CP201x silicon labs chip, the DSD TECH SH-UR01A.
Windows10 automatically installed the correct driver, but I had to change the default termination to get matlab to talk to the device properly:
sp=serialport('COM4',9600)
configureTerminator(sp,'LF','CR/LF')
writeline(sp,'AT')
readline(sp)

Kategorien

Mehr zu Debugging and Analysis finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by