I've recently done something like this just 3 weeks ago. I started with using the omap-serial-rs485.c driver (TI). I made some modifications (blink some LEDs) to the driver and have it compiled in the kernel at /KERNEL/drivers/tty/serial.
I then modified the am335x-boneblack.dts file to make sure the proper registers were exposed; I'm not a big fan of device tree, it's not very helpful imho. However, I had to live with it (this is a no-whine zone, right?). So, find a driver for your UART and make sure your .dts is setup properly. There's no simple answer to your question, sadly, and it'll take a lot of elbow grease on your behalf to figure it out... but we're having fun, right? On Sunday, August 25, 2013 at 6:54:14 AM UTC-5, Monir Sabbagh wrote: > Hi, > Any sample or steps on how to send / receive on UART using PRU in > BeagleBone Black? > I successfully run the PRU examples especially Blinking LED, but now I > need to connect my BBB to external device like ZigBee vis UART. > Thank you. > -- 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]. For more options, visit https://groups.google.com/d/optout.
