9 years, 10 months ago.

LPC11U24: Generating a 5.4 MHz square wave output

Hi, I need to generate a 5.4MHz square wave output from one of the pins on LPC11U24 kit. How could I do this? Help much appreciated!

1 Answer

9 years, 10 months ago.

You don't need two questions and a topic for exactly the same question.

How accurate does it need to be? The LPC11u24 has by default a 48MHz clock, you cannot divide that to 5.4MHz, the closest you can get is 5.33333MHz. FastPWM lib (search for it) allows that.

Yes that should be close enough, I will have a look for it. Thanks.

posted by A B 17 Jun 2014