AnsweredAssumed Answered

STM32F4 FreeRTOS HAL_Uart_Transmit_IT Frame Error

Question asked by yildirim.yi_it on Oct 27, 2016
Latest reply on Oct 27, 2016 by FTITI.Walid
Helllo,

Create a SW4STM32 project using Cubemx. Project in UART, freertos and lwip.
I use the task with hal_uart_transmit_it not work. The give a framing error. Added ioc file

void StartDefaultTask(void const * argument)
{
  /* init code for LWIP */
  MX_LWIP_Init();
 
  /* USER CODE BEGIN 5 */
  /* Infinite loop */
  uint8_t buffer[] = { 0x01 , 0x02, 0x33 };
  for(;;)
  {
    osDelay(1);
    HAL_UART_Transmit_IT(&huart1, buffer, 3);
  }
  /* USER CODE END 5 */
}
frameError.jpg

Outcomes