This shows you the differences between two versions of the page.
Next revision | Previous revision Next revision Both sides next revision | ||
doc:crazyradio:usb:index [2012-03-28 20:44] arnaud created |
doc:crazyradio:usb:index [2012-04-02 08:54] arnaud [Data transfer] |
||
---|---|---|---|
Line 16: | Line 16: | ||
==== Data transfer ==== | ==== Data transfer ==== | ||
+ | The radio dongle is configured in PTX mode (in the Nordic terminology) which means that it sends packet to the copter and waits for the acknowledge. The acknowledge can contains a Payload which is the mean to get data from the copter. | ||
+ | |||
+ | The packet is to send is sent to the EP1 and the ack status is then received from the EP1. There are no buffering in the radio dongle, the ACK must be received by the PC before the next packet can be sent. | ||
+ | |||
+ | < | ||
+ | | ||
+ | < | ||
+ | +-------------------------+ | ||
+ | To EP1_OUT: | ||
+ | +-------------------------+ | ||
+ | 1..32 Bytes | ||
+ | 1Byte < | ||
+ | +-----+----------------------+ | ||
+ | From EP1_IN: | ||
+ | +-----+----------------------+ | ||
+ | </ | ||
+ | |||
+ | This protocol permits to transfer about 500 packets per seconds. | ||
===== Radio protocol ===== | ===== Radio protocol ===== | ||