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 support@ccsinfo.com

PWM PIC24EP64GP204 output help
Goto page Previous  1, 2
 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
Ttelmah



Joined: 11 Mar 2010
Posts: 19260

View user's profile Send private message

PostPosted: Mon Aug 11, 2014 12:34 am     Reply with quote

I've been 'puzzled' from the start, why if you have 5.015, you wanted to get 4.130 to work?.

Presume you have 'access' to 5.015, but don't actually have it?.

Now V4, started to work quite well a little before .130, but this was around the time that several new oddities appeared. I have a gap in my 'stored versions', covering this time, which says 'there were problems I didn't like' at this time....
Have you actually tested that the chip is running at the expected speed?. The early compilers for the PIC24, often didn't handle setting the PLL properly, and code to do this was posted here at the time.

To run 'non sync', you need to select 'free run' mode.
neochrome32



Joined: 09 Jun 2013
Posts: 153

View user's profile Send private message Visit poster's website

PostPosted: Mon Aug 11, 2014 6:34 pm     Reply with quote

i do have access to it, but as you say , i dont really own it :(

eventually i'll have to give it back.

yeah i've ran it at slow speeds too, it works ok, but i wasn't expecting the wierd glitch..

i dont see "free run" in the chips include.
sync works anyways

i DID reset the PLL settings using the "setup_oscillator(OSC_RC, 140000000, 5500000);"

function... even stranger, is that i was able to "overclock" too... it worked, but any lower then strange memory and corruption would occur (which is understandable :-] )

anyways, looking at the assembly code after compile, [ of which i dont understand alaot of it ] appears to be those of setting PLL...

the project i use does't have a crystal as i needed the legs. and to be fair a crystal isn't needed right now (will use one on a 64pin PIC)


Thank you again buddy... getting the feeling that you have a room with all the PICS ever made! LOL...
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group