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 (최근 30일)
이전 댓글 표시
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..
댓글 수: 1
Eric Lau
2019년 1월 28일
Were you able to get this working? I am interested in the same thing and haven't seen much information on the topic.
채택된 답변
Walter Roberson
2019년 1월 28일
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.
댓글 수: 0
추가 답변 (1개)
Ben Barrowes
2023년 12월 21일
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)
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Debugging and Analysis에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!