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

Software serial port

Hi, has anyone any keil code for a software UART on an 8051? Leigh

Parents
  • If you have toasted your chip, you need a new one - not a sw UART. Todays processors are so cheap, that a toasted chip isn't a problem - unless we are talking about the high-end chips for the PC or workstation market.

    A sw UART is something you use when you are going to produce a significant number of thousand units/year, and you decide that you may be able to save $0.50/unit by selecting the cheaper controller. 100k units/year would then improve the yearly bottom-line with $50,000.

    A sw UART is also something you look into if you already have a number of thousand units on the market, and notices that you can "abuse" the existing units to solve a new problem if a sw uart is added.

    The third and final (?) reason for using a sw UART is for learning - to prove to yourself that you can do it. Obviously, that requires that you write it yourself, and doesn't request the source for one from someone else.

    Since your situation doesn't seem to match any of the above three cases, I don't think you should continue on this endevour, and instead settle for real silicon UARTs.

Reply
  • If you have toasted your chip, you need a new one - not a sw UART. Todays processors are so cheap, that a toasted chip isn't a problem - unless we are talking about the high-end chips for the PC or workstation market.

    A sw UART is something you use when you are going to produce a significant number of thousand units/year, and you decide that you may be able to save $0.50/unit by selecting the cheaper controller. 100k units/year would then improve the yearly bottom-line with $50,000.

    A sw UART is also something you look into if you already have a number of thousand units on the market, and notices that you can "abuse" the existing units to solve a new problem if a sw uart is added.

    The third and final (?) reason for using a sw UART is for learning - to prove to yourself that you can do it. Obviously, that requires that you write it yourself, and doesn't request the source for one from someone else.

    Since your situation doesn't seem to match any of the above three cases, I don't think you should continue on this endevour, and instead settle for real silicon UARTs.

Children
No data