Hi everyone,
I'm integrating the spi_master_with_spi_slave example into our firmware; however, I'm not seeing the event callback I registered being called. I'm verifying via a Saleae Logic Analyzer that data is coming out of the MOSI line.
I'm currently setting up breakpoints (in Keil) at 2 points: 1) the call to nrf_drv_spi_transfer and 2) the event callback itself. I'm able to break at the transfer, but not within the event handler.
Things I've tried:
-
Turned off optimizations
-
Modifying a volatile variable within the handler
-
implementing a while(1) within the handler
None of these tests pointed to the handler being called.
Any thoughts on the matter?
Thank you,
Aadu