Welcome, Guest

Author Topic: OlinuXino Micro UARTs  (Read 4974 times)

idragoev

  • Newbie
  • *
  • Posts: 18
  • Karma: +0/-0
OlinuXino Micro UARTs
« 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

laurent

  • Newbie
  • *
  • Posts: 19
  • Karma: +0/-0
Re: OlinuXino Micro UARTs
« Reply #1 on: November 30, 2012, 12:43:49 PM »
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

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

idragoev

  • Newbie
  • *
  • Posts: 18
  • Karma: +0/-0
Re: OlinuXino Micro UARTs
« Reply #2 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

laurent

  • Newbie
  • *
  • Posts: 19
  • Karma: +0/-0
Re: OlinuXino Micro UARTs
« Reply #3 on: November 30, 2012, 02:13:40 PM »
Thanks a lot for your feedback ;)

Laurent

froggysoft

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
Re: OlinuXino Micro UARTs
« Reply #4 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.
« Last Edit: December 02, 2012, 04:30:39 PM by froggysoft »

idragoev

  • Newbie
  • *
  • Posts: 18
  • Karma: +0/-0
Re: OlinuXino Micro UARTs
« Reply #5 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

bbuic

  • Newbie
  • *
  • Posts: 14
  • Karma: +0/-0
Re: OlinuXino Micro UARTs
« Reply #6 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

picmaster

  • Newbie
  • *
  • Posts: 16
  • Karma: +1/-0
Re: OlinuXino Micro UARTs
« Reply #7 on: March 13, 2013, 08:30:24 PM »
It's /dev/ttyAPP0 on latest kernels (3.7.9+). Comes from "application uart".