Changes between Version 28 and Version 29 of serial
- Timestamp:
- 05/04/2022 07:26:16 PM (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
serial
v28 v29 695 695 * Note we have to tell {{{gpioset}}} to remaining running until it receives a signal in order to keep the GPIO line from reverting back to its original state when the process exits. If you use the deprecated {{{sysfs}}} API or set it in U-Boot it may be easier 696 696 697 Note that if you want to be able to change the UART mode at runtime instead of at boot time you can use the 'rs232-rts' overlay which adds the RTS signal capability to the UART, configure the various gpios manually at runtime via sysfs or gpiod, and use the TIOCSRS485 ioctl to invoke RS485 mode with the polarity of the RTS pin handled by setting rs485conf.flags SER_RS485_RTS_AFTER_SEND 697 698 698 699 [=#newport]