TC vs TCC (SAMDXX)?

Go To Last Post
6 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I feel like I've sat down a few times and tried to generalize the differences between the TC and TCC peripherals (specifically on the SAMDXX chips - I mostly use SAMD21, but some of the others are of interest), but apart from the fact that TCs can be ganged into 32-bit peripherals, while TCCs are 24 or 16-bit, I'm hard pressed what the actual differences are.  Can anyone enlighten me as to how they differ in general?  Perhaps in terms of things one type can do but the other can't...

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 1

TCs are the lite versions of TCC, to say it easily.  TCCs can produce ramps, slopes for motor control, the primary purpose, dithering is also supported.

A very complex system, dedicated to motor applications. I do not exactly understand "TCs can be ganged into 32-bit peripherals". If you mean communication

among peripherals, yes, TCC can by using the event system, which means communication without the CPU. 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

The "ganged" thing is about the 32-bit mode: "COUNT32: This mode is achieved by pairing two 16-bit TC peripherals. "

TCC has double buffering for CC channels, can be important for continuous update of PWM waveform.

/Lars

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Uwe60 wrote:
TCCs can produce ramps, slopes for motor control, the primary purpose,

The second 'C' in "TCC" stand for "Control" - doesn't it?

 

EDIT

 

from the SAM D21 datasheet:

31. TCC – Timer/Counter for Control Applications
31.1 Overview
:
:

Waveform extensions are intended for motor control, ballast, LED, H-bridge, power converters, and other
types of power control applications.

Top Tips:

  1. How to properly post source code - see: https://www.avrfreaks.net/comment... - also how to properly include images/pictures
  2. "Garbage" characters on a serial terminal are (almost?) invariably due to wrong baud rate - see: https://learn.sparkfun.com/tutorials/serial-communication
  3. Wrong baud rate is usually due to not running at the speed you thought; check by blinking a LED to see if you get the speed you expected
  4. Difference between a crystal, and a crystal oscillatorhttps://www.avrfreaks.net/comment...
  5. When your question is resolved, mark the solution: https://www.avrfreaks.net/comment...
  6. Beginner's "Getting Started" tips: https://www.avrfreaks.net/comment...
Last Edited: Thu. Mar 1, 2018 - 08:54 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I did not write the contrary, see my words "motor CONTROL" and that seems to be the emphasis.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

just backing up what you said

Top Tips:

  1. How to properly post source code - see: https://www.avrfreaks.net/comment... - also how to properly include images/pictures
  2. "Garbage" characters on a serial terminal are (almost?) invariably due to wrong baud rate - see: https://learn.sparkfun.com/tutorials/serial-communication
  3. Wrong baud rate is usually due to not running at the speed you thought; check by blinking a LED to see if you get the speed you expected
  4. Difference between a crystal, and a crystal oscillatorhttps://www.avrfreaks.net/comment...
  5. When your question is resolved, mark the solution: https://www.avrfreaks.net/comment...
  6. Beginner's "Getting Started" tips: https://www.avrfreaks.net/comment...