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

Parents Reply
  • Dear David,

    Thanks for your reply,

    I apologize for late reply,

    I have used the nrf_vt() library at that time but i am facing some problem as before. I tried it further but getting the same problem. I compile the demo code but getting the error in app_sched_execute() ->event_handler (p_event_data,event_data_size).The error is NRF_FAULT_ID_SDK_ERROR in app_error_weak.c file. I tried a lot but can't get the result. So kindly give me some suggestion on that.

    I also want to know that is this example using UART frontend or not ? Can you explain me meaning of UART frontend in brief?

    thanks,

    Hasmukh

Children
No Data
Related