8devices Community https://www.8devices.com/community/ |
|
Using Carambola 2 serial port for connecting external device https://www.8devices.com/community/viewtopic.php?f=13&t=723 |
Page 1 of 1 |
Author: | valent [ 19 Apr 2014, 17:28 ] |
Post subject: | Using Carambola 2 serial port for connecting external device |
Hi, has anybody disabled serial console on Carambola 2 and used serial port for connecting external devices? I thought also about bitbanging serial port over gpio pins, but see that there is no gpio serial driver for bitbanging. Then I found this interesting article and which explains how it is possible to use SPI pins as serial port: http://raspberrypi.stackexchange.com/qu ... ample-code |
Author: | FPeter [ 05 May 2014, 16:13 ] |
Post subject: | Re: Using Carambola 2 serial port for connecting external de |
Author: | pepe2k [ 09 May 2014, 16:00 ] |
Post subject: | Re: Using Carambola 2 serial port for connecting external de |
Author: | valent [ 09 May 2014, 16:06 ] |
Post subject: | Re: Using Carambola 2 serial port for connecting external de |
Thanks to both! |
Author: | FPeter [ 09 May 2014, 17:23 ] |
Post subject: | Re: Using Carambola 2 serial port for connecting external de |
Author: | AppMagnetics [ 14 Nov 2016, 15:37 ] |
Post subject: | Re: Using Carambola 2 serial port for connecting external de |
I have disabled console in /etc/inittab as explained above but still cannot write to it echo -n "Hello" > /dev/ttyS0 ash: write error: Input/output error Is there anyone who has succesfully used ttyS0 for command output? |
Author: | AppMagnetics [ 14 Nov 2016, 18:18 ] |
Post subject: | Re: Using Carambola 2 serial port for connecting external de |
To put things under different perspective: If I'm communicating over ttyS0 using text commands, I do not actually need to open serial device - I just need to print my things on console (and read from it). How do other binaries manage to write to the console? |
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |