STM32G484, RS-485 and Modbus - how to configure in CubeMX???
When you configure a USART for the STM32G484 in CubeMX, it gives you a choice of RS485 or Modbus (but not both!). Yet, Modbus RTU runs *on top of* RS485, so this makes no sense. The Modbus configuration appears to put the MCU USART into half-duplex mode. I have seen RS485 implementations that use RTS with an external driver to switch from send to receive, so perhaps the setting in CubeMX is made in consideration of how the provided and instantiated drivers work?
Is there any modbus application example (with circuitry?) for CubeMX's "Modbus" configuration or even an external driver configuration?
Any thoughts are much appreciated.
