
Hi I have been doing some current consumption measurements using Nordic's Power Profile Kit 2.
The device I am measuring is a custom BLE device that uses the ADC to sample @ 256Hz, reads data from an accelerometer (MC3672)
when the data ready pin goes from high to low ( gpiote ) and writes to a NAND flash every 2 seconds.
The problem I am having is there is an increase in current just before the accelerometer pulls on the interrupt pin, I can not work out what is causing
this. All other currents are accounted for apart from this one.
Would anyone be able to shed some light on what might be causing this?
Thanks!.

////////////////Edit
The problem may be related to SPI, as the current seems to increase roughly 20ms after a SPI transaction.
(shown below).
I am using PPIs and a timer to do long SPI transfers . ( please see attached )