This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

generation of clock signal of 12MHz using LPC2368

I am a student learning microcontrollers. now i'am working on lpc2368. i had to generate a clock signal of approximately 10MHz to 12MHz using this IC.
is it possible? if yes how is it?

  • Hello Ram,

    yes, it is possible. Is it a practice for your study? So i don´t think the idea behind this is to find someone who does the job.
    So i only give you a hint. The controller will have "timers". They can be used for that.
    And are HAVE TO USE this one? If i see it right, this device is allready a "big" one. If u have no experience in controllers before you´ll have a very hard task this thing running.
    If you could use something else, i still recommand AVR 8bit controllers from ATMEL. I started with them from the nothing except a MYavr programmer and the datasheets and got results.

    First things you are usually using in Controllers are timers, ADC´s and UART. While in the AVR´s u have to set up may be 2 or 3 8Bit registers while in the bigger controllers its more like 6 or 8 registers each 32 bit wide with a much bigger amount of run modes.

  • There are lots of sample programs for using LPC23xx timers. They are not black magic.

    They need to be powered up.
    They need a clock input that is fast enough.
    They need to know how many tick between each reload.
    They need to know if they should "match" different tick values and then change the state of an output pin.
    And the pin needs to know it should associate with the timer and not be a GPIO pin.

  • Ram Charan Teja does not need anyone's help. Havent u seen his movies? He can beat 20 goons single handedly.
    By the way, the last moive 'Zanjeer' was a big Flop. Is that the reason why he needs Help this days??

  • can i know what is the maximum clock frequency that can be generated using lpc2368?

  • That depends on which chip version you have.

    And NXP documentation contains that answer. Note that you may have to check the errata for the chip depending on your stepping.