Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Register Log in

How to read the External Oscillator Frequency in ATMEGA128A?

Status
Not open for further replies.

kunal5959

Junior Member level 3
Joined
Jul 26, 2011
Messages
31
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,644
For my purpose I need to report to Hyperterminal what is the value of the frequency generated by the external Oscillator attached to my microcontroller.The main reason being reporting proper health of the oscillator and to calculate the frequency in runtime in the software..I initially thought reading the fuse bits and calculting thr frequency range would be a solution..but there is not much guidance found on internet to read the fuse bits..Would be glad if any one can guide me with their ideas..

I am using C language and AVR studio for coding..The PCB has a serial interface external osc of 2 MHZ and Power of 5V as supply.


Thanks in aDvance!
 

Status
Not open for further replies.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top