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
  • Hi again,
    First sorry for word "must"!
    I wrote that word because anybody give me suggestion instead of decision.
    I know microcontrollers that have mor than 1 hardware UART (i.e ARM has 4 ,infinium xc2000 has 6 and mor than), but I have situation that "have to" make software UART (with INT0 or INT1 reciving data input) for 8051 series. About "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" for the first time I will try with interrupt priority!
    Thanks and have a nice day!

Reply
  • Hi again,
    First sorry for word "must"!
    I wrote that word because anybody give me suggestion instead of decision.
    I know microcontrollers that have mor than 1 hardware UART (i.e ARM has 4 ,infinium xc2000 has 6 and mor than), but I have situation that "have to" make software UART (with INT0 or INT1 reciving data input) for 8051 series. About "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" for the first time I will try with interrupt priority!
    Thanks and have a nice day!

Children