Re: [uCsimm] SPI Uart driver...

From: Mahmut C. Genceli (yunus@AdvancedRelay.com)
Date: Fri Jun 30 2000 - 17:28:26 EDT


There was a posting like this on December

> I've put together a simple schematic and serial driver for the MAX3111E
> UART (rs-232). The files are available at the following urls:
>
> Schematic:
> http://www.bdt.com/david/ucsimm/ucsimm_max3111sm.gif
>
> Linux Driver:
> http://www.bdt.com/david/ucsimm/max311Xserial-0.10.tar.gz
>
> I planed to work on optimizing the driver to take better advantage of
> the MAX3111E chip's bi-directional features, but since the driver is
> working for my needs now, enhancing it isn't a top priority, meaning
> I might not get around to it for a while, so I thought I would go
> ahead and release it as-is now for the adventurous among you. :-)
>
> The README is attached.
>
> ----------------------------------------------------------------
>
>
> December 13, 1999
>
> This package contains a preliminary uClinux serial (tty) driver for
> a MAX3111E based RS-232 port add-on for uCsimm.
>
> This is a preliminary driver. It's functional, but certianly not
> perfect. Specifically, interrupt driven transmit doesn't work yet,
> although polling works (and happens to be adequate for my current
> needs). Receiving is interrupt driven even with the current TX
> polling. Despite this and other limitations of this preliminary
> driver, I'm releasing it anyway, because (a) it works, and (b)
> perhaps someone can figure out why TX interrupts aren't working and
> fix it.
>
> The archive includes the source for the driver:
>
> max311Xserial.c
> max311Xserial.h
>
> These files should be placed in the kernel char driver subdirectory
> (linux/drivers/char).
>
> Also included is a patch file showing the modifications to the
> various configuration files necessary to build the driver into the
> kernel max311Xserial.patch. This is a patch delta off the baseline
> uClinux-2.0.38.1pre1 version of uClinux NOT the uClinux CD
> distribution. The driver requires uClinux-2.0.38.1pre1 or later.
> If you have made other modifications, do not run this patch. In all
> cases, it would be best to examine the patch before attempting to
> install it. The files it modifies are:
>
> linux/include/linux/tty.h
> linux/drivers/char/Makefile
> linux/drivers/char/tty_io.c
> linux/arch/m68knommu/config.in
> linux/arch/m68knommu/defconfig
>
> The driver was built for uClinux-2.0.38.1pre1
>
> The driver assumes the hardware is connected a certain way, per
> the schematic at:
>
> http://www.bdt.com/david/ucsimm/ucsimm_max3111sm.gif
>
> The driver also assumes a 1.8432Mhz crystal. If you use a different
> frequency, you will have to modify the divisor index table as per
> the MAX3111E datasheet.
>
> This driver is based very much on the work of others, mostly the
> 68328serial.c and 68332serial.c drivers by Vladimir Gurevich,
> Jeff Dionne, Kenneth Albanowsk, and David S. Miller.
>
> You may contact me at:
> david@bdt.com
>
> -- David Beckemeyer
>
> This message resent by the ucsimm@uclinux.com list server http://www.uClinux.com/

Erik Reikes wrote:
>
> I was about to start work on an SPI driver to support the Maxim SPI->UART
> chips and I wondered if anyone had something like this already...
>
> My plan was to write a driver on the RTlinux side and use their RTFifo
> constructs to simulate the character devices.
>
> I'd appreciate a pointer to code, if there is any. Otherwise, I will pass
> on what I do to the list..
>
> Thanks.
>
> Erik Reikes
> Senior Software Engineer
> Xsilogy, Inc.
>
> ereikes@xsilogy.com
> ph : (858) 362-5003
> fax : (858) 362-1367
> cell : (858) 663-1206
> This message resent by the ucsimm@uclinux.com list server http://www.uClinux.com/
This message resent by the ucsimm@uclinux.com list server http://www.uClinux.com/



This archive was generated by hypermail 2b30 : Sun Apr 07 2002 - 00:01:37 EST