Hello, I am Fred Finster from NEC Electronics in Santa Clara CA.
I support the Vr4111 and Vr4121 microprocessors.

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Dag Brattli
> Sent: Thursday, September 09, 1999 1:34 AM
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: Re: Vr4121 FIR driver
>
>
> ---------------------------------------------------------------------
> Email sent to all subscriber or the [EMAIL PROTECTED] mailing list
> ---------------------------------------------------------------------
>
> Robert Coie <[EMAIL PROTECTED]> writes:
>
> > I am working on an FIR driver for the Vr4121 (which, of course, if
> > ever becomes functional, will be contributed), and have some areas of
> > confusion:
>
> Do you know the name of the IrDA controller unit and transceiver. For FIR
> you usually need to know the details of both. I guess the Vr4121 is some
> sort of super-IO that includes the IrDA controller chip, right?
>
> > The FIR and SIU are separate devices, and can both be used at the same
> > time provided they are not both trying to use the IrDA tranceiever.
> > In other words, if the SIU is using the RS232 pins, then the IrDA
> > tranceiver is free for use by the FIR unit.

Yes FIR and SIU are separate pins.  A16 IRDOUT, B14 IRDIN, B15 FIRDIN# /SEL
But you cannot use both at the Same time.  See SIUIRSEL register 0xAC000008
bit D0, page 564 Chapter 25 in the Vr4121 Manual.  This sets the SIU's
communication format (IrDA or Serial).  One or the other, not both at the
same time.
The IrDA is chapter27  page 83.

http://www.necel.com/windowsce   to download a PDF copy of the manual

> >
> > If this is true, we would theoretically be able to (for example) use
> > IrLAN to make a network connection while keeping the console on the
> > serial port.
>
> Should be no problem if you could route the output of the serial port to a
> different pin on the super-IO. This is possible with all the chipsets I
> have looked at, since a laptop manufacturer can choose if the
> UART is to be
> used for a serial port, or for IrDA. You usually select this in one of the
> registers of the super-IO.
>
> > Does anyone know if this is in fact true, or are the FIR and SIU
> > mutually exclusive at some more basic level, which would render my
> > dream impossible?
>
> One problem however is that both the UART and the FIR chip may
> use the same
> interrupt line :-( A clever driver could however check both chips in the
> interrupt handler (which shouldn't take much more time).
>
> > The other thing about which I am extremely confused is the meaning of
> > the transmit and receive FIFOs referred to by the TDR, RDR and FSR
> > registers.  The docs talk about the "address to which data is written
> > to the tranmit store FIFO" and such, but only 8 bits of the register
> > are used.  Is there a base register somewhere that must be set, off
> > which TDR/RDR is an index?  Is the FIFO memory something that I (the
> > driver) must provide the FIR unit, or is it provided by the driver?
> > How does one access it with only an 8 bit address?  Is it in some
> > magical place which can only be acccessed with DMA?
>


See chapter 12.2.5 FIR DMA Base Address Registers

FIRBALREG 0xAB000030
FIRBAHREG 0xAB000032

See Chapter 12 and Chapter 13.   This internal DMA only works in conjuction
with the Units specficied.  It is not a general purpose DMA unit.

Hope this bit of info helps.

Fred Finster


> FIFO's are impl. as a ... FIFO ;-) You just write/read several
> times to the
> same address.
>
> > Any advice would be greatly appreciated, and if anyone else is working
> > on something similar I would love to hear from you.  Thank you for
> > your time.
>
> I have impl. working FIR drivers for the NSC PC87108, Winbond W83977, IBM
> 31T1502, and are still struggling with the Sharp UIRCC and VLSI
> VL82C14 ;-)
> Please mail me and the Linux-IrDA mailing list with any question you may
> have about IrDA and FIR driver.
>
> -- Dag
>
> --
>    / Dag Brattli                   | The Linux-IrDA Project
>         /
>   // University of Tromsoe, Norway | Infrared communication for
> Linux    //
>  /// http://www.cs.uit.no/~dagb    |
http://www.cs.uit.no/linux-irda/   ///
_____________________________________________________________________
To unsubscribe, send a mail to [EMAIL PROTECTED]
with the word "unsubscribe" in the BODY of the message


Fred Finster  WB7ODY
e-mail:  [EMAIL PROTECTED]  Web Site
http://www.necel.com/windowsce
Tech Staff Engineer  (408) 588-5726  FAX (408) 588-5464
NEC Electronics Windows CE Architecture Labs
2880 Scott Blvd.  M/S SC2202
PO BOX  58062
Santa Clara  CA 95052-8062




_______________________________________________
Linux-IrDA mailing list  -  [EMAIL PROTECTED]
http://www.pasta.cs.UiT.No/mailman/listinfo/linux-irda

Reply via email to