09-22-2016, 12:29 AM
(09-21-2016, 02:40 PM)mus1c Wrote: I want to set up a serial connection from raspberry pi 2 bus but don't know what the device would be called in regards to /dev/tty*. It is wired correctly but because the raspberry pi is different to pine64 system the tutorial stopped there.
The serial port on the pins 8 and 10 on the PI-2-BUS is UART2; it shows up in the Debian Linux systems as /dev/ttyS2. This would be the PineA64's equivalent of the main serial port, which usually has the device-file /dev/ttyAMA0 on Raspberry Pi.
UARTs 0. 3, and 4 have pins available on the Euler and Expansion connectors, and UART1 is used for Bluetooth, and the device numbering for these follows the same pattern, /dev/ttyS0 thru /dev/ttyS4.