Hi,
Hope this is not a duplicate post. I am using nRF52832 and SDK Ver 11 and am facing the following issue:
After configuring the UART and SPI, I put a string e.g. "start..." in the printf function. Immediately after that the SPI function and then spi_event_handler are called. I put a long delay in the SPI interrupt handler function to check the performance of the UART along with SPI when they are working in high speed. Before entering the SPI handler function only the first three characters are sent by UART. The rest of the characters are sent after the CPU has executed the long delay and returns from the handler function.
Questions:
1- The printf function is non-blocking, right? (I have the UART handler function too)
2- Is this a correct performance that sending the bytes via UART is terminated when the CPU is stuck in the SPI interrupt handler function? Or I am doing something wrong in my code?