Author |
Message |
Topic: odd behaviour 16f88 and adc |
Nicolas
Replies: 4
Views: 5168
|
Forum: General CCS C Discussion Posted: Mon Apr 30, 2007 12:07 am Subject: odd behaviour 16f88 and adc |
So i narrowed it down to the RS232 converter i was using.
The converter was not properly controlling the RCV line on the PC and was feeding a -12v to the pic, oviously because of the MUX on the AN ... |
Topic: odd behaviour 16f88 and adc |
Nicolas
Replies: 4
Views: 5168
|
Forum: General CCS C Discussion Posted: Sun Apr 29, 2007 11:43 pm Subject: odd behaviour 16f88 and adc |
I moved the Serial lines, from B7/B6 to B4/B5
and used internal OSC.
It works 100% now.
New (works properly)
#use rs232(baud=4800, xmit=PIN_B4, rcv=PIN_B5,invert) //For testing
... |
Topic: odd behaviour 16f88 and adc |
Nicolas
Replies: 4
Views: 5168
|
Forum: General CCS C Discussion Posted: Sun Apr 29, 2007 11:35 pm Subject: odd behaviour 16f88 and adc |
Thanks for the incredibly fast response.
Tried variouse different ADC_CLOCK's and still the same problem.
No change at all, which is somewhat strange.
Mind you that was using the Internal oscil ... |
Topic: odd behaviour 16f88 and adc |
Nicolas
Replies: 4
Views: 5168
|
Forum: General CCS C Discussion Posted: Sun Apr 29, 2007 10:10 pm Subject: odd behaviour 16f88 and adc |
Odd behaviour with a 16f88 and using the built in adc.
For testing, just reading an AN1 and putting out the value to the pc via serial port. Using the internal rc (8mhz)
When I connect VDD to AN1, ... |
|