Need to access 4 RockPro64 UARTs via Pins.
#1
Need WiFi, Bluetooth, and UARTs. Don't need GigE.
1. I looked at Google: rk3399.dtsi, and found addresses for uart0 - uart4
2. Used enable_dtoverlay to enable ports
  enable_dtoverlay uart0 'serial@ff180000' okay
  enable_dtoverlay uart1 'serial@ff190000' okay         # Disabled ethernet for this.
#enable_dtoverlay uart2 'serial@ff1a0000' okay         # Already active The only on that works,
  enable_dtoverlay uart3 'serial@ff1b0000' okay
  enable_dtoverlay uart4 'serial@ff370000' okay

Oscilloscope with the following script only show output for ttyS2. (PI bus pins 8,10)
while : ; do echo xx > /dev/ttyS0; echo xx > /dev/ttyS1; echo xx > /dev/ttyS2; echo xx > /dev/ttyS3 ;echo xx > /dev/ttyS4; echo -n . ; sleep 1; done

Looked at the Pine A64 pin assignments,
    0)  uart0  /dev/ttyS0   console
    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)
but RockPro64 has no Euler bus. Are all RockPro64 UART pins accessible?
#2
(04-09-2019, 09:12 PM)rhex Wrote: Are all RockPro64 UART pins accessible?

No ! The UART1 and UART3 pins are used as ethernet pins.
The UART0 is available on WiFi headers for Bluetooth,
The UART2 is on the main header, as well as UART4 shared as SPI pins.

The schematic is useful to figure out such things ...

BTW, if you need more UARTs, it is better to attach some SC16IS752 to SPI port, it is a Dual Uart chip.
#3
You also can check out PCIe to UART break up board, https://www.amazon.com/StarTech-com-RS23...004WKTBHW/

However, you may need to port the PCIe driver yourself and such card sometimes selling quite cheap at eBay. Some card also extend to 8 UART ports.


Possibly Related Threads…
Thread Author Replies Views Last Post
  Powering on the Rockpro64 JPT223 1 826 09-24-2023, 12:23 PM
Last Post: hoarfrosty
  ROCKPro64 Battery Power Supply hoarfrosty 11 1,628 09-23-2023, 04:17 PM
Last Post: hoarfrosty
  ROCKPro64 with 16 ports SATA controller ZeblodS 19 25,268 12-18-2022, 06:25 PM
Last Post: heyghoge
  Using RPI hat on RockPro64? misterc 0 798 12-16-2022, 02:05 PM
Last Post: misterc
  GPIO on the RockPro64 - all pins high? colinmarc 2 1,523 11-18-2022, 10:20 AM
Last Post: colinmarc
  ROCKPro64 DOA ajtravis 8 6,353 11-08-2022, 03:40 AM
Last Post: ajtravis
  RockPro64 not booting up mvicha@gmail.com 0 1,093 09-19-2022, 07:35 AM
Last Post: mvicha@gmail.com
  GPIO Expander HAT for ROCKPro64 and Quartz64 CounterPillow 7 5,191 07-18-2022, 10:05 PM
Last Post: zer0sig
  RockPro64 premium aluminium casing justwantin 2 2,073 05-27-2022, 06:51 PM
Last Post: justwantin
  charging 3 rockpro64 from single source rpt312 1 1,665 05-16-2022, 02:34 AM
Last Post: dukla2000

Forum Jump:


Users browsing this thread: 1 Guest(s)