In memory of Ben “bushing” Byer, who passed away on Monday, February 8th, 2016.

Changes

Jump to navigation Jump to search
m
Line 176: Line 176:  
==On Air Data==
 
==On Air Data==
   −
The Force Feedback configuration is sent continuously over the wireless link, which takes the form of a 31 byte payload. These are seen on the SPI bus as they are sent to the RF24L01 output buffer (register 0xA0). The format is as follows:
+
The Force Feedback configuration is sent continuously over the wireless link, which takes the form of a 31 byte payload. These are seen on the SPI bus as they are sent to the RF24L01 output buffer (register 0xA0).  
 +
 
 +
<code>
 +
[0xA0(0x0E)0x2F(0x00)0x1B(0x00)0x40(0x00)0x03(0x00)0x00(0x00)0x7D(0x00)0x00(0x00)0x00(0x00)0x00(0x00)0x00(0x00)0x00(0x00)0x00(0x00)0x00(0x00)0x00(0x00)0x00(0x00)0xFF(0x00)0x00(0x00)0x7F(0x00)0x7F(0x00)0x77(0x00)0x00(0x00)0x7F(0x00)0x00(0x00)0x00(0x00)0x00(0x00)0x00(0x00)0x00(0x00)0x00(0x00)0x33(0x00)0x5A(0x00)0xC0(0x00)]
 +
</code>
 +
 
 +
The format is as follows:
 
: Bytes 1..2 - Negotiated SubChannel Address
 
: Bytes 1..2 - Negotiated SubChannel Address
 
: Byte 3 - Packet Ack 'dongle->wheel' (0x40 saw packet, 0x80 missed packet, 0x20 awaiting sync, 0x07..0x04 sync received, 0x10 sync now).
 
: Byte 3 - Packet Ack 'dongle->wheel' (0x40 saw packet, 0x80 missed packet, 0x20 awaiting sync, 0x07..0x04 sync received, 0x10 sync now).
Line 186: Line 192:  
: Bytes 29..30 - Auto Center
 
: Bytes 29..30 - Auto Center
 
: Byte 31 - Hopping RF Chanel Delta (0xC0 gives sequence 0x33, 0x13, 0x42, 0x22)
 
: Byte 31 - Hopping RF Chanel Delta (0xC0 gives sequence 0x33, 0x13, 0x42, 0x22)
 +
 +
The Joystick data from the wheel is returned to the micro. These are seen on the SPI bus as reads from the input buffer (register 0x61).
 +
 +
<code>
 +
[0x61(0x40)0x00(0x00)0x00(0x04)0x00(0x00)0x00(0x00)0x00(0x77)0x00(0xFF)0x00(0xFF)]
 +
</code>
 +
 +
The format is as follows:
 +
: Byte 0 - Flag showing data in receive buffer
 +
: Byte 1
 +
: Byte 2
 +
: Byte 3
 +
: Byte 4
 +
: Byte 5
 +
: Byte 6
 +
: Byte 7
    
==Testing/Hacking==
 
==Testing/Hacking==
49

edits

Navigation menu