Hi, I am trying to interface a device through GPIOs numbered 11 and 12. I am communicating with my device using a simple UART protocol using Rx and Tx.
I have to communicate hex data frames serially to my device in order to get what I need from it. The problem is that I can configure the outputs of these GPIO pins in /sys/class/gpio/gpioxx/value and set the value to be zero or one.
Now is there a way I can send bytes and words serially without setting and un-setting each bit ( I am translating my hex frames to binary and setting the values of the pin using a shell script sequentially in order).
Also please suggest a way I can use to transfer the data using a custom baud rate.