When you launch minicom on /dev/ttyAMA0 you and the getty are sending data on the tx pin, and receiving data on the rx pin - this will confuse anything that is attached to them if you had anything attached you them. Most raspberry pi Linux distributions have a getty listening on /dev/ttyACM0, this is a program that gives you a login prompt and shell. Any program can open the serial port and read/write data to it, but with nothing attached to it all the data sent is just lost and there is nothing sending data back. This device file controls the rx (10) and tx (8) pins on the raspberry pi header. dev/ttyAMA0 is a UART serial device on the raspberry pi. It is what most people mean when they say serial, but there are a lot of different serial protocols out there. ![]() UART, which I believe you are referring to is a bi-directional 2 wire communication protocol that is typically used by micro-controllers to talk to each other - commonly used to transfer text between two devices.
0 Comments
Leave a Reply. |