I install angstorm with 3.2.18 kernel on my beaglebone, and I know how to set pin mux of uart, /sys/kernel/debug/omap_mux,
I also know how to send “date” like this:
root@beaglebone:echo date > /dev/ttyO1;
but I don’t know how to transmit from my beaglebone with C program,especially how to set baud,the date format! should I have to found the uart register in am335x TRM?
so could you tell me just how to transmit date form the beaglebone with C program??