Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
10 years, 6 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
10 years, 6 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.