Altera_Forum
Honored Contributor
13 years agofwrite and UART RXData
Hello,
I need some help. My Matlab code is as follows: fopen(s); fwrite(s,127,'int8'); A=fscanf(s,'%i'); B=fscanf(s,'%i'); B=fscanf(s,'%i'); fwrite(s,127,'int8'); fclose(s); However, when I try to perform a printf from Nios2, all I recieved was the the value from the first fwrite(...). The data from the second fwrite(...) seems to be missing. Why this is so? Thanks.