CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Search found 7 matches
CCS Forum Index
Author Message
  Topic: Internal Oscillator not working at 64mhz
doctorprox

Replies: 7
Views: 11567

PostForum: General CCS C Discussion   Posted: Tue Nov 26, 2013 5:42 am   Subject: Internal Oscillator not working at 64mhz
Thank you for the help, that does appear to work correctly. It seems that the compiler gets confused with the setup_oscillator function.
  Topic: Internal Oscillator not working at 64mhz
doctorprox

Replies: 7
Views: 11567

PostForum: General CCS C Discussion   Posted: Mon Nov 25, 2013 12:18 pm   Subject: Internal Oscillator not working at 64mhz
Version 5.007.

I had a play with those settings, by removing the setup_oscillator from main() and just having this:


#FUSES INTRC_IO
#FUSES PLLEN
#use delay(internal=64MHz)

It r ...
  Topic: Internal Oscillator not working at 64mhz
doctorprox

Replies: 7
Views: 11567

PostForum: General CCS C Discussion   Posted: Mon Nov 25, 2013 11:39 am   Subject: Internal Oscillator not working at 64mhz
Thank you for the suggestion, I tried adding the code but unfortunately it appears to run at 8mhz. I'm wondering if there is a compiler problem with the k22 pic? Surely though if osccon is right it ha ...
  Topic: Internal Oscillator not working at 64mhz
doctorprox

Replies: 7
Views: 11567

PostForum: General CCS C Discussion   Posted: Mon Nov 25, 2013 10:18 am   Subject: Internal Oscillator not working at 64mhz
Hi there,
I have been playing with this for the last 6 hours now trying to get it to work and it's driving me over the edge.

I want to run a PIC18F13k22 at its 64mhz internal oscillator (16mhz 4xP ...
  Topic: 18F14K22 very inaccurate ADC
doctorprox

Replies: 5
Views: 7605

PostForum: General CCS C Discussion   Posted: Tue Nov 09, 2010 4:35 pm   Subject: 18F14K22 very inaccurate ADC
The power supply is actually a PC PSU, probably not the best of supplies.

Anyhow, the input to the ADC was a 1Mohm pot. I have replaced this with 100ohms and the results now seem spot on. Cheers PC ...
  Topic: 18F14K22 very inaccurate ADC
doctorprox

Replies: 5
Views: 7605

PostForum: General CCS C Discussion   Posted: Tue Nov 09, 2010 3:45 pm   Subject: 18F14K22 very inaccurate ADC
Seems my multimeter was affecting the input voltage somehow. Changed multimeter and it appears to now be fluctuating around +-2%.

Not ideal since i may aswell be using 8bit in that case. Could thi ...
  Topic: 18F14K22 very inaccurate ADC
doctorprox

Replies: 5
Views: 7605

PostForum: General CCS C Discussion   Posted: Tue Nov 09, 2010 3:20 pm   Subject: 18F14K22 very inaccurate ADC
Hi all.

I have tried everything to get the ADC on this chip working correctly but it just wont.
It seems to be around 20% out, ie. 2.5v in reads in on the ADC as about 3.1v, and fluctuates all o ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group