Forum Discussion
Jayeshkumar
New Contributor
4 years agoUART Serial port blocking mode fgetc function not able to fetch required data bytes
Hi,
We have written c code where we are opening the uart serial port in blocking mode and we are using fgetc function to read the data. we are using for loop and if we keep the for loop for 800000 ...
ShengN_altera
Super Contributor
4 years agoHi,
Have you use the highest baud rate? If yes probably have to increase iterations in order to read more data bytes.
You need approximately 1300000 iterations to read around 800000 data bytes.
Best Regards,
Sheng
p/s: If any answer from community or Intel support are helpful, please feel free to mark as solution and give Kudos.