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

GPTIOTE TASK WITH THE SAME IO

Hello,

Can I assign two GPIOTE tasks to work with the same output port? One to set it high, another to set it low.

Here is the code segment: nrf_gpiote_task_config(ch0,port0,NRF_GPIOTE_POLARITY_HITOLO,NRF_GPIOTE_INITIAL_VALUE_HIGH); nrf_gpiote_task_config(ch1,port0,NRF_GPIOTE_POLARITY_LOTOHI,NRF_GPIOTE_INITIAL_VALUE_HIGH); NRF_GPIOTE->TASKS_OUT[ch0] = 1; NRF_GPIOTE->TASKS_OUT[ch1] = 1;

I am testing with a "C0" version of 51822 and the above code seems doesn't work. Please advise.

Thank you! Joseph

Parents Reply Children
No Data
Related