Extra serial port for MOD5282

Discussion to talk about hardware related topics only.
Post Reply
zealott
Posts: 40
Joined: Thu Oct 30, 2008 1:15 am

Extra serial port for MOD5282

Post by zealott »

Hi,

What is the easiest way to get a fourth rs232 serial line on a MOD5282? (should be relatively easy and very stable @ 115200)? Extra chip of some kind?

Thanks
v8dave
Posts: 333
Joined: Thu Dec 31, 2009 8:31 pm

Re: Extra serial port for MOD5282

Post by v8dave »

Hi there,

Maxim do some nice SPI to UART devices that might be just what you need.

http://para.maxim-ic.com/en/search.mvp? ... ree=master

Some even have the RS232 drivers built in if you want to save on board space too.

I am also using the MOD5234, and although a little more cost than the MOD5282 it does have the eTPU which can be configured for an additional 8 UARTS if you really need that many. In fact, I have design on paper for this very use.!

Dave...
PS... EDITED!! You could also connect one of the many 16450 type devices to the databus if you don't want to use the SPI.
v8dave
Posts: 333
Joined: Thu Dec 31, 2009 8:31 pm

Re: Extra serial port for MOD5282

Post by v8dave »

TL16C450FN is one such device from Texas Instruments.

There also a number of quad channel devices out there and driving them on the bus interface is very easy. You will need to write your own driver for them but that is not that difficult.

NXP has some such as the SC16C554BIB80


Good luck.
Dave...
User avatar
pbreed
Posts: 1088
Joined: Thu Apr 24, 2008 3:58 pm

Re: Extra serial port for MOD5282

Post by pbreed »

One can bit bang an RS-232 up to about 38400.

Beyond that I'd recommend one of the Quad Uart chips.
My rocket had (http://www.youtube.com/watch?v=8UJDxp2gv3o) a 5282 with a
XR16L784 Quad uart (I neede the 485 half duplex features).

I can dig up the schematic and Driver code if its wanted.
zealott
Posts: 40
Joined: Thu Oct 30, 2008 1:15 am

Re: Extra serial port for MOD5282

Post by zealott »

Thanks for all the suggestions :-)

I have purchased a 5234 dev board and will check the eTPU out. It doesn't have AD it seems, but I can use a PIC with a serial for that...

Cheers!
v8dave
Posts: 333
Joined: Thu Dec 31, 2009 8:31 pm

Re: Extra serial port for MOD5282

Post by v8dave »

You don't need the complexity of adding a PIC just to do AD.

Check out the MCP3424 from Microchip. It has 4 channels of ADC which are programmable from 8 to 18 bit and it is low cost too. No reference needed and input is 0 - 2.5V. Connects via I2C. I can give you code to drive them if you want but they are very easy to use.

If you need more channels, just add more of them and use the address pins to set them up.

I use these for my 4-20mA interface and they are really nice and stable.

Dave...
Post Reply