nRF5340-DK - UART/VCOM names in device tree and schematics

nRF5340-DK, PCA10095, v2.0.1 and v2.0.2

According the zephyr device tree, the UART0 is mapped to GPIO 0.19/0.20 and UART1 is mapped to GPIO 1.0/1.1 .

According the schematics , page 4, UART1 is mapped to VCOM0 and UART2 is mapped to VCOM2.

According "nrfjprog --com" I get  VCOM1 and VCOM0.

Question:

Why does the schematics mention UART2, if that isn't used in the device tree?

Why does the schematics mention VCOM2, if that isn't used in nrfjprog?

For me this seems, that the schematics are not in line with the other stuff.

So the schematics should map UART0 to VCOM1, and not the UART2/VCOM2 stuff.

Or do I get something wrong?

Parents
  • Hello,
    Yes, I understand the confusion here. But what you see inside the schematic is just the label used when designing, so I would say ignore it. The actual behavior is defined by the .dts/overlay. The pin numbers (like P0.19/0.20) are the only thing that needs to match between the schematic and your code.

    Kind Regards,

    Abhijith

Reply
  • Hello,
    Yes, I understand the confusion here. But what you see inside the schematic is just the label used when designing, so I would say ignore it. The actual behavior is defined by the .dts/overlay. The pin numbers (like P0.19/0.20) are the only thing that needs to match between the schematic and your code.

    Kind Regards,

    Abhijith

Children
Related