wiki:crkit/Software/Firmware/Framework/R3_arch/data_pkt

Data Packet

Figure 1 - Generic Data Packet Structure



Figure 2 - FFT Data Packet Structure



Table 1 - Data Header

TYPE Data packet type
0x0001 - Generic data
0x0002 - FFT data
FFT_PTFFT point, only applicable to FFT data type
0x3 - 8-pt
0x4 - 16-pt
0x5 - 32-pt
0x6 - 64-pt
0x7 - 128-pt
0x8 - 256-pt
0x9 - 512-pt
0xA - 1024-pt
AVG Averaging factor, only application to FFT data type
0x0 - 2
0x1 - 4
0x2 - 8
0x3 - 16
0x4 - 32
0x5 - 64
0x6 - 128
0x7 - 256


  • For R3, fragmentation not supported. max UDP payload = 1500 - 20 (IP header) - 8 (UDP header) = 1472 bytes.
  • For HW -> Host, Data header is added by Rx APP, along with Data payload.
  • Note, UDP port 1002 is used for Data packets. Packet Classifier forwards UDP port 1002 packets to Tx Buffer for further APP processing.
  • Note, minimum Ethernet payload is 46 bytes. In Data packet case, we have 20 (IP header) + 8 (UDP header) + min. 20 (UDP payload) = 48 bytes

..

Last modified 7 years ago Last modified on 07/14/10 15:22:44

Attachments (2)

Download all attachments as: .zip