The main function code is as follows: while (1)
{
/* USER CODE END WHILE */
/* USER CODE BEGIN 3 */
loop_cnt++;
//HAL_GPIO_TogglePin(LED_GPIO_Port,LED_Pin);
if(13 == ((loop_cnt >> 4) & 0x0f))
HAL_GPI...
I use STM32F407 USB2.0 HS to send data periodically. The USB mode is high-speed mode. I configure the breakpoint IN transmission as the interrupt transmission mode. I use CDC_Transmit to send data. Each time it is judged that the last transmission is...
Under normal circumstances, SEGGER RTT viewer has output and w5500 will connect to the server. However, after commenting out do_http(0), RTT viewer has no output and w5500 will not connect to the server. If you enter debug mode, you will find that th...
I changed the USB protocol to virtual serial port and solved the problem. The read interval is now very stable, with a read interval of about 1.3 seconds appearing every few hours.
>More precisely : the response is permanently increasing - or there are just some "slow" and most other responses still at xx ms ?The maximum USB transmission interval is increased to 180ms, and the average time is still 2ms. I measured it one night ...
The USB delay I measured is as high as 2 seconds. Is this normal? And the longer the continuous transmission time of my device, the higher the USB delay. When the transmission is about two hours, the maximum delay is about 250 milliseconds. I use the...