cancel
Showing results for 
Search instead for 
Did you mean: 

90 degrees phase difference signals

orkunkasapoglu
Associate II
Posted on March 11, 2013 at 11:05

I want to create 2 signals and they must have 90 degrees phase difference (on square wave). for example signals have 2 kHz freq. i set the timer 8 kHz and just changed the one of the outputs on each timer interrupt. the signals are coming 90 degrees difference while i'm debugging on discovery board but when i stop debugging (controller is free running) i'm not seeing the difference between signals just inverted 2 signals on scope. can i do it with pwm or capture/compare mode?

0 REPLIES 0