User Tools

Site Tools


cbus:can-gc7-firmware

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

  • Model time display as received by the OPC_FCLK.
  • Displays " - - - - " until the first sync is received.
  • Displays " H E L P " if no sync was received within a model time minute based on the last received divider.
  • Brightness correction by dialog.
  • The hours/minutes separator shows the model second pulse.
  • Freeze/Resume support; The separator will stop flashing on freeze.
  • Shows Time/Date/Temperature alternately.
  • Day of week represented by seven LEDs on the left.


Not supported

  • Boot mode.


Firmware

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

Copyrights

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

cbus/can-gc7-firmware.txt · Last modified: 2024/08/11 18:05 by rjversluis