Jump to content
43oh

Question on timers


Recommended Posts

I was reading a separate post about the new TI chip coming out (this forum) and the author stated

 

"Three timers with 4 CCRs each (finally, enough timer to do what I want!)

Timer C will be 32-bit and will have 8 CCRs (sweet!)"

 

I am a little slow here and don't fully grasp the significance of these parameters. How does increased number of CCRs benefit me? What can I do with them for example? I'm still early in my experience with C and the MSP430 so it just hasn't sunk in yet.

 

thanks

Link to post
Share on other sites

Having just figured out how to do PWM with the built in timers, I'll take a stab at answering the question.

 

Each CCR is a "Capture/Compare Register". Each CCR lets you perform an action based on the count of the clock it is attached to. If you have one CCR per timer, then that timer can only generate one timing signal. If you have two CCRs, that same clock can be used to generate two timing signals, or a much more complex single timing signal.

Link to post
Share on other sites

Well, the bottom line is that there are MSP430 chips out there which have 5 or 7 CCRs and as wasson65 already stated, you can use each one to generate it's own timing signal, for example 7 servos, lights, or motors, or 7 sound waveforms.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...