Hi, guys. I'm using the PCA10056 and the SDK 15.3's BLE UART peripheral example. I'm working on a PWM controller using the mobile app.
I need to create a delayed PWM signal, just like the above picture. A pair (PWM 0, PWM 1 for instance) has the same frequency and duty cycle.
Is this possible to implement this without the NRF_DELAY function? I was curious whether the PWM modules can use other PWM modules as a trigger source
(PWM 0 triggers PWM 1 for instance) so that I can decrease the software codes.
If so, how should I modify the PWM code?
Lastly, how many PWM pairs are available?
You'll need to use PPI — Programmable peripheral interconnect and connect a TIMER — Timer/counter's compare match event (EVENTS_COMPARE[n]) to the second PWM's sequence start task (TASKS_SEQSTART…
See the PPI Example, it uses 3 TIMERs.
Again, you can connect any EVENT to any TASK, regardless of what peripherals are used. f.ex. The SAADC's EVENTS_END can be connected to a SPIM's TASKS_START. By…