comparison Scan/UARTConnect/capabilities.kll @ 389:fc2c2a1e9615

Adding basic remote capabilities + UART Rx DMA buffers - Rx buffers weren't fast enough, had to use DMA :D - Basic LCD remote capabilities are working, single node - Multi-node broadcast seems to have a bug still - DMA ring buffer allowed for significant processing simplification * There is an overrun risk, but the buffer is large and generally there isn't too much data being sent (just very quickly) - Split out LCD layer stack capability into itself and an "exact" version used for updating remote nodes
author Jacob Alexander <haata@kiibohd.com>
date Thu, 15 Oct 2015 00:16:36 -0700
parents dbefb68411e1
children
comparison
equal deleted inserted replaced
388:3ddab7faf67d 389:fc2c2a1e9615
24 # 48 MHz / ( 16 * Baud ) = BDH/L 24 # 48 MHz / ( 16 * Baud ) = BDH/L
25 # Baud: 115200 -> 48 MHz / ( 16 * 115200 ) = 26.0416667 25 # Baud: 115200 -> 48 MHz / ( 16 * 115200 ) = 26.0416667
26 # Thus baud setting = 26 26 # Thus baud setting = 26
27 # NOTE: If finer baud adjustment is needed see UARTx_C4 -> BRFA in the datasheet 27 # NOTE: If finer baud adjustment is needed see UARTx_C4 -> BRFA in the datasheet
28 # Baud fine setting = 0x02 28 # Baud fine setting = 0x02
29 UARTConnectBaud = 1; # 4.5 Mbps @ 72 MHz 29 UARTConnectBaud = 1; # 4.5 Mbpsa @ 72 MHz
30 UARTConnectBaudFine = 0x0; 30 UARTConnectBaudFine = 0x0;
31
32 #UARTConnectBaud = 39; # 115385 bps @ 72 MHz (close to 115200)
31 33
32 # Cable Check Command Length 34 # Cable Check Command Length
33 # This defines the length of the cable command 35 # This defines the length of the cable command
34 # 0xD2 11010010 is used for each check byte 36 # 0xD2 11010010 is used for each check byte
35 # 37 #