How does one configure the UART for custom data/parity/stop bits? If you give an example, can you make it 115200/16/none/1? OS is raspbian on A+


The 115200, none, 1 part can be done with the stty command (man stty).

The standard drivers/UART do not support 16 bits.

If 16 is a serious number you might be able to bit bang with my pigpio library. See e.g. gpioSerialOpen and gpioWaveAddSerial.

However don't expect a great deal of reliablity at 115200bps.

  • The values I included are GBA serial "multiboot" values. Also, will over clocking help? – Alexander M May 31 '15 at 17:10
  • I know nothing of GBA serial multiboot. Overclocking won't affect the standard Linux drivers. It may make pigpio report errors faster. – joan May 31 '15 at 17:13
  • multiboot is an alternative way of loading programs onto a GBA, which is through the i/o port – Alexander M May 31 '15 at 17:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.