Hello Community!! I am trying to send string to UART but it's not transmitting.I am using STM32F030R8T6 Valueline board.However when I am transmitting single char or decimal value it's going.
sprintf(buffer,"Hello\r\n");
len=strlen(buffer);
HAL_UART_Transmit(&huart1,(uint8_t *)buffer,strlen(buffer), 0xFFFF);
HAL_Delay(100); // just in case required delay is given
2.
ch=83;
HAL_UART_Transmit(&huart1, &ch, 1, 50);
HAL_Delay(1);
ch=87;
HAL_UART_Transmit(&huart1, &ch, 1, 50);
HAL_Delay(1);
ch=73;
HAL_UART_Transmit(&huart1, &ch, 1, 50);
HAL_Delay(1);
ch=84;
HAL_UART_Transmit(&huart1, &ch, 1, 50);
HAL_Delay(1);
ch=67;
HAL_UART_Transmit(&huart1, &ch, 1, 50);
HAL_Delay(1);
ch=72;
HAL_UART_Transmit(&huart1, &ch, 1, 50);
HAL_Delay(1);
ch=49;
HAL_UART_Transmit(&huart1, &ch, 1, 50);
HAL_Delay(1);
If multiple single decimal's/char's were transmitted delay is required minimum 1 ms.
Kindly help me on this!!!!!!!!!!!!!!!
