Hello User,
I still have the ongoing problem with this V5 and CHIP.
In my opinion, the fault lies in BoostC compiler.
First mistake: If I put the PIN AN6 to 0V indicated 4.99. There are a few millivolt the display jumps to 0.00.
Second error: The ADwandler should take the 5 volt supply to the chip as a reference. He does not. He takes beharlich internal ref of 4.1 volts.
Even if I write in C code
/ *
Add C code to this comment
* /
ADCON0 = 40;
ADCON1 = 0;
adcon2 = 254;
Even if I write in the file PIC CAL ADC ADCON1 = 0, the result is the same.
I've tried in mikroBasic Pro for PIC the same. Here the chip reacts to these settings. 2Volt Reference, 4.1 volt reference and Bestriebsspannung as reference.
Short circuit at AN6 is displayed as 0. 2Volt than 4096 DIG, 4.1 or 5V Dig than 4096 than 4096 Dig.
Unfortunately, I get no indication of whether there is still a VTeam working on this issue, and it's been passed.
So I have returned to upgrade to PIC Basic.
Thanks for your help
Uwe
PIC18F46K80 ADC reference selection error
For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 5.
To post in this forum you must have a registered copy of Flowcode 5 or higher.
To post in this forum you must have a registered copy of Flowcode 5 or higher.
Moderator: Benj
-
- Posts: 33
- Joined: Tue May 08, 2012 3:48 pm
- Location: Germany
- Has thanked: 7 times
Jump to
- Announcements
- ↳ Announcements
- The Knowledge Exchange
- ↳ Programming Tips & Tricks
- ↳ Freelance Embedded Engineers
- ↳ Article Discussion
- Microcontroller Programming
- ↳ General Programming
- ↳ Flowcode V9
- ↳ Flowcode V8
- ↳ Feature Requests
- ↳ Bug Reports
- ↳ User Components
- ↳ Flowcode V7
- ↳ User Components
- ↳ Feature requests
- ↳ Bug reports
- ↳ Fixed bugs
- ↳ 8-Bit PIC
- ↳ 16-Bit PIC
- ↳ 32-Bit PIC
- ↳ AVR & Arduino
- ↳ 32-Bit ARM
- ↳ Poll Discussion
- ↳ Flowcode V6
- ↳ Flowcode v6 Beta
- ↳ Bug reports
- ↳ Getting Started
- ↳ User Components
- ↳ Feature requests
- ↳ Bug reports
- ↳ Flowcode V5
- ↳ Flowcode V5 Issues
- ↳ Flowcode V5 Suggestions
- ↳ Flowcode V5 Free Edition
- ↳ Flowcode V4
- ↳ Flowcode 4 Bugs
- ↳ Flowcode 4 Suggestions
- ↳ Flowcode V2 & V3
- ↳ General / Misc
- ↳ Components (Comms)
- ↳ Components (Other)
- ↳ Bugs / Application Errors
- ↳ Suggestions
- ↳ BTEC Unit 6
- ↳ C and ASM Programming
- ↳ E-blocks
- ↳ Formula AllCode
- ↳ Formula Flowcode
- ↳ MIAC
- Language Support Forums
- ↳ Deutsch Support-Forum
- ↳ Forums d'aide en français
- ↳ Foro de soporte español
- Other Matrix products
- ↳ Electronics products
- ↳ Matrix Online Courses
- ↳ Other products
- ↳ CoCo
- Hidden