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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
04/23/02 16:02
Read: times


 
#22085 - RE: dialing a modem
Prakash,

your instructions:

LCR = 0x80; /*Enabling the DLATCH 0*/
THR = 0x0C; /*Setting the baud rate 9600*/
DLM = 0x00; /*MSB value for baud rate
setting */
LCR = 0x03; /*Disabling the DLATCH*/
/*Setting in 8 bit mode*/
FCR = 0x01; /*enable FIFO mode*/
MCR = 0x0f; /*initialize modem control
register*/
DLM = 0x01; /* Enabling receiver data available interrupt bit */

are register loads for a
8250 compatible UART not for a modem. Perhaps you cut out the wrong part of code for a PC internal modem.

regards,
p


List of 14 messages in thread
TopicAuthorDate
dialing a modem            01/01/70 00:00      
RE: dialing a modem            01/01/70 00:00      
RE: dialing a modem            01/01/70 00:00      
RE: dialing a modem            01/01/70 00:00      
RE: dialing a modem            01/01/70 00:00      
RE: dialing a modem            01/01/70 00:00      
RE: dialing a modem            01/01/70 00:00      
RE: dialing a modem            01/01/70 00:00      
RE: dialing a modem - Prakash            01/01/70 00:00      
RE: dialing a modem            01/01/70 00:00      
RE: dialing a modem - Prakash            01/01/70 00:00      
dialing a modem through 8051            01/01/70 00:00      
RE: dialing a modem            01/01/70 00:00      
RE: Soulution For dialing a modem            01/01/70 00:00      

Back to Subject List