Exp Header UART for TTL is True Serial Console (very nice)
#9
(07-18-2016, 03:55 AM)MarkHaysHarris777 Wrote: Over-night I was able to experiment a bit with the other uart ports on the debian (102bsp) image:

0)  uart0  /dev/ttyS0   console

The uart0 console device has pins on the EXP header; pin(7) and pin(8)
Also, uart0 console device has pins on the euler bus; pin(29) and pin(30)

I used a PL2303 serial ttl cable to each of these ports to veryfiy identical operation.

2)  uart2   /dev/ttyS2   PI bus            pin(8) and pin(10)

3)  uart3   /dev/ttyS3   Euler bus      pin(24) and pin(23)

4)  uart4   /dev/ttyS4   Euler bus      pin(19) and  pin(21)

The kernel designations for uart0-4  /dev/ttyS0-4 are affirmed. I used (sudo screen /dev/ttySX 115200) to 'talk' to the serial connection on my HP notebook using the PL2303 serial ttl cable.  Rx -- Tx  jumper could be used as well.

/dev/ttyS4 is interesting since this uart provides hardware flow control on pin(22) PD5 (CTS) and pin(18) PD4 (RTS). 

uart1 is used by the wifi | bt  module.


The PineA64 is making a very nice serial controller; 


marcushh777

heh, yesterday I found out about ttyS0 (and copy on EXP bus), ttyS2, ttyS3, ttyS4 as well.
Now I found this thread.

I wan't do from pine serial controller to have access to console ports on my CISCO devices (switches, routers, AP) in my home lab.
Therefore I'd like to get as many serial ports as possible. According to documentation AllWinner A53 chip should provide 6 UARTs.

It seems there is ttyS1 on Wifi pins and some seems to be also BT pin.
But I see only 5 device files /dev/ttyS0 - /dev/ttyS4.

Has somebody tried to use all 6 UARTs?
If yes, what was the outcome?

I have also USB - to serial converters (PL2303, FTDI and many of CH341 based). I plan to connect these over powered USB hub to max out the amount of serial ports (just for curiosity).

EDIT: I'm using image from leny raspo  3.10.102 BSP.
  Reply


Messages In This Thread
RE: Exp Header UART for TTL is True Serial Console (very nice) - by peterz - 07-29-2016, 02:45 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Cross-wired Uart Ports between two Pine Boards via Cat5 Cable MarkHaysHarris777 10 16,099 11-20-2016, 04:17 AM
Last Post: pfeerick
  System LED mounting option using header pins and remote LED for use in the ABS case MarkHaysHarris777 1 3,974 08-28-2016, 07:02 PM
Last Post: pfeerick
  UART2 on PI header (pin 8 and 10) martinayotte 8 13,136 04-15-2016, 02:47 PM
Last Post: tkaiser

Forum Jump:


Users browsing this thread: 1 Guest(s)