element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Experts, Learning and Guidance
  • Technologies
  • More
Experts, Learning and Guidance
Ask an Expert Forum Microcontroller capabilities
  • Blog
  • Forum
  • Documents
  • Leaderboard
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Experts, Learning and Guidance to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Suggested Answer
  • Replies 5 replies
  • Answers 1 answer
  • Subscribers 304 subscribers
  • Views 628 views
  • Users 0 members are here
Related
See a helpful answer?

Be sure to click 'more' and select 'suggest as answer'!

If you're the thread creator, be sure to click 'more' then 'Verify as Answer'!

Microcontroller capabilities

Johnd001
Johnd001 over 12 years ago


I have been finding it hard to tell just how capable a given micro controller is.

I have an Arduino Mega but have not done any work with it.

The project I have in mind requires 2 24 bit counters. The micro controller need to be able to read the counters and divide one counter by the other. The dividend is used in a successive approximation to load a 16 bit counter which counts up or down to create an external trigger which should change the ratio between the first 2 counters.

All the counters need to be triggered enabled and cleared from external hardware logic.

Counter clock rate is 10MHz.

Do I need to build these counters from external chips or Is there a micro controller that could do the counting for me.

If I need to build them the only 8 bit try-state counters I see seem to be low volume parts like SN74AS867NTSN74AS867NT. Is there something better/ newer that I should be looking at for  a new desine?

 

While the counters are counting the system needs to be taking some analog reading. Is the Mega using the CPU while ADCs are done? how long does it take to read 1 analog pin? Are the analog pins multiplexed to 1 ADC or are there multiple ADCs on the chip.

 

How long does a 24 bit /24 bit divide take? Is there a Math library that would do the divide for me?

 

Should I be looking at a 32 bit controller that may to the math easier and have larger counters?

I am trying to get started in the right arena before I get too invested in any one controller.

Any help will be appreciated.

Thanks you

  • Sign in to reply
  • Cancel
Parents
  • michaelkellett
    0 michaelkellett over 12 years ago

    Hello John,

     

    How often do you need to update the 16 bit counter - if the answer is not very often (eg < 1000 times  a second then you can certainly use a micro with the right timer/counter stuff - look at NXP and ST and pick an ARM (M0, M3 or M4 will all do) which has at least 2 x 32 bit counters and 1 x 16 bit counter.

     

    If you need to update very fast (eg at 10MHz rate (although this seems unlikely from your description)) you will need to use an FPGA.

     

    If you are making just one then consider using an ST32F4Discovery board (£10.13 from Farnell) which has the processor and debugging stuff at a pretty good price.

     

    You'll need to do your own investigating but this chip has the CortexM4 core that John mentioned so can probably sustain an update rate of the order of 100k per second.

     

    MK

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • michaelkellett
    0 michaelkellett over 12 years ago

    Hello John,

     

    How often do you need to update the 16 bit counter - if the answer is not very often (eg < 1000 times  a second then you can certainly use a micro with the right timer/counter stuff - look at NXP and ST and pick an ARM (M0, M3 or M4 will all do) which has at least 2 x 32 bit counters and 1 x 16 bit counter.

     

    If you need to update very fast (eg at 10MHz rate (although this seems unlikely from your description)) you will need to use an FPGA.

     

    If you are making just one then consider using an ST32F4Discovery board (£10.13 from Farnell) which has the processor and debugging stuff at a pretty good price.

     

    You'll need to do your own investigating but this chip has the CortexM4 core that John mentioned so can probably sustain an update rate of the order of 100k per second.

     

    MK

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
  • Johnd001
    0 Johnd001 over 12 years ago in reply to michaelkellett

    Thanks Michael,

    I did not find a ST32F4Discovery board but I did find a STM32F4Discovery board.

    http://www.st.com/internet/evalboard/product/252419.jsp

    Is that the board you referenced?

    I have had a STM32 Value Line Ci9scovery board but kind but got discouraged with a lot of broken links and on www.st.com/stm32-discovery

    Seems the Arduino has more net support.

    Thanks again.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube