2016-10-01 10:46 AM
Hi,
I am using Nucleo F103 and Keil compiler. I m facing some problem while receiving data. In debug i could see data is receiving in DR register. But data is not getting transfer in other register. Even breakpoint is also not stoping at that point. I gave following conditiontempp = huart1.Instance->SR;
if(tempp & 0x00000020 == 0x00000020)
{
[Breakpoint] dataa = (uint32_t)huart1.Instance->DR;
rx_sign = 1;
}
I gave breakpoint in if condition. it is not at all stopping there. Even i could see SR register having proper value.
Even i tried with UART rx interrupt then also it was not getting hit in handler.
plz help me with this problem with reception.
#uart #nucleo #stm32
2016-10-06 06:50 AM
Hi hobb.epy,
Are you facing same issue if you test the example STM32Cube_FW_F1_V1.4.0\Projects\STM32F103RB-Nucleo\Examples\UART\UART_TwoBoards_ComPolling?-Mayla-To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.