This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

I use LwIP to send the data collected by ad9361 and adc_capture (2048, ADC_DDR_BASEADDR).

I use LwIP to send the data collected by ad9361 and adc_capture (2048, ADC_DDR_BASEADDR). The data captured are listed in the following instructions:

err = tcp_write(tpcb, ADC_DDR_BASEADDR, SEND_SIZE, 3);
if (err != ERR_OK) {
xil_printf("txperf: Error on tcp_write: %d\r\n", err);
connected_pcb = NULL;
return;
}
err = tcp_output(tpcb);
if (err != ERR_OK) {
xil_printf("txperf: Error on tcp_output: %d\r\n",err);
return;

The SEND_SIZE in tcp_write should represent the length of the transmitted data, which can be sent normally when the length is 12 short data. When the number is set to 2048, only the first data is received at the receiving end.




[locked by: aardelean at 7:49 AM (GMT 0) on 23 May 2019]
Parents Reply Children