0

radio detect ,flash erase and store

lwque gravatar image

asked 2017-12-07 08:21:06 +0100

Petter gravatar image

updated 2017-12-07 13:03:53 +0100

i want to erase and store the flash after detecting the radio active.

The radio signal is also active, when i erase and store .

Do erase and store the flash may influence the interrupt ?

static void radio_notification_init(void)
{
    uint32_t err_code;  
    err_code=ble_radio_notification_init(APP_IRQ_PRIORITY_HIGH,
                     NRF_RADIO_NOTIFICATION_DISTANCE_4560US,
                     ble_flash_on_radio_active_evt);
    APP_ERROR_CHECK(err_code);  
}
edit retag flag offensive close delete report spam

1 answer

Sort by ยป oldest newest most voted
0
Petter gravatar image

answered 2017-12-07 13:08:18 +0100

Yes, the CPU is halted while the NVMC is writing/erasing to flash, so no interrupts will be handled until the flash operation is complete.

edit flag offensive delete publish link more

Comments

i don't need to care the active of radio signal while erase or store the flash ?

lwque ( 2017-12-07 13:49:09 +0100 )editconvert to answer

why the radio signal is active while in the operating flash ?

lwque ( 2017-12-07 13:58:11 +0100 )editconvert to answer

I'm sorry. I really don't understand what you mean. Please clarify.

Petter Myhre ( 2017-12-07 15:57:57 +0100 )editconvert to answer

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer. Do not ask a new question or reply to an answer here.

[hide preview]

User menu

    or sign up

Recent questions

Question Tools

1 follower

Stats

Asked: 2017-12-07 08:21:06 +0100

Seen: 18 times

Last updated: des. 07