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-05-17 14:17]
arnaud [Configure auto retry (ARD/ARC)]
doc:crazyradio:usb:index [2012-11-11 18:00]
arnaud [Data transfer]
Line 18: Line 18:
 To send a packet the following sequence must be followes: To send a packet the following sequence must be followes:
   * Send the packet to EP1_OUT. Its length should be between 1 to 32Bytes   * Send the packet to EP1_OUT. Its length should be between 1 to 32Bytes
-  * Read the ACK from EP1_IN. The first by is the transfers status and the following bytes are the content of the ACK payload, if any.+  * Read the ACK from EP1_IN. The first byte is the transfers status and the following bytes are the content of the ACK payload, if any.
  
 <ditaa> <ditaa>
Line 63: Line 63:
 The nrf24L chips provides 126 Channels of 1MHz from 2400MHz to 2525MHz. The channel parameter shall be between 0 and 125 (if not the command will be ignored). The nrf24L chips provides 126 Channels of 1MHz from 2400MHz to 2525MHz. The channel parameter shall be between 0 and 125 (if not the command will be ignored).
  
-The radio channel is set as soon as the setup transaction is completed which takes about 1ms. The new frequency is going to be used for the following transfered packets. Default value for the radio channel is 2.+The radio channel is set as soon as the USB setup transaction is completed which takes about 1ms. The new frequency is going to be used for the following transfered packets. Default value for the radio channel is 2.
  
 ==== Set radio address ==== ==== Set radio address ====
Line 99: Line 99:
 |          0x40 | SET_RADIO_POWER (0x04)   | Power    | Zero   | Zero    | None    | |          0x40 | SET_RADIO_POWER (0x04)   | Power    | Zero   | Zero    | None    |
  
 +Sets the radio amplifier output power. Possible values:
 +
 +^ Value ^ Power   ^
 +|     0 | -18dBm  |
 +|     1 | -12dBm  |
 +|     2 | -6dBm   |
 +|     3 | 0dBm    |
  
 ==== Configure auto retry (ARD/ARC) ==== ==== Configure auto retry (ARD/ARC) ====
Line 127: Line 134:
 By default ARD=32Bytes (0xA0) and ARC=3. By default ARD=32Bytes (0xA0) and ARC=3.
  
-==== Continuous carrier mode ====+==== Auto ACK configuration ====
  
 ^ bmRequestType ^ bRequest                 ^ wValue   ^ wIndex ^ wLength ^ data    ^ ^ bmRequestType ^ bRequest                 ^ wValue   ^ wIndex ^ wLength ^ data    ^
doc/crazyradio/usb/index.txt · Last modified: 2020-05-12 14:12 by kimberly