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

Regarding nRF52832 timer,ppi and gpiote tasks

Dear Team,

We are working on nRF52832 BLE MCU. SDK version = 15.0.0. SOFTDEVICE version = 6.0.0. IDE = segger embedded studio.

In our application we required software UART and we have also implemented software UART with 19200 baud-rate.

We are using TIMER1 working at 16 MHz  internal frequency. In our application, we first decided what to do with our UART transmitter pin in TIMER1 interrupt routine and  also trigger the same in interrupt routine as per the data bits.

Now our requirement is just to decide what to do with UART transmitter pin for the next compare event not for the current compare event. We have thought that this task can be accomplished using PPI concept.

Kindly tell us how to set , reset and toggle UART transmitter pin for the next compare event means we will have to decide what to do in EVENTS_COMPARE[1] in EVENTS_COMPARE[0].

So please kindly guide us for suitable solution and if possible kindly share any related example.

Regards,

Hasmukh

Related