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

About Atmel ANM055

Hi,
Can you Help me about this problem: I want to have a second software uart But written in "C" and modified to work with INT0 or INT1 for detect receiver incoming data..
Maybe this i true way : www.atmel.com/.../doc3ab877f2ec329.pdf , but this code is assembler.
Thanks and The Best Wishes !

Parents
  • Your bullet 2 is borked. You claim "is no big problem to do", but software UARTs are most definitely problematic to do. You still haven't told us what you think happens with timing in case you have other interrupts active when your software UART does its thing. What if you get an interrupt to pick up a character on the other UART when you were about to toggle the TX line of your software UART?

    You shouldn't talk about "must" without actually giving a convincing argument that it is a must.

Reply
  • Your bullet 2 is borked. You claim "is no big problem to do", but software UARTs are most definitely problematic to do. You still haven't told us what you think happens with timing in case you have other interrupts active when your software UART does its thing. What if you get an interrupt to pick up a character on the other UART when you were about to toggle the TX line of your software UART?

    You shouldn't talk about "must" without actually giving a convincing argument that it is a must.

Children