Hello,
I want to generate a square wave of 2MHz (50% duty cycle).
I referred the PWM code and Interrupt code from the SDK, but couldn't modify them to generate 2MHz square wave.
How can i generate it using
1)PWM module.
2)General-Purpose-Timer-Interrupt (toggle GPIO port pin at 2MHz).
Any help would be much appreciated.
Thank you in advance.
Regards,
Abhishek.