Thread: Microcontroller id

  1. #1
    Registered User
    Join Date
    Aug 2012
    Location
    Tema
    Posts
    1

    Post Microcontroller id

    hi All,
    Am a newbie in c++, but have develop interest after reading and watching videos about it.
    Please somebody help me identify the default clock fuse of my micro controller.
    Please my micro controller is ATMEGA32 16PU, please what is the meaning of the 16PU ? I know the 32 is i/o pins.
    Is the 16PU internal clock frequency ?
    I need to know that because I will want to set my fuse later, am not using external resonator.

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,660
    You could just grab the data sheet for your micro-controller and read about it for yourself.
    http://www.atmel.com/Images/2503s.pdf

    16 gives you a clock speed.
    PU tells you what kind of package it comes in.

    Neither of these are parameters determining whether (or not) you can set fuse(s).
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  3. #3
    Registered User
    Join Date
    Oct 2006
    Posts
    3,445
    I'm curious to know how this relates to C++. perhaps the thread could be moved to the tech board.

  4. #4
    Registered User
    Join Date
    Jun 2011
    Posts
    4,513
    Do you currently have the device? Do you have (or are you looking into) a development board which contains all the necessary peripherals, or will you try to be building the circuit yourself (i.e. breadboarding, etc)?
    Purchasing a development board is a good way to go if you're new to microcontrollers - not only does it contain all the necessary circuitry, but usually also comes with an IDE and compiler. This software will usually let you set the fuses (or the fuses can be set by a few lines of code). Most of the MCU compilers I've worked with support only C and not C++, but this is not always the case. This is the kind of of information that should be researched before jumping into a project.

    If you're new to microcontrollers in general, expect several learning curves ahead. It would be a good idea to seek out forums for MCUs and/or Atmel for assistance in setting up.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. My microcontroller cant do maths!
    By dannybeckett in forum C Programming
    Replies: 6
    Last Post: 03-09-2011, 12:04 PM
  2. microcontroller to C++
    By ticrou in forum C++ Programming
    Replies: 10
    Last Post: 02-05-2011, 07:04 AM
  3. Microcontroller ??
    By Cpro0 in forum Tech Board
    Replies: 7
    Last Post: 09-17-2010, 04:07 PM
  4. C for microcontroller
    By phernyt in forum C Programming
    Replies: 2
    Last Post: 12-08-2001, 01:01 PM
  5. microcontroller programming
    By wazilian in forum C Programming
    Replies: 3
    Last Post: 10-12-2001, 02:22 PM