View previous topic :: View next topic |
Author |
Message |
regee Guest
|
2 hardware usarts pic? |
Posted: Mon Mar 08, 2010 7:13 am |
|
|
hi there,
does anyone know which pic microcontroller works best with the ccs info compiler and has two hardware usarts?
thanks
regee |
|
|
hayee
Joined: 05 Sep 2007 Posts: 252
|
|
Posted: Mon Mar 08, 2010 7:52 am |
|
|
Hi,
I think all the pic microcontroller works best with the ccs compiler.
If you have ccs compiler then just open it, there you will see an option "Device Selector" press it, it will open an "Device Editor Table". In the criteria column select two in front of UART option, then the list will come which shows you the controllers having two UART. |
|
|
regee Guest
|
|
Posted: Mon Mar 08, 2010 8:13 am |
|
|
Thanks for the reply, but can you recommend a pic that has two hardware usart's which can be used on a breadboard?
thanks
regee |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Mon Mar 08, 2010 5:28 pm |
|
|
Here is how to find it. Go to this Microchip chip selector web page
(bookmark it):
http://www.microchip.com/maps/microcontroller.aspx
Look at the columns on the left side. In the "UART Ch" row, set the
drop-down box to "2" in the first column. Leave the 2nd column at "All".
This will show all PICs with 2 or more UARTs. The list is at the top of
the screen. But it shows a lot of dsPICs, which you don't want to see.
So go to the top of the page and set the Prefix to "PIC18F".
Now it shows all 18F with 2 UARTs. But a lot of them are 68 pin PICs.
So go down to the lower left corner of the page. Find the "Pkg. Pins"
row. Leave the 1st column at "All". Set the 2nd column to 40.
This will probably show all 18F PICs that might be in a 28 or 40-pin DIP
package, that have 2 UARTs. You can use a DIP package on a breadboard.
One possible PIC to use would be the 18F26J11. It has two UARTs.
One of them is normally available on pins C6 and C7. The 2nd UART
can be set to come on various pins by using the #pin_select directive
in CCS. |
|
|
bkamen
Joined: 07 Jan 2004 Posts: 1615 Location: Central Illinois, USA
|
|
Posted: Mon Mar 08, 2010 10:13 pm |
|
|
PCM programmer wrote: | Here is how to find it. Go to this Microchip chip selector web page
(bookmark it):
http://www.microchip.com/maps/microcontroller.aspx
Look at the columns on the left side. In the "UART Ch" row, set the
drop-down box to "2" in the first column. Leave the 2nd column at "All".
This will show all PICs with 2 or more UARTs. The list is at the top of
the screen. But it shows a lot of dsPICs, which you don't want to see.
So go to the top of the page and set the Prefix to "PIC18F".
Now it shows all 18F with 2 UARTs. But a lot of them are 68 pin PICs.
So go down to the lower left corner of the page. Find the "Pkg. Pins"
row. Leave the 1st column at "All". Set the 2nd column to 40.
This will probably show all 18F PICs that might be in a 28 or 40-pin DIP
package, that have 2 UARTs. You can use a DIP package on a breadboard.
One possible PIC to use would be the 18F26J11. It has two UARTs.
One of them is normally available on pins C6 and C7. The 2nd UART
can be set to come on various pins by using the #pin_select directive
in CCS. |
Yep -- the 18FxxJ11 family has 2 UART's down to a 28pin package if I remember right.
I used the 46J11 in a project recently. Worked out nicely.
-Ben _________________ Dazed and confused? I don't think so. Just "plain lost" will do. :D |
|
|
|