EngineersGarage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise
You are here: Home / Topics / How to Use Internal and External Effectively

How to Use Internal and External Effectively

|

Microcontroller › 8051 › How to Use Internal and External Effectively

  • This topic has 1 reply, 2 voices, and was last updated 10 years, 1 month ago by Vara Ashishkumar.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • March 30, 2015 at 9:38 am #3589
    Allen
    Participant

    Hi,
    I started to do a coding for Microcontroller, I have some following doubts,

    1) Every Microcontroller has Clock(Which will vary controller by controller). Take it for example,
    I am using a Controller which is having 32MhZ. This frequency can be changed for 16MhZ also. But how can i change this.
    Is there any Hardware register to achieve this.
    2) If my process is multi threading, is it possible to set a different frequency for two running thread.

    3) Running RTC
    i) I have seen that, RTC will run only on External Crystal. Why it will not run internal(Controller Clock)?
    ii) I read some where, if want to take a reference of External Clock, Need to access from a GPIO. Is this Correct,
    If Yes, how can i reference through GPIO. If No, then what should i do in program to access External Crystal.

     

     

    April 29, 2015 at 7:41 am #12840
    Vara Ashishkumar
    Participant

    Hey Allen

    Ans 1) you can use system clock devide future of controller

    Ans 2)yes,you can use different frequency for multi threading but not parallel running thread.

    Ans 3)RTC also run on internal clock but required configuration for this like short external crystal pin,set value of load capacitance etc.,.

     

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Log In

RSS Recent Posts

  • Is AI making embedded software developers more productive? June 22, 2025
  • Can I make two inputs from one?? June 21, 2025
  • Behlke swich June 21, 2025
  • Beats Solo 4 June 21, 2025
  • Simple LED Analog Clock Idea June 21, 2025

Stay Up To Date

Newsletter Signup
EngineersGarage

Copyright © 2025 WTWH Media LLC. All Rights Reserved. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media
Privacy Policy | Advertising | About Us

Search Engineers Garage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise