Hardware:
- Beaglebone Rev 6 (contains TI AM3358 ARM Cortex-A8)
- TSOP348 IR receiver
- IR LED
Software/OS:
- Ångström with PSP 04.06.00.08 (pretty much the image that comes with the beaglebone here)
Problem:
My end goal is to create a program that can record arbitrary IR signals and play them back. If I can get LIRC setup and just use that interface, that should be sufficient, but so far I've been unable to correctly configure that driver on the beaglebone. I was hoping I could attach it to one of the UART ports (/dev/ttyO[1-5]), but I'm not sure how to go about doing this. If anyone knows how to configure LIRC on the beaglebone running linux, let me know.
However, if there are no working LIRC packages for angstrom, is there a UART driver that allows for CIR or SIR communication. So far, I've only found serial drivers for the UART ports, and none of those let me put the port into SIR or CIR mode. In the Technical Reference Manual, on page 3469 it discusses SIR Free Format Mode...is there any driver available that supports this? I know I can technically set this up using register level programming, but I'd like to avoid that if possible (although the more I search for things, the more it looks like I may need to go down that road).
If I do resort to register level programming, do you guys have any examples of how to set the UART up for SIR Free Format mode with DMA?
Thanks!
-Nathan