AnsweredAssumed Answered

STM32F411RE Problems

Question asked by marmsoler.martin on Aug 16, 2015
Latest reply on Aug 23, 2015 by Clive One

I try to send a message out via uart, every time I press a button. The init of uart works, because there I send the first message, but if I would do that in the main it brakes every time in the HAL_GPIO_INIT(...).
Here you find my complete project: STM32 Project

The second question: I init the gpios for the uart in the gpioInit() function, but I would do that in the void HAL_UART_MspInit(UART_HandleTypeDef *huart). But when I do that it doesn't work. Why?

Why I have to include the complete "stm32f4xx_hal.h" and not only the "stm32f4xx_hal_usart.h2"?

I hope someone can help me with this questions. :)