== Data Packet == __Figure 1 - Generic Data Packet Structure__ [[BR]][[BR]] [[Image(data_pkt.jpg, 600px)]] [[BR]][[BR]] __Figure 2 - FFT Data Packet Structure__ [[BR]][[BR]] [[Image(fft_data_pkt.jpg, 600px)]] [[BR]][[BR]] __Table 1 - Data Header__ ||'''TYPE''' ||Data packet type|| || ||0x0001 - Generic data|| || ||0x0002 - FFT data|| ||'''FFT_PT'''||FFT 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|| [[BR]] * 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 Status packet case, we have 20 (IP header) + 8 (UDP header) + min. 20 (UDP payload) = 48 bytes [wiki:Software/Firmware/Framework/R3_arch/outline/pkt ..]