CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

2 hardware usarts pic?

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
regee
Guest







2 hardware usarts pic?
PostPosted: Mon Mar 08, 2010 7:13 am     Reply with quote

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

View user's profile Send private message

PostPosted: Mon Mar 08, 2010 7:52 am     Reply with quote

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







PostPosted: Mon Mar 08, 2010 8:13 am     Reply with quote

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

View user's profile Send private message

PostPosted: Mon Mar 08, 2010 5:28 pm     Reply with quote

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

View user's profile Send private message

PostPosted: Mon Mar 08, 2010 10:13 pm     Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group