Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
01/30/03 10:10
Read: times


 
#37733 - Serial communication: Sightly off 8051
Responding to: ???'s previous message
While we are on the topic of serial communication could anybody tell me if the Interrupt enable byte of the 16550 UART(on the PC side) can be read?

I was having problems using the C function inportb(0x3f9); to read hte Interrupt Enable register on the PC side of the serial link. I have to add a delay and wait for the uc to respond. i am unable to read the IER byte and then decide if it is time to read the byte transmitted by the uc. If I initialize the IER then there is no change even after transmission and after reception! I was able to make a two way communcation using the delay idea though. But that would not be duplex in the true sense.

DLAB was set to zero before reading from 0x3f9

base address for com1 is 0x3f8 (in this case)

cheers,

Sushil

List of 5 messages in thread
TopicAuthorDate
sending data pc to 89c52 serially RS232            01/01/70 00:00      
   Serial communication: Sightly off 8051            01/01/70 00:00      
RE: sending data pc to 89c52 serially RS            01/01/70 00:00      
RE: sending data pc to 89c52 serially RS232            01/01/70 00:00      
RE: sending data pc to 89c52 serially RS232            01/01/70 00:00      

Back to Subject List