Table of Contents

CAN-GC7 mergCBUS FastClock Firmware

ContentHardwaremergCBUS


This page documents the HEAD revision of the firmware.

gc7-help.jpg


Description

The firmware is based on CAN-GC2.
The clock has no RTC for keeping up time if no minute syncs are received.


Features


Not supported


Firmware

Firmware version: 1.a rev.: 296, resonator: 8MHz

Copyrights

© MERG
© Rob Versluis, rocrail.net

IDs

NMRA Manufacturer ID 70
Product ID 7

HEX

Sources


OPC

#define OPC_FCLK    0xCF    // Fast clock event

  cmd[0] = OPC_FCLK;
  cmd[1] = mins;
  cmd[2] = hours;
  cmd[3] = wday; // bit 0-3: 1 = Sunday, 2 = Monday
  cmd[3] = mon; // bit 4-7: 1 = January, 2 = February, ...
  cmd[4] = div; // 0 = Freeze, 1 = Real time
  cmd[5] = mday; // 1..31
  cmd[6] = temperature; // -127...127 degrees


Node Variables

# Description
1 node configuration
2 CAN-ID


Node configuration byte

Bit Function Remark
0-3 display illumination: 1…12
4 show date alternating
5 positive logic display Depends on used display type with common anode or cathode.
6 show 'model' temperature alternating


Development Tools