cancel
Showing results for 
Search instead for 
Did you mean: 

Nucleo-F446RE USART3 Problem(Source Attached)

SoHaeng.Lee
Associate II
Posted on February 01, 2016 at 07:01

The original post was too long to process during our migration. Please click on the attachment to read the original post.
6 REPLIES 6
AvaTar
Lead
Posted on February 02, 2016 at 10:38

I don't use/know the Cube code setup, but I can't see where you enable the clock to the GPIO peripheral port(s) you are using.

And why not using two adjacent pins on one port (PB10/PB11 or PC10/PC11 for USART3) ?

Nesrine M_O
Lead II
Posted on February 02, 2016 at 10:51

Hi sohaeng.lee,

Issue resolved as described in this [DEAD LINK /public/STe2ecommunities/mcu/Lists/STM32Discovery/Flat.aspx?RootFolder=/public/STe2ecommunities/mcu/Lists/STM32Discovery/Nucleo%20F446RE%20UART%20not%20work%28with%20HAL%29&FolderCTID=0x01200200770978C69A1141439FE559EB459D75800084C20D8867EAD444A5987D47BE638E0F&currentviews=15]discussion

Please avoid the duplication of discussion with same topic because it will be difficult for us and for forum users to follow the status of issues you are facing. 

-Syrine-

SoHaeng.Lee
Associate II
Posted on February 02, 2016 at 11:37

To AvaTar.

Nucleo-F446RE Board is not provide PB11.

And the reason of not use PC11,

USART3 for Nuclo-F446RE created by STM32CubeMX is PB10,PC5.

So, as you said, I was tried PC10/PC11.

The result was same. (PC11 Rx not work and board down) 

AvaTar
Lead
Posted on February 02, 2016 at 12:39

May perhaps your ''forum software'' have to do with this kind of issues ?

BTW, I found myself locked out yesterday, and had to reclaim my login via the ''forgot password'' route. How many breakdowns/meltdowns we need to go through before ST decides to go for something real ?

SoHaeng.Lee
Associate II
Posted on February 04, 2016 at 08:56

Sorry, Syrine.

Perfectely, my mistake.

SoHaeng.Lee
Associate II
Posted on February 04, 2016 at 09:02

Thanks AvaTar.

Today, i found my miss code.

The miss is USART3_IRQHandler() in stm32f4xx_it.c.

I just add this code. 

void

USART3_IRQHandler(

void

)

{

 

/* USER CODE BEGIN USART3_IRQn 0 */

 

/* USER CODE END USART3_IRQn 0 */

 

HAL_UART_IRQHandler

(&huart3);

 

/* USER CODE BEGIN USART3_IRQn 1 */

 

/* USER CODE END USART3_IRQn 1 */

}

and my code is running very well.

Thanks your advice.