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 3 matches
CCS Forum Index
Author Message
  Topic: 18F46K22 number pulse generator
Alexandr

Replies: 6
Views: 9516

PostForum: General CCS C Discussion   Posted: Mon Mar 17, 2014 8:21 am   Subject: 18F46K22 number pulse generator
You don't tell us the range of period and frequency you want.
1) Set up a PWM.
2) Use the PWM clock to generate an interrupt after say 16 cycles.
3) Adjust pulse count by 16 on each interrupt.
4) ...
  Topic: 18F46K22 number pulse generator
Alexandr

Replies: 6
Views: 9516

PostForum: General CCS C Discussion   Posted: Fri Mar 07, 2014 6:27 am   Subject: 18F46K22 number pulse generator
Thank you Ttelmah! I guessed this. Need internal configuration module CCP1 & (synchronize)SPECIAL EVENT TRIGGER? Is that possible? Question
There is no free pins! Sad
  Topic: 18F46K22 number pulse generator
Alexandr

Replies: 6
Views: 9516

PostForum: General CCS C Discussion   Posted: Fri Mar 07, 2014 5:42 am   Subject: 18F46K22 number pulse generator
Hi embedded systems experts! There is one problem: Need a code CCS to get the number of pulses. The required amount must be set programmatically, from 1 to 32767 pulses. Period and frequency should al ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group