I want two square wave signals with a phase difference of 90°, and the square wave signals sweep from 10Hz to 10kHz,can nRF52832 do this?
I want two square wave signals with a phase difference of 90°, and the square wave signals sweep from 10Hz to 10kHz,can nRF52832 do this?
Hi,
Yes, that is possible.
The snippet in this post shows you how to do 120-degree phase with the PWM peripheral, so with some minor modifications it should be possible to use that snippet for 90 degree as well. Alternatively, it should be possible to implement it using TIMER+GPIOTE+PPI as well.
Hi,
Yes, that is possible.
The snippet in this post shows you how to do 120-degree phase with the PWM peripheral, so with some minor modifications it should be possible to use that snippet for 90 degree as well. Alternatively, it should be possible to implement it using TIMER+GPIOTE+PPI as well.