News:

PROTON pic BASIC Compilers for PIC, PIC24, dsPIC33

Main Menu

5v PIC24 supported by Positron

Started by RGV250, Dec 08, 2024, 09:21 PM

Previous topic - Next topic

RGV250

Hi,
I might have the need for a 5v PIC24 device. I have seen  PIC24FV16KM202 & PIC24FV32KA302 which are 5v devices but not supported.  I also think Les might have said the F series are not very good but I do not need anything special, just 5v outputs.
I know I could put in level shifters but that is a lot of extra grief considering what I am doing might not work. 

Bob

trastikata

Some of the PICs have open drain pins, would it work with pull-ups?

top204

#2
I'll see what I can come up with the the next few days Bob.

Can you make a list of all the 5 volt PIC24 devices and post them in this thread, and I will go through them, find their data files, and create compiler files for them and upload them on the forum.

The PIC24F devices are not as fast or large (RAM and Flash) as some of the later PIC24 devices, so for general purpose use, I would not recommend one. However if one suits a project, then that is the perfect device. :-)

RGV250

Hi Les,
It is only for a one off so not worth the effort unless anyone else needs them.
I do not know if I will need it yet as I am going to try with 3.3v to see if it works. It is an old board with 5v (74Hcxxx) logic IC's.
The 5v devices I found were here  https://www.microchip.com/en-us/development-tool/dm240013-2  but if they are slower I am not likely to gain anything.
PIC24FV16KM202
PIC24FV08KM202
PIC24FV16KM102
PIC24FV08KM102
PIC24FV32KA302
PIC24FV16KA302

Bob

tumbleweed

QuoteSome of the PICs have open drain pins, would it work with pull-ups?
In general you're still limited to a max voltage of VDD on an open-drain pin, so in most cases you shouldn't pull a 3.3V device up to 5V. However, some 24F devices have a few 5V tolerant pins that you could use 5V pullups with...


QuoteI do not know if I will need it yet as I am going to try with 3.3v to see if it works. It is an old board with 5v (74Hcxxx) logic IC's.
The output high voltage (Voh) of a 3.3V IO pin may not be high enough for a guaranteed input high of an HC gate. It depends on the HC chip spec.


top204

#5
I have attached a zip file with 'gld', 'PPI' and 'DEF' files for the 5 Volt PIC24 devices:

PIC24FV08KM101, PIC24FV08KM102, PIC24FV08KM202, PIC24FV08KM204, PIC24FV16KA301, PIC24FV16KA302, PIC24FV16KA304, PIC24FV16KM102, PIC24FV16KM104, PIC24FV16KM202, PIC24FV16KM204, PIC24FV32KA301, PIC24FV32KA302, and PIC24FV32KA304.

Unzip the attached file, which is named: "New PIC24V Devices - 09-12-2024.zip", then copy its 'gld' folder into the compiler's 'PDS' folder, over-writing any files in the compiler's 'gld' folder that are duplicated.

The compiler's PDS folder can be found at: "C:\Program Files (x86)\ProtonIDE\PDS"

Then copy the zipped file's 'PPI' and 'Defs' folders into the compiler's "PDS\Includes\" folder, which is located at: "C:\Program Files (x86)\ProtonIDE\PDS\Includes", again, over-writing any files that are duplicated in the compiler's 'PPI' and 'Defs' folders.


RGV250

Wow, that was quick.

QuoteThe output high voltage (Voh) of a 3.3V IO pin may not be high enough for a guaranteed input high of an HC gate. It depends on the HC chip spec.
That is what I was wondering, I looked at the datasheet of one and it has 4.5v as an example and 3.15 min. I did a quick calc and that would be 3.5v for 5v supply so probably wouldn't work then.

Bob