Hi James, On Fri, Jun 10, 2016 at 9:42 AM, <[email protected]> wrote: > I am trying to get an arduino to communicate with the BeagleBone Black and > send some measured sensor data over via the serial port. I am using the most > recent version of node red to do this. I am running the latest version of > Debian. > > I have confirmed using an oscilloscope that the arduino's serial port is > outputting the information when it is supposed to (it's triggered by an > interrupt sent by the BBB). I can see the serial ports that are supposedly > enabled in /dev and they appear as ttyO1, ttyO2, and ttyO4, and I have > confirmed the port mapping and ruled out wiring issues as well (I'm using a > logic level converter to go from the arduino's 5V to the BBB's 3.3V level). > > The ports also appear to map like so: > > lrwxrwxrwx 1 root root 5 Jun 9 22:37 ttyO1 -> ttyS1 > lrwxrwxrwx 1 root root 5 Jun 9 22:37 ttyO2 -> ttyS2 > lrwxrwxrwx 1 root root 5 Jun 9 22:37 ttyO4 -> ttyS4 > > Node red also sees these ports and indicated that they are 'connected' which > I assume means opened. > > When I attempt to receive data on the BBB from ANY of these ports I am > unable to see anything on the output in node red or from the command prompt. > > I am using a baud rate of 300 to rule out timing issues. I have also > confirmed that the arduino's serial settings should be matched to what the > BBB is expecting. Lastly, I have even tried sending simple strings from one > serial port to the other on the BBB itself. > > Has anyone here had this sort of issue and if so, how did you come to a > solution?
By default, cape-universal is loaded, for BB-UART1 just do: config-pin P9.24 uart config-pin P9.26 uart and then /dev/ttyO1 will now work.. Regards, -- Robert Nelson https://rcn-ee.com/ -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CAOCHtYj5BMhz1TdSXHciJ9gF-f%2B_Dn-hVcg2VRByg7U-0g8kzA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
