2
\$\begingroup\$

I am looking at an RS-485 signal using a scope and an analyzer (saleae). This is running a mystery bus (see below for more information). I would like to know how to fix my frame errors. I can't begin to decode the protocol until I am reading the bits correctly.

7-E-1 7-E-1, LSB first

8-N-1 8-N-1, LSB first

Manchester Manchester 7bit

I have tried 40 or so combinations and nothing comes out without frame errors.

Other Information The alcom bus runs at 62.5kbps over RS-485 and supports up to 112 or 113 nodes. The master is always sending out packets over the bus to the slaves. The slaves node address is set with dip switches.

The physical layer is 2 wires with 150 ohm terminating resistors. This bus is used with the DeLaval Alpro system. The vendor is not helpful and provides no information. I have looked at the slave node boards. The chips all have varnish on them, so are very difficult to decode.

The packets all start with OxAA (or 0x55, depending on frame errors issue). I then assume there is a node addressing, data, and checksum.

Because of the bit rate I initially thought it was Profibus DP, telegram format does not seem to match.

People in the past have tried to figure out this same problem in 2010 and 2015.

Alcom is a Netherlands based company that seems to work with CAN Bus, etc. So maybe they initially designed the bus, hence the name.

My motivation for doing this is I want to read one specific node's telegrams. This node is an RFID reader and I want to see if the node is miss reading RFID tags (I highly suspect this to be true).

New contributor
David Sindar is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
\$\endgroup\$
  • 2
    \$\begingroup\$ Hm, that looks quite a lot like Manchester code. \$\endgroup\$ – Richard the Spacecat 2 days ago
  • \$\begingroup\$ I'm almost certain that's manchester coding you're looking at. \$\endgroup\$ – brhans 2 days ago
  • 1
    \$\begingroup\$ Fortunately the logic analyzer software has Manchester decoder. \$\endgroup\$ – Justme 2 days ago
  • 2
    \$\begingroup\$ It might be differential manchester coding? \$\endgroup\$ – Andy aka 2 days ago
  • \$\begingroup\$ I edited the post and added Manchester encoding. It seems to have the same issue where the 7,8,9 bits etc. do not line up with the telegram. \$\endgroup\$ – David Sindar 2 days ago
0
\$\begingroup\$

It's "differential manchester coding" as per Andy's comment above. The logic analyzer handles it and gives a valid bit stream.

New contributor
David Sindar is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
\$\endgroup\$

Your Answer

David Sindar is a new contributor. Be nice, and check out our Code of Conduct.

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.