Using Nrf52832 board with a RS485 to UART TTL converter without the DE/RE pins

Hi,

I am trying to use a Modbus(TTL to RS485) converter to work with Nrf52832.

I am using rtu_client (https://github.com/zephyrproject-rtos/zephyr/blob/main/samples/subsys/modbus/rtu_client) sample available in the zephyr samples.

The sample uses  joy-it RS-485 shield for Arduino (https://joy-it.net/en/products/ARD-RS485).

The converter available to me is without the DE/RE pins. 

I have attached the image of the converter below.

Please tell if anyone has any solution that may work.

Parents
  • Hello,

    Sorry for the late reply, but I wanted to see if anyone in the community chipped in first (as the ticket will have less visibility once answered). Hopefully, if someone knows about this device, they may still reach out. 

    If you have any concrete questions, I may be able to help. But I have no previous experience with this device. 

    BR,

    Edvin

  • Hi Edvin, 

    I have solved the problem the with the converter, but I still have an issue with initialization of the sample code. I keep getting

     

    *** Booting nRF Connect SDK d96769faceca ***
    [00:00:00.270,385] <err> modbus_serial: Failed to configure UART
    [00:00:00.270,385] <err> modbus: Failed to init MODBUS over serial line
    [00:00:00.270,416] <err> mbc_sample: Modbus RTU client initialization failed

    I have also described the problem in another Thread. If you have any solution for it, that would be a great help.

    Regard

    Cipher

Reply
  • Hi Edvin, 

    I have solved the problem the with the converter, but I still have an issue with initialization of the sample code. I keep getting

     

    *** Booting nRF Connect SDK d96769faceca ***
    [00:00:00.270,385] <err> modbus_serial: Failed to configure UART
    [00:00:00.270,385] <err> modbus: Failed to init MODBUS over serial line
    [00:00:00.270,416] <err> mbc_sample: Modbus RTU client initialization failed

    I have also described the problem in another Thread. If you have any solution for it, that would be a great help.

    Regard

    Cipher

Children
No Data
Related