Skip to main content
Visitor II
October 15, 2021
Solved

B-L462E-CELL1 with X-CUBE-CELLULAR - can't connect to network

  • October 15, 2021
  • 7 replies
  • 5052 views

I need help with an issue regarding STM32L462RE (B-L462E-CELL1).

How do you connect the modem to a network?

I have been trying to use X-CUBE-CELLULAR.

I flashed the binaries and know I can get some info from the modem, however i can't connect to the network

0693W00000FCgmbQAD.png0693W00000FCgsTQAT.pngIt keeps sending itself at commands and not connecting to the network.

    This topic has been closed for replies.
    Best answer by S.RA

    Dear Sara,

    Thanks for the log. In the trace I do see that the internal SIM card is still used since the SW did not detect any SIM card on the SIM slot. Did you insert the SIM card properly on the SIM slot?

    Yes the modem support NB-IoT. To enable it, you need to send an AT command at at%setacfg=radiom.config.preferred_rat_list,"NBIOT".

    You enter this command on the terminal at anytime.

    If you do not want to be disturbed by the trace, then i suggest you to configure the X-CUBE-CELLULAR to only run the modem as following:

    1/ enter on the terminal "cst target off" to power of the Modem

    2/enter "cst target modem" to Power on the Modem only. X-CUBE-CELLULAR boots the Modem and now ready to send any AT command to the Modem.

    3/enter "at at%getacfg=radiom.config.preferred_rat_list" to read the current RAT. It should return CatM

    4/enter "at at%setacfg=radiom.config.preferred_rat_list,"NBIOT" to select NBIoT. This configuration will be stored in the modem flash memory.

    Now you can reboot the device, the Modem will search only NBIoT

    I hope it helps

    Best Regards

    Solofo

    7 replies

    ST Employee
    October 29, 2021

    Dear FLeel.1

    Can you clarify if you are using the embedded SIM car inside the Module or a plastic SIM card? If you are using the embedded SIM card then did you activate the SIM trough Truphone Portal?

    If you have activated the SIM card successfully then we should ensure that the place you are locate is covered by Truphone Network. Can you tell me in which country the device is trying to connect?

    Based on the log I see that Modem does not find network. Please can you let the Modem scan the full bands on Cat M? Can you share more trace to understand more the issue?

    Thanks a lot

    Best Regards

    Solofo

    SPere.2Author
    Visitor II
    November 2, 2021

    Dear Solofo

    I am not using the embedded SIM card, I am using a plastic SIM card from a local operator, trying to connect from Portugal. However this card only supports NB-IoT and you refer CAT-M. Does the Modem support NB-IoT? I read it supports LTE Cat.M1/Cat NB1, but I want to be sure it supports NB-IoT.

    Some more of the trace is in the attached file.

    Thank you for your time.

    Best regards,

    Sara

    S.RAAnswer
    ST Employee
    November 3, 2021

    Dear Sara,

    Thanks for the log. In the trace I do see that the internal SIM card is still used since the SW did not detect any SIM card on the SIM slot. Did you insert the SIM card properly on the SIM slot?

    Yes the modem support NB-IoT. To enable it, you need to send an AT command at at%setacfg=radiom.config.preferred_rat_list,"NBIOT".

    You enter this command on the terminal at anytime.

    If you do not want to be disturbed by the trace, then i suggest you to configure the X-CUBE-CELLULAR to only run the modem as following:

    1/ enter on the terminal "cst target off" to power of the Modem

    2/enter "cst target modem" to Power on the Modem only. X-CUBE-CELLULAR boots the Modem and now ready to send any AT command to the Modem.

    3/enter "at at%getacfg=radiom.config.preferred_rat_list" to read the current RAT. It should return CatM

    4/enter "at at%setacfg=radiom.config.preferred_rat_list,"NBIOT" to select NBIoT. This configuration will be stored in the modem flash memory.

    Now you can reboot the device, the Modem will search only NBIoT

    I hope it helps

    Best Regards

    Solofo

    SPere.2Author
    Visitor II
    June 22, 2022

    Dear Solofo,

    If instead of configuring for NBIOT, I wanted to configure for LTE-M (cat M1), how would you write the command?

    Thank you :)

    Best Regards

    Sara

    Visitor II
    June 24, 2022

    "at at%setacfg=radiom.config.preferred_rat_list,"CATM"

    SPere.2Author
    Visitor II
    November 19, 2021

    Dear Solofo,

    Thank you very much for your help! I ony had the oportunity to answer you know. It worked.

    Best Regards

    Sara

    ST Employee
    November 19, 2021

    Dear Sara,

    I'm glad to know that it works.

    Thanks a lot for

    Best Regards

    Solofo

    ST Employee
    March 29, 2023

    Dear Andres,

    This products works only on LTE-M or NB-IoT network and does not support 2G. Were you able to connect to enable the Truphone SIM subscription to test the "default" binary that is programmed in the device?

    Thanks

    Best Regards

    Solofo

    Visitor II
    April 5, 2023

    Dear @S.RA,

    Thank you for answering, Yes I was able to connect the Truphone SIM and test the default binary.

    Now I am trying to do something like this https://community.st.com/s/question/0D53W00001UYHqwSAH/sending-http-post-message-to-server-with-bl462ecell1

    I've seen that inside STM32CubeExpansion_CELLULAR_V7.0.0\Middlewares\ST\netxduo\samples there is an demo_netxduo_https example, I'll try that but I still do not understand how the module is programmed in order to make changes in the code.

    Thanks

    Best Regards

    Andres