MikroElektronika RS485 Isolator 5 Click

Overview

RS485 Isolator 5 Click is an isolated RS-485 transceiver Click board. It provides galvanic isolation between the UART side and the RS-485 bus side.

RS485 Isolator 5 Click

RS485 Isolator 5 Click

In Zephyr this shield is modeled as a Modbus RTU serial backend using the zephyr,modbus-serial compatible. Driver direction control is connected to mikroBUS signals:

  • AN as DE (driver enable)

  • RST as RE (receiver enable, active low)

Requirements

This shield requires a board that provides mikroBUS aliases for:

  • mikrobus_uart

  • mikrobus_header

Socket selection is controlled by the board DTS aliases. See Shields for more details.

Programming

Set -DSHIELD=mikroe_rs485_isolator_5_click when invoking west build. For example:

# From the root of the zephyr repository
west build -b mikroe_clicker_2/stm32f407xx --shield mikroe_rs485_isolator_5_click samples/subsys/modbus/rtu_client -- -DDTC_OVERLAY_FILE=""