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

16550 library

WHere can I find a portable 16550 library for use with C51?

Parents
  • Hi Erwin!

    Did you find something yet? I have been trying to find something in vain. I already have a library that doesn't utilize the send and receive FIFO (it actually uses 16550 ind the 16450 mode). Yesterday I have decided to implement the fifos myself (well, that's how I usually solve problems). The receive FIFO works fine and it tested and I had already an idea how make use of the transmit fifo. I guess, I will finish that work in a few hours from now.

    What did you do? Do you use the FIFOs?

    Take care
    Sven

Reply
  • Hi Erwin!

    Did you find something yet? I have been trying to find something in vain. I already have a library that doesn't utilize the send and receive FIFO (it actually uses 16550 ind the 16450 mode). Yesterday I have decided to implement the fifos myself (well, that's how I usually solve problems). The receive FIFO works fine and it tested and I had already an idea how make use of the transmit fifo. I guess, I will finish that work in a few hours from now.

    What did you do? Do you use the FIFOs?

    Take care
    Sven

Children
  • It is frustrating that UART library would be so difficult to find considering it is so common. Since we need it immediately, so one of my team making it now (he doesnt know C51 so write in assembler). At first not using FIFO, maybe we add it later. Initial tests yesterday problem with the transmit interrupt not triggered.


  • Hi Erwin!

    Well, my code is running now. Probably I need to do some cosmetics with it. Seems that there is not much about programming a 16550 on the net. I was searching for that in vain. I was testing my code yesterday and it seems to work fine. If you want the raw code, let me know... my e-mail address is s dot petersen at amotec dot de. Send me e-mail and please replace the 'dot' and the 'at' (just want to prevent spam mail this way).

    Take caer
    Sven