Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => iMX233 => Topic started by: idragoev on November 30, 2012, 11:40:17 AM

Title: OlinuXino Micro UARTs
Post by: idragoev on November 30, 2012, 11:40:17 AM
Hi,
I have OlinuXino MICRO and I want to use other serial ports (UARTs) I see on CON2 there are AUART1_TXD/RXD (pins 5 and 6) and PWM0_DUART_RXD/TXD (pins 13 and 14). How can I access them? Are they linked to some tty?

Thanks,
Ivan
Title: Re: OlinuXino Micro UARTs
Post by: laurent on November 30, 2012, 12:43:49 PM
Quote from: idragoev on November 30, 2012, 11:40:17 AM
Hi,
I have OlinuXino MICRO and I want to use other serial ports (UARTs) I see on CON2 there are AUART1_TXD/RXD (pins 5 and 6) and PWM0_DUART_RXD/TXD (pins 13 and 14). How can I access them? Are they linked to some tty?

Thanks,
Ivan

Hi,

I think it's the /dev/ttySP1 device.
Is there an example here :
https://github.com/OLIMEX/OLINUXINO/blob/master/SOFTWARE/iMX233/MOD-ZIGBEE/main.c (https://github.com/OLIMEX/OLINUXINO/blob/master/SOFTWARE/iMX233/MOD-ZIGBEE/main.c)

I'm also interested but don't have the time to test it for the moment.
Please, let us know if you can control this UART.

Regards,
Laurent
Title: Re: OlinuXino Micro UARTs
Post by: idragoev on November 30, 2012, 01:43:12 PM
Hi,
Yes, I managed to control it and it is /dev/ttySP1.

I have 2 MICROs and I connect them to each-other. On both I have installed minicom (pacman -S minicom) and they are talking to each other successfully.

I'm using this to control XBee Pro and to enter in command mode. And it works ;-)

Greetings,
Ivan
Title: Re: OlinuXino Micro UARTs
Post by: laurent on November 30, 2012, 02:13:40 PM
Thanks a lot for your feedback ;)

Laurent
Title: Re: OlinuXino Micro UARTs
Post by: froggysoft on December 02, 2012, 03:01:17 PM
Hi Ivan,

Which Linux kernel version did you use and did you do something special?
I like to use the UART as well but fail to get a connection. Also in /dev/tty* I do not see the port.

Regards Rob.
Title: Re: OlinuXino Micro UARTs
Post by: idragoev on December 03, 2012, 03:10:30 PM
Hi Rob,
the version I'm using is: 2.6.35-8-ARCH+ from the link below:

http://olimex.wordpress.com/2012/09/06/imx233-olinuxino-get-started-making-the-arch-linux-sd-card/

Regards,
Ivan
Title: Re: OlinuXino Micro UARTs
Post by: bbuic on March 13, 2013, 01:19:58 AM
Hi froggysoft,

did You find linked tty for additional uart AUART1_TXD/RXD (pins 5 and 6) on OlinuXino MICRO?

I can't find ttySP1 (ls /dev/tty*) like You ...

Thank you
Title: Re: OlinuXino Micro UARTs
Post by: picmaster on March 13, 2013, 08:30:24 PM
It's /dev/ttyAPP0 on latest kernels (3.7.9+). Comes from "application uart".