please choosego to mobile | Continue to access the PC version
View: 6100|Reply: 0

Serial port 3 GPIO - OK

[Copy link]

12

threads

30

posts

150

credits

Registered member

Rank: 2

credits
150
Published in 2016-1-9 19:07:24 | Show all floors |Read mode
I use the loboris kernel and an OPI PC

In order to use serial port number 3 on the GPIO

in script.bin you'll have to change this (thus changing script.fex, use fexc to convert to script.bin, execute  mount /dev/mmcblk0p1 /mnt/, and place script.bin under /mnt)
[uart3]
uart_used = 1
uart_port = 3
uart_type = 4
uart_tx = portA13<3><1><default><default>
uart_rx = portA14<3><1><default><default>
uart_rts = portA15<3><1><default><default>
uart_cts = portA16<3><1><default><default>

----execute gpio readall-----you will have to install wiringpi----------
you will see physical pin 8 and 10 are this serial port 3
8   TxD3
10  RxD3

you can acces the port trough :
minicom -b 115200 -o -D /dev/ttyS3
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list