Author Topic: Cannot enable UART port  (Read 1781 times)

Offline saulo

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Cannot enable UART port
« on: October 22, 2015, 06:16:29 pm »
Hi guys,

i'm working on a project using arduino pro mini, ultimate gps breakout from adafruit, sensorhub boosterpack from texas instruments and some custom pcbs.

i can read data from sensorhub using PB18-PB19 ports (twi1) correctly under cb2. The gps is working properly (tested using a Uno as TLL-USB converter to receive NMEA data on my PC). The arduino pro mini is sending a test string at 9600 baud rate.

i enabled this ports:

[uart_para3]
uart_used = 1
uart_port = 3
uart_type = 4
uart_tx = port:PG06<4><1><default><default>
uart_rx = port:PG07<4><1><default><default>
uart_rts = port:PG08<4><1><default><default>
uart_cts = port:PG09<4><1><default><default>

[uart_para4]
uart_used = 1
uart_port = 4
uart_type = 2
uart_tx = port:PG10<4><1><default><default>
uart_rx = port:PG11<4><1><default><default>

These ports numbers and its mux settings i've checked from http://linux-sunxi.org/A20/PIO
the result:

linaro@cubieboard2:~$ stty -F /dev/ttyS1
stty: /dev/ttyS1: Input/output error

linaro@cubieboard2:~$ dmesg | grep tty
[    0.000000] Kernel command line: console=ttyS0,115200 init=/init loglevel=5
[    0.921058] sunxi-uart.0: ttyS0 at MMIO 0x1c28000 (irq = 33) is a U6_16550A
[    0.934079] console [ttyS0] enabled
[   14.514722] init: tty1 main process (445) killed by TERM signal

i really can't understand what i'm doing wrong... can anyone please help me?

The i²c works like a charm, i'm reading 9axys IMU sensor at 40Hz.

++EDIT++

I'm running Linaro!
« Last Edit: October 22, 2015, 06:37:47 pm by saulo »

Offline saulo

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: Cannot enable UART port
« Reply #1 on: October 28, 2015, 02:51:45 am »
Solved... after update linaro, UART is working..