Skip to main content
l90mehdi
Associate III
January 26, 2017
Solved

HAL_UART_TRANS WITH PRINTF

  • January 26, 2017
  • 1 reply
  • 703 views
Posted on January 26, 2017 at 11:06

i will use HAL_UART_TRA ... + Printf function.

but i can not do this .

how can i transmite the content of variable whit printf function???????

#uart
This topic has been closed for replies.
Best answer by Nesrine M_O
Posted on January 26, 2017 at 11:42

Hi,

I'd highly recommend you to refer to UART examples under your related firmware packages.

if your are using STM32F4 product:

  1. STM32Cube_FW_F4_V1.14.0\Projects\STM324x9I_EVAL\Examples\UART\UART_Printf ,if you are a Cube user

    or
  2. STM32F4xx_DSP_StdPeriph_Lib_V1.7.1\STM32F4xx_DSP_StdPeriph_Lib_V1.7.0\Project\STM32F4xx_StdPeriph_Examples\USART\USART_Printf  if you are SPL user.

-Nesrine-

1 reply

Nesrine M_O
Nesrine M_OBest answer
Associate
January 26, 2017
Posted on January 26, 2017 at 11:42

Hi,

I'd highly recommend you to refer to UART examples under your related firmware packages.

if your are using STM32F4 product:

  1. STM32Cube_FW_F4_V1.14.0\Projects\STM324x9I_EVAL\Examples\UART\UART_Printf ,if you are a Cube user

    or
  2. STM32F4xx_DSP_StdPeriph_Lib_V1.7.1\STM32F4xx_DSP_StdPeriph_Lib_V1.7.0\Project\STM32F4xx_StdPeriph_Examples\USART\USART_Printf  if you are SPL user.

-Nesrine-

l90mehdi
l90mehdiAuthor
Associate III
January 26, 2017
Posted on January 26, 2017 at 15:10

thank you 

it is working very good.