NRFX_LOG_INFO

hello!

I'm using 'NRFX_LOG_INFO' for debugging purposes. However, the code seems to stop progressing when 'the NRFX_LOG_INFO' statement is removed from the section below. 

 // line: 67-73
 
 void timer0_handler(nrf_timer_event_t event_type, void * p_context)
{   
    NRFX_LOG_INFO("spi_counter >>%d  ", spi_counter);  // THIS 
	if(spi_counter == 68){
		timer_disable(&timer0_inst);
	}
} 

When 'NRFX_LOG_INFO("spi_counter >>%d  ", spi_counter);' is removed, the code does not progress as expected. Could you help me understand why this is happening?

 

<Development Environment>

- Toolchain Manager: v1.3.0

- IDE: Visual Studio Code (VSCode)

- SDK: ncs v2.6.0

- Development Kit: nRF52840 DK

- Peripheral used in this application : SPIM, PPI, GPIOTE, TIMER

Parents Reply Children
No Data
Related