AnsweredAssumed Answered

Need help with UART1 for NucleoF103

Question asked by hobb.epy on Oct 1, 2016
Latest reply on Oct 6, 2016 by Amel N

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 condition
        tempp = 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.