Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


UART loopback problem

This topic is 5896 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

hello Recently, I was messing with UART programming for DOS, enjoying it... The problem I encountered was that I activated the loop back mode and I set that on a data arrival an interrupt will be generated, so I send bytes well but I don''t receive them at all. Well to be honest, when I send the first byte since I turned on the computer I receive it but I don''t receive other bytes, till I reset the comp. So I thought I was ack''ing the PIC, which I did. Or maybe the UART itself but I read the Interrupt ID register and the Status register. (Is it enough?) Or maybe you can''t just actiavete loop back mode with interrupt driven method together, because the OUT2(enables IRQ) is connected to the DCD(so interrupts are disabled) internally. What you say? (it works on other computer that I checked...) I don''t get it.. wanted to hear what you guys have to say Thanks Arkon [QSoft]

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!