PINE64
UARTs from GPIO headers - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: ROCK64 (https://forum.pine64.org/forumdisplay.php?fid=85)
+--- Forum: Rock64 Hardware and Accessories (https://forum.pine64.org/forumdisplay.php?fid=89)
+--- Thread: UARTs from GPIO headers (/showthread.php?tid=11935)



UARTs from GPIO headers - maks.dav - 10-25-2020

I need 4 UARTs, to use board as controller for home automatization: 1 - ZeegBee, 1 - GSM, 1 - RS485, 1 - M-bus. But in documentation, there are only 2 gpio uarts enabled for user. I wouldn't like to use external usb converters, this interfaces should be located on my expansion board, connected to the rock64 by GPIOs. Is there any solutions to solve my problem?


RE: UARTs from GPIO headers - tllim - 10-26-2020

(10-25-2020, 02:23 AM)maks.dav Wrote: I need 4 UARTs, to use board as controller for home automatization: 1 - ZeegBee, 1 - GSM, 1 - RS485, 1 - M-bus. But in documentation, there are only 2 gpio uarts enabled for user. I wouldn't like to use external usb converters, this interfaces should be located on my expansion board, connected to the rock64 by GPIOs. Is there any solutions to solve my problem?

no solution for 4 UARTs from GPIO


RE: UARTs from GPIO headers - martinayotte - 10-27-2020

There is only 2 UARTs on header, UART2 and UART1 if DT is changed accordingly !
But you can add a SC16IS750 on SPI bus, that will provide 2 additional UARTs ...


RE: UARTs from GPIO headers - maks.dav - 10-30-2020

(10-27-2020, 12:08 PM)martinayotte Wrote: There is only 2 UARTs on header, UART2 and UART1 if DT is changed accordingly !
But you can add a SC16IS750 on SPI bus, that will provide 2 additional UARTs ...
Thank you so much for answer, it's a good idea!
May be you know any normal tutorial, how to add and configure chips like SC16IS750 in system and add new serial ports to /dev?