November 12, 2019, 08:09:03 am

News:

SMF - Just Installed!


OlinuXino Micro UARTs

Started by idragoev, November 30, 2012, 11:40:17 am

Previous topic - Next topic

idragoev

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

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

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

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

Thanks a lot for your feedback ;)

Laurent

froggysoft

December 02, 2012, 03:01:17 pm #4 Last Edit: December 02, 2012, 04:30:39 pm by froggysoft
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.

idragoev


bbuic

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

It's /dev/ttyAPP0 on latest kernels (3.7.9+). Comes from "application uart".