Machine-translated by Google. Questions are authored in English.
Top

Discussion

Comparing a UART link with a CAN link for two boards a metre apart inside one enclosure, the UART is

  • A.preferable only if the data rate exceeds one megabit
  • B.unsuitable because it cannot detect errors
  • C.adequate and much cheaper, needing no transceiver
  • D.unusable over that distance without a repeater

Answer: C

Correct answer: adequate and much cheaper, needing no transceiver

Over a metre inside one enclosure a plain UART works directly between two microcontroller pins with no transceiver, no termination and no protocol controller. CAN’s differential signalling, arbitration and error handling exist for long, noisy, multi-node buses, and none of that is needed here. The UART does detect errors, through parity and framing, and a metre is far within its range.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.