User Tools

Site Tools


cangc9-firmware-en

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

cangc9-firmware-en [2018/11/12 08:56] (current)
Line 1: Line 1:
 +====== CAN-GC9 Firmware ======
 +[[english|{{ ​ rocrail-logo-35.png}}]]
 +[[english|Content]] -> [[english#​hardware|Hardware]] -> [[english#​merg_cbus|mergCBUS]]
 +  * [[:​cbus:​overview-en|CAN-GC Overview]]
 +  * [[:​can-gca1-en|CAN-GC1]] | [[:​can-gca1e-en|CAN-GC1e]] | [[:​can-gca2-en|CAN-GC2]] | [[:​can-gc3-en|CAN-GC3]] | [[:​can-gc4-en|CAN-GC4]] | [[:​can-gca5-en|CAN-GC5]] | [[:​can-gc6-en|CAN-GC6]] |  [[:​can-gc7-en|CAN-GC7]] | [[:​can-gc8-en|CAN-GC8]] | **[[:​can-gc9-en|CAN-GC9]]**
 +    * **[[:​cangc9-firmware-en|Firmware]]**
  
 + \\
 +{{http://​upload.wikimedia.org/​wikipedia/​commons/​4/​47/​Puerto_serie_Rs232.png}}\\
 + \\
 +
 + \\
 +===== Copyrights =====
 +(c) [[http://​www.rocrail.net|Rob Versluis, rocrail.net]]\\
 +
 +
 + \\
 +===== Message Format =====
 +^ CAN-Data ^^^^^^^^^
 +^ Byte:  |  0  |  1  |  2  |  3  |  4  |  5  |  6  |  7  |
 +^ Contents: ​ | OPC_DDEC | EventH | EventL | Header | BiDi-Type/​Data ||||
 + \\
 +^ Header ^^^^^^^^^
 +^ Bit:  |  7  |  6  |  5  |  4  |  3  |  2  |  1  |  0  |
 +^ Meaning: ​ | 1=BiDi, 0=RFID¹ | 1=Occupied | 1=BiDi detected | 1=Forwards | BiDi Type 0-15 ||||
 +¹) Rest of the data is the RFID number.\\
 + \\
 +^ BiDi-Type ^^ BiDi-Data ^
 +|  0  | No information | None |
 +|  1  | Address | Byte6[0-5]=AddrH,​ Byte7=AddrL |
 +|  2  | PoM Read response | Byte4=CV-Value,​ Byte5=CV-IndexH,​ Byte6[6-7]=CV-IndexL,​ Byte6[0-5]=AddrH,​ Byte7=AddrL |
 + \\
 +
 +=====I/​O=====
 +//​Proposal//​\\
 +^ Pin ^ Use ^
 +| RB4/RX | Read BiDi at 120 or 250kBaud |
 +| RB0 | DCC detection: Trigger for reading BiDi |
 +| RB3 | Current detection |
 +| RA0 | Software UART for sending data to the CAN-GC4 |
 +| RA1 | LED1 Running |
 +| RA2 | LED2 Current detection |
 +| RA3 | LED3 BiDi scanned |
 +| RA4 | LED4 Data send to CAN-GC4 |
 +| RB2 | Jumper for Lissy/​RailCom |
 +| RA6/7 | 8MHz Resonator |
 + \\
 +
 +
 +
 + \\
 +
 +=====Files=====
 +==== HEX ====
 +
 +==== Sources ====
 + * http://​bazaar.launchpad.net/​~r.j.versluis/​rocrail-hardware/​trunk/​files/​head:/​cbus/​cangc9/​
 +
 + \\
 +
 +===== ID-12 Data Format =====
 +{{:​cbus:​rfid-dataformat.png}}\\
 +
 +
 + \\
 +=====Lissy Protocol=====
 +120kBaud.\\
 +{{:​cbus:​lissy-protocol-1.jpg?​400}}
cangc9-firmware-en.txt · Last modified: 2018/11/12 08:56 (external edit)