This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
doc:crazyradio:usb:index [2012-05-17 14:14] arnaud |
doc:crazyradio:usb:index [2012-11-11 17:56] arnaud [Set radio channel] |
||
---|---|---|---|
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) | | 0x40 | SET_RADIO_POWER (0x04) | ||
+ | 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 117: | Line 124: | ||
| ... | ... | | | ... | ... | | ||
| 0x0F | 4000us | | 0x0F | 4000us | ||
- | |||
^ Value ^ Ack payload length ^ | ^ Value ^ Ack payload length ^ | ||
| 0x80 | 0Byte | | | 0x80 | 0Byte | | ||
Line 128: | 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 | ^ bmRequestType ^ bRequest |