STM32 MCUs Embedded software

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! BUG in HAL_UART_Transmit() and HAL_IRDA_Transmit()

This is the signature of the function: HAL_StatusTypeDef HAL_UART_Transmit(UART_HandleTypeDef *huart, uint8_t *pData, uint16_t Size, uint32_t Timeout)where pData is the pointer to the data to be transmitted and Size the amount of data to be sent. In ...

redmig by Associate III
  • 429 Views
  • 5 replies
  • 0 kudos

How to get UART data properly?

Hi, I'm using stm32f401RE.I set UART functions by using CubeMX and I'm trying to get data from UART and distinguish them.Here is the code.uint8_t RxBuffer[8]; HAL_UART_Receive_IT(&huart2, (uint8_t*)RxBuffer,sizeof(RxBuffer));​ // Writed in while loop...

dlee.0 by Associate II
  • 210 Views
  • 2 replies
  • 0 kudos