fstorage updating (erase & wirte) make pwm state change.

Hello.

* nrf52840 sdk17.1.0

We make some BLE device using nrf52840.

we using fstorage for storing about flag information. And, We using PWM for LED indicator.

Our PWM is uninited every after using LED. And PWM is inited every before using LED.

Generally, it working fine.

But, We found out weird issue.
this issue is arise very rarely but it looks dangerous to us.

when we try update(erase & write) fstorage by BLE uninited PWM state change from NRFX_DRV_STATE_UNINITIALIZED to NRFX_DRV_STATE_INITIALIZED after fstorage update(erase & write).

we used fstorage address from 0xE9000 to 0xED000 and PWM State address is 0x20018988.

Please share information about this situation to us.

thanks.
best regards.

Parents
  • when we try update(erase & write) fstorage by BLE uninited PWM state change from NRFX_DRV_STATE_UNINITIALIZED to NRFX_DRV_STATE_INITIALIZED after fstorage update(erase & write).

    I have not seen such a behavior where fstorage is causing a driver state change. Can you please give me your setup to replicate this issue? Are you sure that it is not the driver that is really uninitialized since you said that you are initializing and un-initializing the driver in your application?

Reply
  • when we try update(erase & write) fstorage by BLE uninited PWM state change from NRFX_DRV_STATE_UNINITIALIZED to NRFX_DRV_STATE_INITIALIZED after fstorage update(erase & write).

    I have not seen such a behavior where fstorage is causing a driver state change. Can you please give me your setup to replicate this issue? Are you sure that it is not the driver that is really uninitialized since you said that you are initializing and un-initializing the driver in your application?

Children
No Data
Related