VemsFrontier/NetWorkHardWare (2005-05-07 15:02:09)

Developer corner: find a good way for networking the ARM and AVR boards

This is hardware related. VemsFrontier/Networking is about software/logical issues.

Physical layer overview: why we like CAN

Many devices only support FBUS because of space constraints:
  • round small display
  • mobile phones
  • Nintendo Gameboy

For the above reasons, CAN was chosen as our primary network solution. ARM processors with CAN controllers and onboard CAN transceivers are preferred except the most minimal designs. FBUS is freely available with any uC we use, and bigger boards will also feature connectivity solutions like RS232 for some time.

Fortunately, [bridging ]either of these to USB is simple and cheap. It is normally just a "cable" with some circuitry inside.

RS232 and FBUS not only needs bridging to notebook, but also needs a HUB when more than 2 nodes are used. [converters]

The RS-485 is basically an update of the RS-422 specified for multipoint buses to be constructed. This standard meets and improves all the requirements of the RS-422 allowing, in addition, up to 32 drivers and 32 receivers can be connected to a single bus. [ST] site. TI has many cost efficient transceivers.

[modbus] goes hand in hand (as a practical upper layer) with RS485, although RS485 is just the physical layer and modbus is not a requirement.


RS485 on VemsFrontier/ArmEfi

Conclusion

We probably want CAN on as many boards as possible, including the 9343 display.

I'm afraid that 2 networks both CAN and RS485) would be costly to support originally. When we sell 10000 boards, we can maybe rethink this and invest in some development and use 2 networks from than on. The only difference this makes is that smaller sensor-controller boards (made from LPC2129) will have more IO than if they were atmega88 based. But the connector (and supply-connection!) costs dictate the same anyway.

Also, CAN is a sales pitch


LIN protocol - an alternative

For above reasons, RS485 seems to be the most widely used interconnection standard in the industry for low cost controllers and sensors.

I'd (sloppily) say that


CAN transceiver and CAN voltage

MCP2551 and Texas CAN transceivers are competing, but they are both SOIC8 and pin and function compatible.

Both support 3.3 or 5V IO to the uC (eg. MCP2551 thresholds are guaranteed ViH above 2V, and ViL below 0.8v)

power:

Fortunately the Texas transceiver works with both buses, but it's better to decide about the voltage now.


See also