This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

TIMER+PPI+ADC on nrf52

Hi,

I am looking for some assistance to choose the best way using the nrf52832 processor in a correct way.

The main task is to generate a 1KHz PWM Signal with changeable Duty-Ciclye during the runtime. On every cycle (Signal change high/low - low/high), or better after the signal changed, i need to measure with the integrated saadc. I also need control about the Signal to set the PWM pin to low, or to high.

What is the best way to use the nrf52 chip? Should i use the integrated hardware PWM module and can i trigger the saadc on a signal cycle? Or should i use a Timer to generate the PWM Signal, reload the CC registers with different values for Duty-Cycle and trigger saadc measurements on every timeout?

I am thankful for every help, best regards, Nils :)

Parents Reply Children
No Data
Related