Administrative

Projects

Active

Future

Finished

Reference

Abandoned

Project: HomeAutomation

Firmware concepts

Firmware concepts

Bus devices

Flow of control

Control station

As the CAN control station does not need to include much logic functionality, the firmware will be quite simple. The control station only has to forward messages from the CAN bus to the control computer and back. These conversations with the control computer are easily translated to the actual CAN datagrams for bus transmission, and in the other direction, not much translation effort is required either.

However, the control station provides limited buffer space for datagrams in case the medium to transmit to is busy (or unavailable) at the time one or more datagrams are received by the station. The ATmega32 MCU controlling the station features 2 kB of RAM, so memory space for this ring buffer to contain a handful of datagrams for each direction is readily available.

Logbook

Last page update: 2011-02-15