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

  • I am sorry, I still have a little doubt, NRF52840 and RS485 communication is only nrF52840 output voltage is 1.8V, find compatible with 1.8V transceiver RS485 chip, (as I said before, I use the CHIP LTM2881,  Related Datasheet also in the previous answer) is level compatibility only ok?  Then nrF52840 UART communication protocol and RS485 communication protocol is matched, how to consider this?  Looking forward to your reply 

  • It works, the data sheet naming can be confusing.

    Pin VCC: (Pins B6-B8): Supply Voltage. Recommended operating voltage is 3V to 3.6V for LTM2881-3 and 4.5V to 5.5V for LTM2881-5. Internally bypassed to GND with 2.2µF
    Use here at 3.3 volts (not nRF52840 VCC)

    Pin VL (Pin A7): Logic Supply. Interface supply voltage for pins RO, RE, TE, DI, DE, DOUT, and ON. Recommended operating voltage is 1.62V to 5.5V. Internally bypassed to GND with 2.2µF
    Use here at nRF52840 VCC = 1.8 volts and the digital signals between nRF52840 and RS485 digital inputs are compatible:

    VL = nRF52840 VCC = 1.8 volts

    VIL Logic Input Low Voltage 1.62V ≤ VL ≤ 5.5V Max value = 0.4 volts
    VIH Logic Input High Voltage DI, DE, RE = 0.67•VL = 1.2 volts

    VOL Output Low Voltage = 0.4 volts
    VOH Output High Voltage = VL-0.4 = 1.4 volts

    (Note DIN is not the same as DI)

    Note do not connect RS485 VL to RS485 VCC, they are different voltages

  • Thank you very much for your patient explanation, I understand what you want to express, I would like to ask, my NRF52840 power supply 1.8V, when the output logic is "1", what is the level range?  Looking forward to your reply, thank you 

  • The nRF52840 port pin input/output specification is very similar to the RS485 chip you are using when nRF52840 VCC and RS485 VL are both 1.8 volts. Output low 0.4 volts, output high 1.4 volts worst case. VSS is of course GND, VDD is VCC ie 1.8 volts, just different naming convention.

Related