Using RS-232, RS-485

From Neuromeka Wiki
Jump to: navigation, search
BB-Air


Using RS-232, RS-485

BBAir optional cape uses UART1 for RS-485 and UART5 for RS-232. So, system configuration is required to use these serial ports.

  • Enable ports
    $ echo BB-UART1 > /sys/devices/bone_capemgr.*/slots
    $ echo BB-UART5 > /sys/devices/bone_capemgr.*/slots
  • Disable HDMI
    Edit or uncomment /boot/uEnv.txt file
    cape_disable=capemgr.disable_partno=BB-BONELT-HDMI,BB-BONELT-HDMIN
  • Enable ports on every boot
    Edit /boot/uEnv.txt file
    optargs=capemgr.enable_partno=BB-UART1,BB-UART5