SIM selection on nRF93M1 DK

Hi,

On the nRF93M1 DK, we can switch between physical SIM and eSIM with %SIMCFG="SimSlot" (mfw 1.5.0).

1. Is SimSlot written to NVM on set, or in the flush at CFUN=0?
2. Does every CFUN=0 write NVM anyway?
3. Are two writes per power-on acceptable over a 10-year life?

Regards,
Jon-Arne Pedersen

Parents
  • Hi,

    Is SimSlot written to NVM on set, or in the flush at CFUN=0?

    Yes, this configuration is even kept through power cycles.

    This is easily testable. You can send the %SIMCFG="SimSlot",1 to set the slot to 1, perform any other command or test you want to check, and then finally read back the SIM configuration with the %SIMCFG? command.

    Does every CFUN=0 write NVM anyway?

    I must say that I'm not fully familiar with the nRF93M1 yet, but from what I was able to test, it seems like +CFUN=0 does write to NVM.

    Are two writes per power-on acceptable over a 10-year life?

    How many power-on do you expect in the lifetime ?

    Best regards,

    Simon

  • Thanks, yes, SimSlot writes to NVM in my test.

    Normally, there won't be many power-on in the lifetime, but there will always be outliers and problematic devices that may power-cycle every day or even several times a day.

    To avoid the NVM writes, I see two alternatives:

    1. SIM holder with a detect line to the host
    2. SIM1_DET level readable via an AT command

    I don't see the second in mfw 1.5.0 (AT+CLAC). Is it supported or planned? If not, what is the rated write endurance of the modem NVM?

  • Hi,

    Jon Arne Pedersen said:

    To avoid the NVM writes, I see two alternatives:

    1. SIM holder with a detect line to the host
    2. SIM1_DET level readable via an AT command

    Sorry, I'm not sure to follow what want here. I would think that it is usually a good thing that the SIM slot is written to NVM. So that you don't always have to set it.

    I think I'm missing a bit of context. Can you please explain in a bit more detail your initial issue?

    Jon Arne Pedersen said:
    what is the rated write endurance of the modem NVM?

    The datasheet says min. 100'000 write/erase cycle (link). So a few writes per day should be fine :)

    Best regards,

    Simon

  • Thanks, 100k cycles should be fine.

    Context for the SIM1_DET question:
    We want to use the physical SIM automatically if inserted, otherwise use the eSIM. The modem only sees the card in the selected slot, so at power-on the host switches to the physical slot and checks +CPIN?. Reading the SIM1_DET level over AT would replace that probe.

  • Hi,

    I checked the documentation and couldn't really find anything that allows automatic SIM slot detection...

    I found that there is a SIM config called "SimPresenceDetect" but I don't think it can be used to switch SIM Slots.

    And I see that SIM1_DET is wired to the nRF93M1 but couldn't really find where it was used.

    I've asked internally to clarify the latest point and also to know if anyone has recommendation on how to handle this.

    I'll get back as soon as I have more information.

    Best regards,

    Simon

Reply
  • Hi,

    I checked the documentation and couldn't really find anything that allows automatic SIM slot detection...

    I found that there is a SIM config called "SimPresenceDetect" but I don't think it can be used to switch SIM Slots.

    And I see that SIM1_DET is wired to the nRF93M1 but couldn't really find where it was used.

    I've asked internally to clarify the latest point and also to know if anyone has recommendation on how to handle this.

    I'll get back as soon as I have more information.

    Best regards,

    Simon

Children
No Data
Related