AnsweredAssumed Answered

USART problem on STM32F415RG

Question asked by matic.ivan on Jan 15, 2016
Latest reply on Jan 18, 2016 by matic.ivan
Hi,
first to say that I'm beginner with STM32 programming, I study this uC entire month.

I'm using board based on this http://www.mikroe.com/mini/stm32/
and I have limited (or no) support from manufacturer.

I created Keil project with STM32CubeMX app, and attached everything in ser3.zip (excluded folder Drivers)

I noticed that UART4 and USART1 are initialized (only on UART4 I have DE-9 connector), and in while loop I call:  HAL_UART_Transmit_IT(&huart4, "COM1\r\n", 6);

but nothing arrives on my serial port (only first attempt return HAL_OK, other some error, didn't determined what exactly)

I compared mine project with this
https://github.com/fboris/STM32Cube_FW_F4/blob/master/Projects/STM324xG_EVAL/Examples/UART/UART_Hyperterminal_IT/Src/main.c
but couldn't find some differences.

Can someone check, did I missed something in STM32CubeMX, or something in main() ??

Some short notice about ports and devices attached on MINI-M4:
PC12,PC13,PA14  == LED
PC11,PC10  ==  UART4 Rx and Tx (with DE-9 connector)
PB7,PB6  ==  USART1 Rx and Tx (no output)


Tx

Attachments

Outcomes