Searching \ for '[PIC]: 18F migration to dsPIC' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/microchip/ios.htm?key=spi
Search entire site for: '18F migration to dsPIC'.

Exact match. Not showing close matches.
PICList Thread
'[PIC]: 18F migration to dsPIC'
2005\08\10@110218 by alan smith

picon face
Turns out I need to add another serial port, so the only parts that support two UARTS are the dsPICs (right?).  So, is the migration path pretty easy to move code running on an 18F to a dsPIC, other than the setups etc.

Anyone have some UART setup code for a dsPIC they are willing to share?  I haven't really spent much time looking at this, and assume for two uarts they each have a high level interupt.

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

2005\08\10@112654 by Alan B. Pearce

face picon face
>Turns out I need to add another serial port, so the only parts that
>support two UARTS are the dsPICs (right?).  So, is the migration path
>pretty easy to move code running on an 18F to a dsPIC, other
>than the setups etc.

No you have two possibilities.

1. There are some 18F chips with two hardware UARTS, but they come in the 64
pin TQFP package IIRC. Check the 18F family selection charts on the
Microchip website.

2. The C18 compiler has a software UART you could use for a second UART. At
a pinch you could probably make the demo version of the compiler produce
either a linkable module or a assembly language output if you do not want to
use C.

2005\08\10@114055 by Mark Scoville

flavicon
face
If you are already running an 18F how about moving to an 18F6520? They have
two UARTS I think. I know the 17C756A's have two UARTS - so there are chips
other than dsPICs with two ports.

-- Mark

> {Original Message removed}

2005\08\10@114259 by Spehro Pefhany

picon face
At 08:02 AM 8/10/2005 -0700, you wrote:
>Turns out I need to add another serial port, so the only parts that
>support two UARTS are the dsPICs (right?).

There are a number of 18F parts that have two UARTs. At least the
PIC18F6520/8520/6620/8620/6720/8720. They come in nice 0.5mm
pitch TQFP-80 or TQFP-64 packages, so you get lots of I/O to work with.

>Best regards,

Spehro Pefhany --"it's the network..."            "The Journey is the reward"
spam_OUTspeffTakeThisOuTspaminterlog.com             Info for manufacturers: http://www.trexon.com
Embedded software/hardware/analog  Info for designers:  http://www.speff.com
->> Inexpensive test equipment & parts http://search.ebay.com/_W0QQsassZspeff


2005\08\10@115054 by Ian Lesnet
picon face
I've been working with the MAX3110/1 which gives an additional hardware UART over a serial bus. As a bonus, it has a RS232 transceiver. I started using these because my software uart routine always seemed a little sub-par. Here is an excerpt from the data sheet, perhaps you will find it helpful:

The MAX3110E/MAX3111E combine a full-featured universal
asynchronous receiver/transmitter (UART) with
±15kV ESD-protected RS-232 transceivers and integrated
charge-pump capacitors into a single 28-pin
package for use in space-, cost-, and power-constrained
applications. The MAX3110E/MAX3111E also
feature an SPI™/QSPI™/MICROWIRE™-compatible
serial interface to save additional board space and
microcontroller (µC) I/O pins.

Cheers,

Ian


Alan B. Pearce wrote:

{Quote hidden}

2005\08\10@123048 by alan smith

picon face
For a hobby project...Maxim is fine.  For production......I never ever ever ever ever use Maxim unless there is NO other possible solution.
I looked thru the selector guide for dual UART parts, so thats why I posted in hopes that I missed them in the 18F family...looks like I did...so thanks very much.  
Ian Lesnet <.....ianlesnetKILLspamspam@spam@gmail.com> wrote:
I've been working with the MAX3110/1 which gives an additional hardware UART over a serial bus. As a bonus, it has a RS232 transceiver. I started using these because my software uart routine always seemed a little sub-par. Here is an excerpt from the data sheet, perhaps you will find it helpful:

The MAX3110E/MAX3111E combine a full-featured universal
asynchronous receiver/transmitter (UART) with
±15kV ESD-protected RS-232 transceivers and integrated
charge-pump capacitors into a single 28-pin
package for use in space-, cost-, and power-constrained
applications. The MAX3110E/MAX3111E also
feature an SPI™/QSPI™/MICROWIRE™-compatible
serial interface to save additional board space and
microcontroller (µC) I/O pins.

Cheers,

Ian


Alan B. Pearce wrote:

{Quote hidden}

More... (looser matching)
- Last day of these posts
- In 2005 , 2006 only
- Today
- New search...