Page 1 of 1

16F18446 ADC problems

Posted: Wed Feb 26, 2020 10:06 am
by Rob_Johnson
Hi there,
I would like to report a problem.
Using the 16F18446 and "flow-code 8.2.0.12", I can't seem to get the ADC to work actually work, I have tried all channels and Vref,FVR or Vdd
I have attached the simplest code I could think of. It simulates perfectly within flow-code but does not actually work inside the chip.
Other micro's have worked fine, however I needed one that had more memory as I needed to use a small display, hence I used the above chip.
I have run Update today just in case but did not help.
Thank you in advance for your help

Rob

Re: 16F18446 ADC problems

Posted: Wed Feb 26, 2020 10:40 am
by medelec35
Hi Rob,
Have you tried a 1 sec flasher?
It looks like your watchdog timer is enabled (within configuration settings), so try disabling it.
If one-second flasher is working just fine, then looks like a fix will be required.

Re: 16F18446 ADC problems

Posted: Wed Feb 26, 2020 11:34 am
by Rob_Johnson
Hi there,

I have attached the actual program I discovered the problem with, I think I have the basic config ok.
I forgot the change the watch dog as I made the two instruction program just to prove a point :)
However for completeness, I have just changed the watchdog to disabled and tried the program,the ADC is still not working.
Please could you look into the ADC problem?
Thank you :)
Rob

oh another small point, on the 2D panel, when I use the textbox, the font size does not seem to have any effect? am I missing something?
thanks again

Re: 16F18446 ADC problems

Posted: Wed Feb 26, 2020 12:47 pm
by Rob_Johnson
Hello again,
Just an update, I received some PIC16F1718 this morning, have adapted the program, tested it and now the ADC seems to work OK.
The chip is a different family to the PIC16F18446.
I would appreciate a solution but it is no longer urgent and I know how busy you all are.
thank you again for your time.
regards
Rob