Hi all thanks for the replies Today confirmed the program is happily chatting away with my target device at 115200, so all is right in this corner of the embedded world :) BTW it was a good idea to try to force the baud rate higher external to the program in config.txt, this will be a good work arou...
Hi! Quick issue that's been giving me trouble all afternoon... From the tutorial, the baud rate can be configured as: //CONFIGURE THE UART //The flags (defined in /usr/include/termios.h - see http://pubs.opengroup.org/onlinepubs/007908799/xsh/termios.h.html): // Baud rate:- B1200, B2400, B4800, B960...
Hi LiuLuan, I think I have found the answer here: http://stackoverflow.com/questions/17254923/raspberry-pi-uart-program-in-c-using-termios-receives-garbage-rx-and-tx-are-con I had the same problem, TX working ok, RX returning -1 for error, looked everywhere can't find any answer... I see in the SO p...