Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => iMX233 => Topic started by: mrksko on November 21, 2012, 02:20:11 AM

Title: How to get a /dev/ttySP1 device
Post by: mrksko on November 21, 2012, 02:20:11 AM
Hello

after some hours of searching and no success my question :

What is the way to become a /dev/ttySP1 device with which i can work in my application ?
I'm using the debian kernel and rootfs from here (https://www.olimex.com/Products/OLinuXino/iMX233/_resources/DEBIAN-README.TXT) and a MAXI.

Thanks for your help.

mrksko
Title: Re: How to get a /dev/ttySP1 device
Post by: laurent on November 22, 2012, 11:56:06 AM
Hello

You can see 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)
It seems to be an UART available threw available pins.

Hope it helps.

Regards.
Title: Re: How to get a /dev/ttySP1 device
Post by: mrksko on November 22, 2012, 05:08:04 PM
Hello

Thanks, but this is not my problem.

In my system I have no such device, not /dev/ttySP1 nor /dev/ttyAMA0.

I have to build the node and to load a module, but i have idea which module.

The existing /dev/ttyAM0 is, from my knowledge, not useable from my application programm.

Or is my thinking not correct ?

Plase inform me. Thanks.

mrksko