Hello,
I am currently trying to write my frist few lines of code.. I started with the ble_uart example and then mixed in some code from the spi_master example.. I wanted to try to communicate with a Sensor over SPI and to make sure it works, use UART.
But my code won't work and I haven't yet found out why. I will keep on searching but probably one of you could easily point out the problem.
It seems that after
/* Clear waiting interrupts and events */
p_spi_instance->p_nrf_spi->EVENTS_READY = 0;
this is called:
NVIC_SystemReset
But I don't have a clue why.
Feel free to have a look at the attached main.c (Of course the uart_init call should be before my printfs.. but thats not the cause of the problem)