cancel
Showing results for 
Search instead for 
Did you mean: 

HAL_UART_TRANS WITH PRINTF

l90mehdi
Associate II
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
1 ACCEPTED SOLUTION

Accepted Solutions
Nesrine M_O
Lead II
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-

View solution in original post

2 REPLIES 2
Nesrine M_O
Lead II
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-

Posted on January 26, 2017 at 15:10

thank you 

it is working very good.