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.
09-21-2016, 02:58 PM
(This post was last modified: 09-21-2016, 02:59 PM by MarkHaysHarris777.)
hi mus1c, the answer to your question depends on whether the serial console has been enabled. It also depends on what you're going to use the PI end of things for.
The Pine board is better, and the system is more consistent , and especially from a serial point of view. On the Pine uartx is ttySx ie uart0 is ttyS0
On the PI the device is either serial0 or ttyAMA0; and this depends on whether serial is enabled and whether the serial console is enabled. You will want to read the PI forum posts (mine and others) and make sure you understand how to enable serial comm on the PI.
You can use raspi-config to disable the serial console on the PI. You may also manually edit the config and command line files. Ultimately, if you want to use the serial uart pin(8) & pin(10) GPIO14 &GPIO15 for serial comm you will need to disable the serial console.
The device is either serial0 , or ttyAMA0 depending.
marcushh777
please join us for a chat @ irc.pine64.xyz:6667 or ssl irc.pine64.xyz:6697
( I regret that I am not able to respond to personal messages; let's meet on irc! )
I want to thank everyone's hard work for answering a very difficult question. If anyone else is reading threads like this, please take the the time rate the people in the thread accordingly.
Let Pine64 rise,
mus1c