2016-01-31 10:01 PM
2016-02-02 01:38 AM
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) ?2016-02-02 01:51 AM
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¤tviews=15]discussionPlease 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-2016-02-02 02:37 AM
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)2016-02-02 03:39 AM
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 ?2016-02-03 11:56 PM
Sorry, Syrine.
Perfectely, my mistake.2016-02-04 12:02 AM
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.