Author Topic: High Speed Timer on the AVR  (Read 4647 times)

0 Members and 1 Guest are viewing this topic.

Offline aep9690Topic starter

  • Regular Contributor
  • *
  • Posts: 67
  • Country: us
High Speed Timer on the AVR
« on: March 31, 2015, 02:01:47 am »
I need a microcontroller with high speed timers (>200MHz).  At work we try to standardize on a family to make things easier on the software team so it would be great if it was an Atmel.  From what I can tell the Atmel microcontrollers can't run their timers any faster than its CPU speed.

Page 1259: http://www.atmel.com/Images/Atmel-11297-32-bit-Cortex-M7-Microcontroller-SAM-V70Q-SAM-V70N-SAM-V70J_Datasheet.pdf
I really hate long datasheets

There are inputs for external clocks to be used with the timers but I can't find a spec on the maximum speed.  On other devices with high speed timers that I have found it is usually pretty clear.  Ex: 4.7ns for MSP430F51x2, 217ps for STM32F334 etc.  Can someone clear this up for me?
 

Offline dannyf

  • Super Contributor
  • ***
  • Posts: 8221
  • Country: 00
Re: High Speed Timer on the AVR
« Reply #1 on: March 31, 2015, 11:03:13 am »
Quote
I need a microcontroller with high speed timers (>200MHz)....

I really hate long datasheets

Try to avoid microcontroller then - they all have long datasheets.
================================
https://dannyelectronics.wordpress.com/
 

Offline Psi

  • Super Contributor
  • ***
  • Posts: 9951
  • Country: nz
Re: High Speed Timer on the AVR
« Reply #2 on: March 31, 2015, 11:06:14 am »
i seem to remember that there is a few AVR with a 64mhz timer clock, well above the cpu clock.

ATTiny45 is one
« Last Edit: March 31, 2015, 11:09:24 am by Psi »
Greek letter 'Psi' (not Pounds per Square Inch)
 

Offline dannyf

  • Super Contributor
  • ***
  • Posts: 8221
  • Country: 00
Re: High Speed Timer on the AVR
« Reply #3 on: March 31, 2015, 11:18:02 am »
Quote
I can't find a spec on the maximum speed.

The datasheets do specify that those counters are synchronous, and provide a factor that link the counter's max speed with that of the main clock.
================================
https://dannyelectronics.wordpress.com/
 

Offline aep9690Topic starter

  • Regular Contributor
  • *
  • Posts: 67
  • Country: us
Re: High Speed Timer on the AVR
« Reply #4 on: March 31, 2015, 06:01:36 pm »
Okay, that's what I was afraid of. Thanks for clearing that up.
 

Offline T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 21686
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Re: High Speed Timer on the AVR
« Reply #5 on: March 31, 2015, 07:40:18 pm »
I've been reading on the XMEGA series, unfortunately they aren't terribly concise in their information (in their defense, the XMEGAs have much more hardware than the old MEGAs).  The internal PLL claims 128MHz maximum output, but it isn't clear where this can be used (the AVR core itself seems to only be rated for 32MHz, when sufficient VDD is available).  The timers also claim "extended resolution", but it isn't clear to me yet if this is automatically generated, or just more bits (and therefore only useful when the PLL is clocking them extra), or what.

There are devices out there which have internal delay or phase shift circuitry, which allows continuously variable (so to speak; i.e., limited by the internal DAC driving it) "fine" control, or at least additional (sub-clock) steps, for PWM or frequency or both.  Those would be excellent for self contained control applications (motor control, or yes, even straight up switching supplies -- given suitably clean code, of course!).

Tim
Seven Transistor Labs, LLC
Electronic design, from concept to prototype.
Bringing a project to life?  Send me a message!
 

Offline aep9690Topic starter

  • Regular Contributor
  • *
  • Posts: 67
  • Country: us
Re: High Speed Timer on the AVR
« Reply #6 on: April 01, 2015, 05:57:41 am »
Quote
I need a microcontroller with high speed timers (>200MHz)....

I really hate long datasheets

Try to avoid microcontroller then - they all have long datasheets.

Correction.  I hate datasheets that are 1700 pages long and contain very little of the electrical specifications I care about.
 

Offline Psi

  • Super Contributor
  • ***
  • Posts: 9951
  • Country: nz
Re: High Speed Timer on the AVR
« Reply #7 on: April 01, 2015, 07:36:46 am »
There are some MCU's with small onboard FPGA/CPLD

You might be able to use the FPGA part for your highspeed stuff.
But expect to pay a premium for it.

External timing hardware maybe the best option.
Greek letter 'Psi' (not Pounds per Square Inch)
 

Offline dannyf

  • Super Contributor
  • ***
  • Posts: 8221
  • Country: 00
Re: High Speed Timer on the AVR
« Reply #8 on: April 01, 2015, 10:43:12 am »
Quote
I hate datasheets that are 1700 pages long and contain very little of the electrical specifications I care about.

Easy: write your own datasheet so the electrical specificatin can be as long or short as you want. Problem solved.
================================
https://dannyelectronics.wordpress.com/
 

Offline aep9690Topic starter

  • Regular Contributor
  • *
  • Posts: 67
  • Country: us
Re: High Speed Timer on the AVR
« Reply #9 on: April 01, 2015, 06:19:31 pm »
Quote
I hate datasheets that are 1700 pages long and contain very little of the electrical specifications I care about.

Easy: write your own datasheet so the electrical specificatin can be as long or short as you want. Problem solved.

No
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf