This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nRF52840 and RS-485 protocol

Hi everyone,

I have some devices that are communicated through RS485. nRF52840 DK supports RS485 communication?

Do you have suggestions of how should I connect those devices with nRF52840?

Thanks in advance 

Nick

Parents
  • Hi Nick

    The scope of the UART on the nRF5x is simple point to point (RS232) serial communication, not the industrial standards for multidrop and serial networks (RS422, RS485). Nordic does therefore not offer any examples or solutions with RS485.

    There are multiple other threads here on the DevZone regarding RS485 support on the nRF52 series. Unfortunately, we don't have support implemented in the SDK, but you can check out this thread for a suggestion by another user on how this can be done.

    Other suggestions: You might be able to use an Enable pin and blocking mode in order to solve this, although it's not a very elegant solution. You can configure the "driver" pins as inputs in this case. Set them up as inputs, change them to outputs before transmitting, then set them back to inputs when the transmission is complete.

    Best regards,

    Simon

Reply
  • Hi Nick

    The scope of the UART on the nRF5x is simple point to point (RS232) serial communication, not the industrial standards for multidrop and serial networks (RS422, RS485). Nordic does therefore not offer any examples or solutions with RS485.

    There are multiple other threads here on the DevZone regarding RS485 support on the nRF52 series. Unfortunately, we don't have support implemented in the SDK, but you can check out this thread for a suggestion by another user on how this can be done.

    Other suggestions: You might be able to use an Enable pin and blocking mode in order to solve this, although it's not a very elegant solution. You can configure the "driver" pins as inputs in this case. Set them up as inputs, change them to outputs before transmitting, then set them back to inputs when the transmission is complete.

    Best regards,

    Simon

Children
No Data
Related