View previous topic :: View next topic |
Author |
Message |
cvargcal
Joined: 17 Feb 2015 Posts: 134
|
update pic18f4550 |
Posted: Tue Dec 11, 2018 8:02 pm |
|
|
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: 9243 Location: Greensville,Ontario
|
|
Posted: Tue Dec 11, 2018 8:36 pm |
|
|
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: 1909
|
|
|
temtronic
Joined: 01 Jul 2010 Posts: 9243 Location: Greensville,Ontario
|
|
Posted: Tue Dec 11, 2018 8:58 pm |
|
|
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: 1909
|
|
Posted: Wed Dec 12, 2018 8:12 am |
|
|
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: 9243 Location: Greensville,Ontario
|
|
Posted: Wed Dec 12, 2018 8:20 am |
|
|
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: 19538
|
|
Posted: Wed Dec 12, 2018 8:37 am |
|
|
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: 1909
|
|
Posted: Wed Dec 12, 2018 8:58 am |
|
|
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
|
|
Posted: Sun Dec 16, 2018 11:35 am |
|
|
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. |
|
|
|