RPI2-GPIO
#6
(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.
  Reply


Messages In This Thread
RPI2-GPIO - by mus1c - 09-21-2016, 02:40 PM
RE: RPI2-GPIO - by MarkHaysHarris777 - 09-21-2016, 02:58 PM
RE: RPI2-GPIO - by mus1c - 09-21-2016, 05:25 PM
RE: RPI2-GPIO - by pfeerick - 09-21-2016, 08:00 PM
RE: RPI2-GPIO - by MarkHaysHarris777 - 09-21-2016, 11:54 PM
RE: RPI2-GPIO - by KnReLe - 09-22-2016, 12:29 AM
RE: RPI2-GPIO - by mus1c - 09-22-2016, 05:28 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  RPi.GPIO python module for Pine A64/A64+ aquilegia 98 147,582 10-26-2024, 07:17 AM
Last Post: Garesdq1d
  fm transmitter with gpio weasel18 2 5,443 09-10-2019, 04:28 AM
Last Post: desai_amogh
  How to use dts or other setup to declare gpio pin Interrupt (e.g. a button)? dkebler 1 3,967 06-12-2019, 10:37 AM
Last Post: dkebler
Lightbulb Sample GPIO codes highlighting RPi.GPIO-PineA64 and the PI bus MarkHaysHarris777 6 12,324 06-07-2019, 12:37 AM
Last Post: tllim
Star GPIO, SPI and I2C C++ Lib databit 7 12,430 02-04-2019, 05:45 AM
Last Post: Jeff R
Information Howto: Controlling Pine64 GPIO via the filesystem (sysfs) on linux pfeerick 4 12,747 01-24-2019, 03:36 AM
Last Post: Fifth
  GPIO and SPI SamR1 20 34,920 03-15-2018, 10:32 AM
Last Post: jomoengineer
Question GPIO shockr 7 16,237 03-11-2018, 01:52 AM
Last Post: jomoengineer
  Read GPIO problem shworker 14 23,748 08-17-2017, 01:21 PM
Last Post: martinayotte
  GPIO fiq capability joseph 3 6,762 11-10-2016, 06:07 PM
Last Post: joseph

Forum Jump:


Users browsing this thread: 2 Guest(s)