Hi,
Found it...
change this:Then i have ~600kbytes out: (@133Mhz system clk)
[23:13:58] Throughput: 683762.20 B/s (5470097.59 bps)
[23:13:59] Throughput: 681322.02 B/s (5450576.13 bps)
[23:14:00] Throughput: 678889.41 B/s (5431115.31 bps)
[23:14:01] Throughput: 677631.51 B/s (5421052.07 bps)
with this code:This is just what others has reported earlier.. so no news...
Could be nice to have an option to change this in the project files, either source or cmakelist...
Kasper
Found it...
change this:
Code:
// CHANGE CHANGE CHANGE//.pico-sdk\sdk\2.1.0\src\rp2_common\pico_stdio_usb\include\tusb_config.h//#define CFG_TUD_CDC_RX_BUFSIZE (256)//#define CFG_TUD_CDC_TX_BUFSIZE (256)#define CFG_TUD_CDC_RX_BUFSIZE 1024// (TUD_OPT_HIGH_SPEED ? 512 : 64)#define CFG_TUD_CDC_TX_BUFSIZE 1024// (TUD_OPT_HIGH_SPEED ? 512 : 64)// CDC Endpoint transfer buffer size, more is faster#define CFG_TUD_CDC_EP_BUFSIZE 1024// (TUD_OPT_HIGH_SPEED ? 512 : 64)// CHANGE CHANGE CHANGE END
[23:13:58] Throughput: 683762.20 B/s (5470097.59 bps)
[23:13:59] Throughput: 681322.02 B/s (5450576.13 bps)
[23:14:00] Throughput: 678889.41 B/s (5431115.31 bps)
[23:14:01] Throughput: 677631.51 B/s (5421052.07 bps)
with this code:
Code:
while(true){ tud_cdc_write((const char*) meas_buffer.buffer.second_half, sizeof(meas_buffer.buffer.second_half)); tud_cdc_write_flush();}
Could be nice to have an option to change this in the project files, either source or cmakelist...
Kasper
Statistics: Posted by rapzak — Sun Jan 12, 2025 10:20 pm