This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

radio notifications and sd_flash_*()

Hi,

I have an application where both radio notifications and flash operations are used.

It seems that every sd_flash_write() generates two radio notifications. So during startup of my application there is a burst of radio notifications although there is actually no radio operation. Even advertising is still off.

Is my observation correct? And how can this be prevented from happening?

Thanks, Hardy

Parents
  • Ok... answering my own question: this (mis)behavior is document in the softdevice release notes (search for "flash"). So this is a known issue. @nordic: because this is really a longstanding thing, why don't you document this in the description of the radio notifications?

    Bad luck anyway.

    Somewhere in this forum it has been mentioned, that using the timeslot API may help. Also someone seems to have used PPI to catch radio events.

    Best for me would be a portable solution for nRF51, nRF52, S110/v6(?) and S132/v2.

    Any ideas/suggestions?

    Hardy

    PS: my actual intention is to calculate power consumption of the radio. Perhaps there is a better/easier way than couting "radio on" times!?

Reply
  • Ok... answering my own question: this (mis)behavior is document in the softdevice release notes (search for "flash"). So this is a known issue. @nordic: because this is really a longstanding thing, why don't you document this in the description of the radio notifications?

    Bad luck anyway.

    Somewhere in this forum it has been mentioned, that using the timeslot API may help. Also someone seems to have used PPI to catch radio events.

    Best for me would be a portable solution for nRF51, nRF52, S110/v6(?) and S132/v2.

    Any ideas/suggestions?

    Hardy

    PS: my actual intention is to calculate power consumption of the radio. Perhaps there is a better/easier way than couting "radio on" times!?

Children
No Data
Related