This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

[CM3]UART always lose the last char

Hi,there.

I am using UART of my CM3 board,and there is something strange.

I use minicom(a friendly serial communication program for linux) to Rx data came from CM3,and every thing goes well except that the last char is always lost. I have followed my program step by step through j-link and it works very very very well,but once let CM3 runs at normal state(no halt,no step by step),the problem comes again.Can someone help me?Thanks.

Best regards.

Parents
  • Hello,

    There isn't a single UART on Cortex-M3 based MCUs.

    There is at least one different UART per silicon vendor.

    I am afraid it means it is not possible for us to give you a generic reply.

    Would you have the microcontroller reference?

    This is a silicon vendor expertise (not really ARM related) and we can then try and find information for the product you are using.

    Can you also describe what you wrote for the UART to send chars? It could be an issue with a loop boundary, or an interrupt flag not cleared.

    Thanks!!

Reply
  • Hello,

    There isn't a single UART on Cortex-M3 based MCUs.

    There is at least one different UART per silicon vendor.

    I am afraid it means it is not possible for us to give you a generic reply.

    Would you have the microcontroller reference?

    This is a silicon vendor expertise (not really ARM related) and we can then try and find information for the product you are using.

    Can you also describe what you wrote for the UART to send chars? It could be an issue with a loop boundary, or an interrupt flag not cleared.

    Thanks!!

Children