www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/04/25/06:25:49

Date: Wed, 25 Apr 2001 13:27:34 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Martin Czamai <M DOT Czamai AT peak-system DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: serial interface resource detection and initialization
In-Reply-To: <9c62bu$90a$1@newsread1.nexgo.de>
Message-ID: <Pine.SUN.3.91.1010425132406.24985C-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Wed, 25 Apr 2001, Martin Czamai wrote:

> my problem is that I have a "Sure RPC DCF77" receiver from Linum, which is
> connected to a PCs serial port and delivers information coded via 100 and
> 200ms pulses on the RXD pin of a serial interface.
> Since resources can be allocated dynamically in a PCI chipset and needn't to
> be located at default base-adresses like 0x3F8 (COM1) or 0x2F8 (COM2), how
> can I detect the correct base adress and interrupt of a serial interface??

What is the PCI method to find out this info?  There should be some 
interrupt that you issue to get the configuration, but I don't know the 
details.

> Some additional info: if I use BIOS functions to initialize the serial
> interface, the lowest baudrate I can select are 110baud. To recognize the
> 100 and 200ms pulses correct, I require only 50 (!) baud. This is the reason
> why I require the resource-information about the serial interface to program
> its timing-registers....

You need to program the UART directly by writing appropriate values into 
the UART registers.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019