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

Reference Clock Out

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
jmb1539



Joined: 29 Mar 2010
Posts: 12

View user's profile Send private message

Reference Clock Out
PostPosted: Thu Apr 23, 2026 4:40 pm     Reply with quote

Probably dumb question, but I'm looking to use the Reference Clock Out on a dsPIC33CK256MP208 to drive the clock in on a peripheral. I'm not finding information in the CCS C manual. Am I missing it, or do I need to use asm to implement it?

Thanks,
temtronic



Joined: 01 Jul 2010
Posts: 9637
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Thu Apr 23, 2026 4:48 pm     Reply with quote

While don't use the PIC, but I'd look in the device.H 'header' file to see what CCS has done.
It might be a simple 'set bit to enable ' ??
newguy



Joined: 24 Jun 2004
Posts: 1935

View user's profile Send private message

PostPosted: Thu Apr 23, 2026 4:55 pm     Reply with quote

Just ensure that you don't have the slew rate control enabled for that particular pin. If the processor comes with that ability, the default is for it to be on/enabled.

Learned that the hard way some time ago when I also tried to enable the reference clock out.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
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