2021-04-19 05:45 PM
Just received this and it doesn't connect. I contacted Truphone and they were not much help. They did mention to make sure the apn is iot.truphone.com.
I know almost nothing about this device and the instructions are sparse but I did find a menu item for Cellular Service. It did not have anything in the apn field. I set the menu as follows:
Sim Slot 0: 1 (MODEM EMBEDDED SIM)
APN: iot.truphone.com
CID: 1
username:
password:
modem target_state: 2
attachment timeout: 180000 ms
Network register mode: 0 = Auto
Operator name format: 9 = Not present
Operator name: 00101
Access techno present: Not present
Network register mode: 7 = CatM1
Low power inactivity timeout: 1000 ms
NFMC activation : 0
It still does not connect. Are these values ok?
Also it seems the my.murata.com website is not accepting new logins. So how can I get further information about this board?
2021-04-23 12:54 PM
I see, can you just read the current nwoper Just enter at at%nwoper?
2021-04-23 01:18 PM
2021-04-24 11:02 AM
2021-04-26 07:01 AM
Hi Clark,
I come back to this topic. Indeed, it looks that nwoper is correctly configured TRUPHONE. It is stored in the Modem Flash Memory so, you do not need to reconfigure it at each boot.
In fact, the cause of rejection is now different "MAX RETRY". We need to investigate the reason why about this. Truphone has coverage in the USA so it should work but we need more information to understand the root cause.
Can you please provide me a complete log from the terminal after the platform boot and record all logs?
1- Power On the device
2- when the setup menu appears, select 3: Modem power on (without application)
3-When the boot has booted, enter a "return" key
4-enter at at%nwoper?
5-enter reset command to reset the board or press the reset button (black).
6-The Modem should try to register to the network. Once you
Send to me the log for further analysis.
Thanks again
Best Regards
Solofo
2021-04-26 08:39 AM
2021-04-26 03:28 PM
2021-04-27 03:57 PM
2021-04-28 02:39 AM
Hi Clark,
That a very good news. Sorry, I did not have time to comeback to you yesterday. I did not find the log you have shared above. Can you please share?
I try to provide some explanation:
The first time the device is powered up, it will take time to scan the network because it scan by default all support bands (16). Then after the device find a network, it tries to register but this can be rejected by the Operator (for example ATT or other Verizon etc...) so the device trie to reconfigure its elf to find out the best IMSI that could be used, then try search the network and ...so on. All this are automatically controlled by the eSIM algorithm and assisted by Modem FW. So, in your case, the Modem FW was configured to use the "nwoper=default" it means that Modem FW algo for Truphone was not applied. So, that's why we need to set this flag. Once it is enabled, Modem is able to register to the network using the correct IMSI. Once the IMSI has been found then Modem will use this for next registration to the network and as you say, it can take very short time to attach based on the actual radio coverage.
But when you say, after 24 hours it cannot register even if it has succeded to swicth the IMSI on which you are able to attach previously. Can you please share the log to get more understanding? It is very weirdindeed.
I'm happy that it works now at your side.
I would really appreciate for any feedback to improve our solution.
i think that to develop an application, you need to learn about the BSD socket interface to send/receive data (TCP/UDP). We do support C code in our implementation. We prepare a very simple example shortly how to develop a very basic application with X-CUBE-CELLULAR. I will keep you informed about that.
Yes, there are few GPIO and UART used by STM32 to control the Modem. Then X-CUBE-CELLULAR generates all AT Commands that are needed over the UART. The data are encapsulated in the AT command. Why do you need to access to the AT command specification? Indeed, X-CUBE-CELLULAR goal is to hide the AT commands to the customer. Do you need some specific service that are not available from X-CUBE-CELLULAR?
Today we do not expose the AT command to run the Module as a simple Modem. Indeed, the MURATA Module Type 1SE is a complete solution that host an STM32, eSIM and Modem. So, you can develop your final product without needing to add other peripherals like external LDOs, routing the Antenna, SIM socket.. You just need to solder the Module on your PCB and plug an Antenna over the µFL connector.
If you want a separate solution STM32 + Modem + SIM then regular Modem can be used. For example you can use the Type 1SC modem that is the same Modem that is integrated in the Murata Module. As you can see in the X-CUBE-CELLULAR page, we do support many HW setup based on STM32 host board + external Modem STMOD+.
Let me know your thinking and appreciate for any feedback to improve our offer
Best Regards
Solofo
2021-04-28 07:54 AM
Solofo
Thank you for your helpful reply.
It looks like email attachments get rejected. Below I have attached the modem log that got snipped when I sent it earlier vi email. I am using the st community forum this time. Let me know if you don't get it.
I am very eager to see the simple example when you get it ready. Any further instruction on how to use X-CUBE-CELLULAR would be very helpful. I have printed the complete user manual and will soon begin a detailed study of it, especially the flow charts for Networking and the CELLULAR API. I will also spend a lot more time studying the sample applications.
I need to use either CoAP or MQTT, preferably CoAP, but I will probably test both of them. I would appreciate any thoughts / examples on how to use these protocols. Do you have any thoughts about the pros and cons of these protocols?. Or regarding the ease of implementing either of them?
I am using the STM32L476RG on my current project. The STM32L462xx that is being used on this device may be adequate for me but it certainly has a lot fewer ADC peripherals. That may be a problem for me. Not sure yet.
Thank you for your help so far. It is much appreciated.
Clark
2021-04-29 02:13 AM
Hi Clark,
There is a webinar that presents the solution here https://www.globalspec.com/events/eventDetails?eventId=3396
It provides main features of the solution
Best Regards
Solofo