Problem with USART transmit and USB stack on STM32F105RC
Hello! I trying to use usart1 in main cycle, and VCP USB in usb interrupts. USB works fine, until i not using usart.
When i try continiosely send data in main cycle, usb stack not working(enumeration fails):
while (1)
{
HAL_UART_Transmit(&huart1, (uint8_t*)"Hello World\n", 12, 10);
/* USER CODE END WHILE */
/* USER CODE BEGIN 3 */
}When i change USART1 to USART3, usb works normally... I can't understand - whats happens?
STM32CubeMX version : 5.2.1
Mcu: STM32F105RC
Optimizaion O0 and O1, behavior is the same.
