Hi,
I have tried to get the TX performance up, and seem to read i have to increase some buffers, but not sure exaclty how to...
Right know i have a TX speed of arround 195.000 bytes/sec.
I like to get up to min 400.000 bytes/s ~ 4M bit/s.... i hope that can be done...
I have 1 core only sending data and the 2nd getting data in...
I have tried these ways:Clock has increased to 133Mhz..
The buffer to send is 1000bytes
Any hints? Thank you
Kasper
I have tried to get the TX performance up, and seem to read i have to increase some buffers, but not sure exaclty how to...
Right know i have a TX speed of arround 195.000 bytes/sec.
I like to get up to min 400.000 bytes/s ~ 4M bit/s.... i hope that can be done...
I have 1 core only sending data and the 2nd getting data in...
I have tried these ways:
Code:
while(true){//my_stdio_usb_out_chars((const char*)meas_buffer.buffer.second_half,sizeof(meas_buffer.buffer.second_half)); //195.000 bytes/sec//fwrite((const void*)meas_buffer.buffer.second_half, sizeof(unsigned char), sizeof(meas_buffer.buffer.first_half), stdout); // 195.000 bytes/sec /*for (size_t i = 0; i < sizeof(meas_buffer.buffer.second_half); ++i) { // 70.000 bytes/sec putchar(meas_buffer.buffer.second_half[i]); // Writes one character at a time }*/ tud_cdc_write((const char*) meas_buffer.buffer.second_half, sizeof(meas_buffer.buffer.second_half)); // 195.000 bytes/sec tud_cdc_write_flush();}
The buffer to send is 1000bytes
Any hints? Thank you
Kasper
Statistics: Posted by rapzak — Sun Jan 12, 2025 5:12 pm — Replies 1 — Views 73