User Tools

Site Tools


doc:crazyradio:usb:index

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
doc:crazyradio:usb:index [2012-03-29 11:04]
arnaud [Data transfer]
doc:crazyradio:usb:index [2012-04-02 09:07]
arnaud [Dongle configuration]
Line 14: Line 14:
 ==== Dongle configuration ==== ==== Dongle configuration ====
  
 +The following vendor control messages are implemented in the radio dongle:
 +
 +^ Control message   ^ Value ^ Type ^ Data ^
 +| SET_RADIO_CHANNEL | 0x01  | SET  | One 8bit integer representing the radio channel to set from 0 to 125 |
 +| SET_RADIO_ADDRESS | 0x02  |    | **Not implemented** |
 +| SET_DATA_RATE     | 0x03  | SET  | One 8bit integer setting the radio data-rate. See bellow for possible values |
 +| LAUNCH_BOOTLOADER | 0xFF  |  -   | Resets the dongle in nRF24LU1 bootloader mode. The dongle has to be disconnected and reconnected in order to restart in crazyradio mode |
 +
 +Possible values for the datarate:
 +^ Value ^ Radio datarate ^
 +|     0 | 250Kbps        |
 +|     1 | 1MBps          |
 +|     2 | 2Mbps (Default)|
 ==== Data transfer ==== ==== Data transfer ====
  
Line 23: Line 36:
                        1..32Bytes                        1..32Bytes
                <------------------------>                <------------------------>
-              +--------------------------+ +              +-------------------------+ 
-To EP1_OUT:    Packet to be transmited | +To EP1_OUT:   | Packet to be transmited | 
-              +--------------------------++              +-------------------------+
                            1..32 Bytes                            1..32 Bytes
-                   <-------------------->+               1Byte <-------------------->
               +-----+----------------------+               +-----+----------------------+
 From EP1_IN:  | Ack | Ack payload received | From EP1_IN:  | Ack | Ack payload received |
Line 33: Line 46:
 </ditaa> </ditaa>
  
 +This protocol permits to transfer about 500 packets per seconds.
 ===== Radio protocol ===== ===== Radio protocol =====
  
doc/crazyradio/usb/index.txt · Last modified: 2020-05-12 14:12 by kimberly