User Tools

Site Tools


cangc6-firmware-en

Differences

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

Link to this comparison view

cangc6-firmware-en [2018/11/12 08:56] (current)
Line 1: Line 1:
 +====== CAN-GC6 Firmware ======
 +[[english|{{ ​ rocrail-logo-35.png}}]]
 +[[english|Content]] -> [[english#​hardware|Hardware]] -> [[english#​merg_cbus|MERG CBUS]]
 +  * [[:​can-gca1-en|CAN-GC1]] | [[:​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]]**
 +    * **[[:​cangc6-firmware-en|Firmware]]**
 +
 + \\
 +===== Copyrights =====
 +(c) [[http://​www.rocrail.net|Rob Versluis, rocrail.net]]\\
 +
 + \\
 +===== Baudrate =====
 +For each baud rate we need to calculate the value being placed in the SPBRG differently:​
 +<​code>​
 +SPBRG = (Fosc / (16 x Baud rate)) - 1, BRGH = 1 High Speed
 +SPBRG = (Fosc / (64 x Baud rate)) - 1, BRGH = 0 Low Speed 
 +</​code>​
 +
 +16.66 KBaud +/-1.5% = 16909.9 - 16410.1
 +<​code>​
 +Fosc=32MHz
 +(32000000 / 16 * 16660) - 1 = 119.05
 +</​code>​
 +
 +
 +
 + \\
 +===== Links =====
 +  * http://​sprut.de/​electronic/​pic/​grund/​rs232.htm
 +  * http://​www.microcontrollerboard.com/​pic_serial_communication.html#​SPBRGreg
 +
  
cangc6-firmware-en.txt ยท Last modified: 2018/11/12 08:56 (external edit)