Trouble with ADC!!!!

Status
Not open for further replies.

paddy_p

Member level 2
Joined
May 31, 2012
Messages
48
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,288
Location
Mumbai India
Visit site
Activity points
1,680
Hi,
I am using MPLAB IDE version 8.60 and CCS compiler for programming of microcontroller PIC18F4520. I have working code which I am using since last 1 year. But suddenly I am facing a weird problem from couple of days. When I am reprogramming the micro controller it is not functioning as expected. The same hardware is working fine with earlier controller which were programmed couple of months back.
I am using pickit3 and MCD2 for programming micro-controller. Even changed the PC too. I really don't understand what is going wrong.

I have used MCP3208 ADC for reading 8 different values and display it on 7 segment display.
During testing I found that when I am putting fixed value (anything in between 0 to 4095) manually, everything seems working fine.
But when I am reading from actual ADC, it gives error in functioning.
I have never faced this problem before.
Please advice.
Thanks
 

Hi,

Thanks for suggestions!!

I have re installed everything (CCS compiler as well as MPLAB IDE) and it starts working again!! Surprised Surprised

Thanks a lot for your help!!
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…