I have enabled UART2 on my Beaglebone Black using the device tree overlay method. I am able to communicate with minicom but not in C. I used termios to setup UART2, I have no issues writing data but I do when I try to read. I don’t understand why in minicom reading works and not in my C program. What could be the reason?
ps- I’ve attached my code just in case.
uart1.c (1.07 KB)