Hello Nordic developer,
I'm asking my self if it's possible to use a task of one timer like STOP TASK or START TASK as PPI event ?
For example, like that :
/* Configure 3nd available PPI channel to enable PPI channel2 and to disable PPI channel1 on TIMER1 start event. */ err_code = nrf_drv_ppi_channel_alloc(&m_ppi_channel3); APP_ERROR_CHECK(err_code); err_code = nrf_drv_ppi_channel_assign(m_ppi_channel3, nrf_drv_timer_event_address_get(&m_timer1,NRF_TIMER_TASK_START), nrf_drv_ppi_task_addr_get(NRF_PPI_TASK_CHG2_EN)); err_code = nrf_drv_ppi_channel_fork_assign (m_ppi_channel3, nrf_drv_ppi_task_addr_get(NRF_PPI_TASK_CHG1_DIS)); APP_ERROR_CHECK(err_code);
I expect that's not possible since the return address of the function : "nrf_drv_timer_event_address_get(&m_timer1,NRF_TIMER_TASK_START)" is 0 (viewed in debug mode).
Anyone could confirm that ?
Best regards,
Sylvain.