nRF52833-DK uart communication with nRF52840-DK

Hi,

I use two nRF52833-DK boards for uart communication (both using pin p0.06 for TX and p0.08 for RX),
with their TX and RX and GND pins connected to each other, and perform a UART transmission test:

One board is responsible for sending UART data, and the other board is responsible for receiving the data, the transmission works without any issues.

However, when I replace the receiving nRF52833-DK board with an nRF52840-DK board,
I find that when the UART RX pin on the nRF52840-DK receives UART data from the nRF52833-DK and the data is bit1,
the voltage level is about 3V, which is similar to the nRF52833-DK.
But when the data is bit0, the voltage level is raised to around 1.6V and cannot drop close to 0V, causing transmission problems.

Does the nRF52840-DK require any additional configuration to work with UART communication from the nRF52833-DK?
All DK boards are powered by VDD.

Parents
  • Tx and Rx are connected to the interface MCU (ATSAM) and need to be released to use externally. Try switch SW6, this switch controls this  /IF_OFF interface selection.

  • Released to use externally ??

    When connecting two nRF52833-DK boards together via UART,
    with one board sending and the other receiving, the signals are normal,
    and the receiving board is able to receive UART data from the sending board
    (without specifically switching SW6, keeping it at default).

    My question is: Why does the logic-0 signal of UART get pulled up to approximately 1.6V when the receiving board is changed from nRF52833-DK to nRF52840-DK?


    The following shows two nRF52833-DK boards connected together.
    When measuring the UART RX signal on the receiving nRF52833-DK board, the logic-0 voltage is almost 0V, and communication works properly.




    The following shows one nRF52833-DK and one nRF52840-DK boards connected together.
    the logic-0 voltage is approximately 1.6V.

  • Hi,

    Quick test to check if this is related to the new interface chip on the nRF52840 DKs is to repeat the test but with different GPIOs, can you change GPIOs from P0.06 and P0.08 and see if it's still an issue?

    regards
    Jared 

  • It is simple bus contention, maybe I wasn't clear: the nRF52840DK has an interface MCU (the debug interface) which is connected to P0.06 and P0.05. The IMCU is driving Tx at the same time the nRF52833 DK is driving Tx, both connected to the nRF52 Rx so when one drives high and the other drives low they fight and the voltage sits mid-rail or thereabouts.

    SW6 on the nRF52840DK disconnects the unwanted IMCU Tx

Reply
  • It is simple bus contention, maybe I wasn't clear: the nRF52840DK has an interface MCU (the debug interface) which is connected to P0.06 and P0.05. The IMCU is driving Tx at the same time the nRF52833 DK is driving Tx, both connected to the nRF52 Rx so when one drives high and the other drives low they fight and the voltage sits mid-rail or thereabouts.

    SW6 on the nRF52840DK disconnects the unwanted IMCU Tx

Children
No Data
Related