Knowledge Base

In an Xwire master, push the communications error counter into X and reset the count. This will give a count of the number of receive characters that have been corrupted, plus message CRC errors, since the previous time this instruction was executed. Generally this will indicate a noisy line or collisions between two slaves accidentally set to the same slave address.

XwireGetComErr is designed for detecting collisions (more than one slave responding to a poll) in systems where slave addresses may be dynamically set by a user. By comparison, XwireGetErrCount is most usefull for detecting missing slaves.

Xwire documentation

Dialect restriction: This instruction is not implemented on boards prior to dialect D=24.