Hi
Benj previously posted the necessary files so we can use the PIC24FJ128GC006 with FC7.
However using them I am unable to use pin 7 of port F (VBUS & RF7) as a digital port pin .
Regards
PIC24FJ128GC006 RF7 unuseable
Moderator: Benj
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: PIC24FJ128GC006 RF7 unuseable
Hello,
Hmm the datasheet is a little unclear on this for the 006 devices the pin is simply marked as VBUS. For the 010 devices the pin is marked VBUS/RF7.
I have tweaked the definition file so let us know how you get on with it, simply copy it into your "Flowcode 7/FCD/PIC16" folder and restart Flowcode.
Hmm the datasheet is a little unclear on this for the 006 devices the pin is simply marked as VBUS. For the 010 devices the pin is marked VBUS/RF7.
I have tweaked the definition file so let us know how you get on with it, simply copy it into your "Flowcode 7/FCD/PIC16" folder and restart Flowcode.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 18
- Joined: Sat May 20, 2017 7:39 pm
- Has thanked: 5 times
- Been thanked: 8 times
- Contact:
Re: PIC24FJ128GC006 RF7 unuseable
Hi Thanks for that
I'll give it a go later today.
I understand what you say about the datasheet but I can't explain why it's not correct.
I have a board populated with a PIC24FJ128GC006 and a gLCD with a Red, Green & Blue LED backlights, one of which is connected to pin 34 (VBUS) and using that as F7 output in MPLABX works fine.
The code configurator of MPLABX allows pins 0, 1, 3, 4, 5 & 7 of the F register to be configured as input or output, so there is a difference between their software and their datasheet.
I'll let you know how I get on with the new definition file.
Thanks again
I'll give it a go later today.
I understand what you say about the datasheet but I can't explain why it's not correct.
I have a board populated with a PIC24FJ128GC006 and a gLCD with a Red, Green & Blue LED backlights, one of which is connected to pin 34 (VBUS) and using that as F7 output in MPLABX works fine.
The code configurator of MPLABX allows pins 0, 1, 3, 4, 5 & 7 of the F register to be configured as input or output, so there is a difference between their software and their datasheet.
I'll let you know how I get on with the new definition file.
Thanks again
-
- Posts: 18
- Joined: Sat May 20, 2017 7:39 pm
- Has thanked: 5 times
- Been thanked: 8 times
- Contact:
Re: PIC24FJ128GC006 RF7 unuseable
Hi Benj
I have used the new chip definition file in FC7. On the PIC24FJ128GC006 I used port F7 to flash a led, I programmed the chip from FC7 and the code works fine with that port pin thank you.
I'm trying to get to know the chip and the board it's on so that I can reprogram it to do some of the things it does now a bit smarter so I'll be building on the parts of the chip I use as time goes on. If I come across any other issues I'll post them
Regards
I have used the new chip definition file in FC7. On the PIC24FJ128GC006 I used port F7 to flash a led, I programmed the chip from FC7 and the code works fine with that port pin thank you.
I'm trying to get to know the chip and the board it's on so that I can reprogram it to do some of the things it does now a bit smarter so I'll be building on the parts of the chip I use as time goes on. If I come across any other issues I'll post them
Regards
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: PIC24FJ128GC006 RF7 unuseable
Many thanks for letting us know it works. I'll roll out the change to the rest of the devices in the family.
Let me know if you spot anything else that looks incorrect.
Let me know if you spot anything else that looks incorrect.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel