Apologies if this has been asked before (I have tried searching!!!) but FC7 only shows ADC's 0 to 13 being available with a 18F46K22. I'm trying to access AN26 (pin 4 with a 44pin device) but I cant figure it out.
Any help would be most welcome
18f46K22 ADC Funnies
Moderator: Benj
-
- Posts: 55
- Joined: Tue Apr 01, 2014 9:10 am
- Has thanked: 16 times
- Been thanked: 18 times
- 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: 18f46K22 ADC Funnies
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: 55
- Joined: Tue Apr 01, 2014 9:10 am
- Has thanked: 16 times
- Been thanked: 18 times
Re: 18f46K22 ADC Funnies
Absolutely brilliant Benj, that fixed it.
Another unrelated question only asking so I can expand my knowledge. I noticed that I had a solder bridge between AN4 (pin 24) and RA4 (pin 23) but it didn't seem to upset the operation of the ADC. I'm guessing that an undefined pin goes tri-state (high impedance) so it wouldn't have any effect but if this is the case, if I hadn't spotted the bridge, would it made any difference to the long term operation of the PIC?
Another unrelated question only asking so I can expand my knowledge. I noticed that I had a solder bridge between AN4 (pin 24) and RA4 (pin 23) but it didn't seem to upset the operation of the ADC. I'm guessing that an undefined pin goes tri-state (high impedance) so it wouldn't have any effect but if this is the case, if I hadn't spotted the bridge, would it made any difference to the long term operation of the PIC?
- 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: 18f46K22 ADC Funnies
Hello,
Excellent, thanks for letting us know.
Yes all unused pins will default to a tri-state floating input mode and so a short shouldn't cause any long term damage.
What would maybe cause damage is if you had an output pin driving high shorted to an output pin driving low as this would cause an excess of current to flow..
Excellent, thanks for letting us know.
Yes all unused pins will default to a tri-state floating input mode and so a short shouldn't cause any long term damage.
What would maybe cause damage is if you had an output pin driving high shorted to an output pin driving low as this would cause an excess of current to flow..
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: 55
- Joined: Tue Apr 01, 2014 9:10 am
- Has thanked: 16 times
- Been thanked: 18 times
Re: 18f46K22 ADC Funnies
Fantastic Benj, many thanks for excellent support for an excellent product.