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 support@ccsinfo.com

update pic18f4550

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



Joined: 17 Feb 2015
Posts: 134

View user's profile Send private message

update pic18f4550
PostPosted: Tue Dec 11, 2018 8:02 pm     Reply with quote

Hi, someone can say me what is the evolution of this PIC? and if the compiler IDE has support.

I need a pic with 2 UART and 1 USB, but XPL.

Thanks
temtronic



Joined: 01 Jul 2010
Posts: 9081
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Tue Dec 11, 2018 8:36 pm     Reply with quote

You need to check Microchip's website and search for a part. I've settled on the 18F46K22 for 99% of my projects, using an external TTL<>USB module that only cost $1. Do you need 2 complete HW UARTS AND USB ? If you only need to transmit, then you code use the CCS 'bit-banged' UART SW.
I have no idea what 'XPL' means.
Jay
newguy



Joined: 24 Jun 2004
Posts: 1899

View user's profile Send private message

PostPosted: Tue Dec 11, 2018 8:47 pm     Reply with quote

temtronic wrote:

I have no idea what 'XPL' means..


I believe it's a typo, and that they meant XLP = eXtra Low Power.

Look up what PICs will suit your needs here: https://www.microchip.com/ParamChartSearch/chart.aspx?branchID=1019
temtronic



Joined: 01 Jul 2010
Posts: 9081
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Tue Dec 11, 2018 8:58 pm     Reply with quote

hmm... I'm wondering HOW can you have XLP and USB ? After all If you have USB, you have LOTS of power (OK, typically 5 watts) available.

A better description of the project would be nice.
Jay
newguy



Joined: 24 Jun 2004
Posts: 1899

View user's profile Send private message

PostPosted: Wed Dec 12, 2018 8:12 am     Reply with quote

temtronic wrote:
hmm... I'm wondering HOW can you have XLP and USB ? After all If you have USB, you have LOTS of power (OK, typically 5 watts) available.

A better description of the project would be nice.
Jay


Low power and USB are simultaneously mutually exclusive, yes, but if the application is for example a battery powered logging device which may be plugged into a computer to extract the log, then I can see why they're looking for a processor with such a combination of features.
temtronic



Joined: 01 Jul 2010
Posts: 9081
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Wed Dec 12, 2018 8:20 am     Reply with quote

hmm if USB is only for 'data extraction' , then a 2 HW UART PIC should work as 1 UART could be configured to do double duty' a)...'normal' operation, b)... upload to PC via a TTL<>USB module..
This would get rid of the need for a PIC with internal USB( and driver).

Just thinking of options...

Jay
Ttelmah



Joined: 11 Mar 2010
Posts: 19195

View user's profile Send private message

PostPosted: Wed Dec 12, 2018 8:37 am     Reply with quote

Key thing is that you have to turn off the USB peripheral when the USB cable
is not attached. Otherwise the power drawn by the USB drivers, rules out
'XLP' capabilities.
Honestly the 4550, is a 'first generation' chip. Something like the 18F44J50
(or 45J50 for more ROM), is a 'better' chip.
XLP. The peripherals largely support PPS, so much more flexible on pin
selection. However does mean you have to work at 3.3v, instead of 5v.
newguy



Joined: 24 Jun 2004
Posts: 1899

View user's profile Send private message

PostPosted: Wed Dec 12, 2018 8:58 am     Reply with quote

PMD (peripheral module disable) is also a godsend when it comes to extremely low power devices. The modern processors have it, but not the older legacy variants.
cvargcal



Joined: 17 Feb 2015
Posts: 134

View user's profile Send private message

PostPosted: Sun Dec 16, 2018 11:35 am     Reply with quote

Thanks to everyone...
I liked the PIC18F45J50, has 2 uart and 1 USB.
Perfect, thanks


The XLP is for use battery while has not connect to usb.
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