필터 지우기
필터 지우기

matlab uart reading problem

조회 수: 3 (최근 30일)
siva
siva 2014년 7월 31일
hi,
i am trying to interface infineon XMC1300 with matlab. i had run a simple uart program to transmit hallo world but i was unable to recive in matlab.
% s1 = serial('COM5', 'Baudrate', 115200, 'Terminator', 000 );
fopen(s1);
accX=0;
str='';
str=fscanf(s1);
close(s1);
delete(s1);
clear s1;
end
i am still getting the error msg saying
Warning: Unsuccessful read: A timeout occurred before the Terminator was reached.
i tried using cf/lf instead on 000 still error

답변 (0개)

카테고리

Help CenterFile Exchange에서 Downloads에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by