AnsweredAssumed Answered

USART doesn't work Please help me

Question asked by reactance on Aug 31, 2014
Latest reply on Sep 9, 2014 by Montassar BEN ROMDHANE
Hi Everyone im new around here.

I own a Discovery kit for STM32F407/417  and I have a problem getting the usart to work, ive used STM32CubeMX to genarate all the initialization files along with FreeRTOS (which works well)

I'm trying to send USART tx data in blocking mode however  its not working, scope shows no data packets, computer terminal shows nothing. vie stepped carefully through the program and no error occurs, I don't get any HAL errors during low level initialization (hal_okay) and when I send data using see blew, I still get no errors, so what do I do now ? I have attached the full IAR project, its a simple skeleton project with freertos, any help will be greatly appreciated as I just started out.

HAL_UART_Transmit( &huart2, (uint8_t*)aTxBuffer, TXBUFFERSIZE, 5000 ) != HAL_OK 

demo application project files.
www.soundsreal.co.za/uploads/app.rar








Outcomes