Welcome to the Pycom forum Forum
    • \[\[global:header.categories\]\]
    • \[\[global:header.recent\]\]
    • \[\[global:header.tags\]\]
    • \[\[global:header.popular\]\]
    • Login

    Explore Pybytes | Official Documentation | Report a Firmware Bug/Issue | GitHub

    Gpy readiness

    Scheduled Pinned Locked Moved GPy
    gpyfipypycom
    28 Posts 7 Posters 10.1k Views 8 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S Offline
      Sam
      last edited by

      please share your experience with the device (fipy or gpy)... keen to see if anyone has made better progress other than flashing firmware

      J 1 Reply Last reply Reply Quote 0
      • J Offline
        jmarcelino @Sam
        last edited by

        @sam
        Which network is this please?

        We are improving the LTE stack but the reality is we don’t have network certification yet so many networks will not let you connect. Other devices probably have this certification already.

        We hope to have news on certification and also an update to the LTE stack this coming week.

        S 1 Reply Last reply Reply Quote 0
        • S Offline
          Sam @jmarcelino
          last edited by

          @jmarcelino we are testing this on our own lab network. im afraid issues are not related to network certification.

          J 1 Reply Last reply Reply Quote 0
          • J Offline
            jmarcelino @Sam
            last edited by

            Thanks @sam,

            The current modem firmware supports bands 3, 4, 12, 13, 20, 28 but in test environments it's possible the module doesn't auto-scan all those frequencies (we're really aiming for Verizon band 13 because that's what's under certification) You probably need other settings as well. In your test environment are you able to observe traffic from the modem (PRACH for example?)

            There is a manual command to force a frequency which will be available when we support arbitrary AT commands in a upcoming release very soon along with other improvements.

            S 1 Reply Last reply Reply Quote 0
            • R Offline
              Redferne
              last edited by

              @jmarcelino

              I have just built the GPy firmware from the github repo pycom-micropython-sigfox. Added some AT commands to see why our GPy refuses to attach to our internal M1/NB network on band 3, but a network scan using AT+COPS=? comes up empty. Could you please share any Sequans AT commands to help out?

              J 1 Reply Last reply Reply Quote 0
              • J Offline
                jmarcelino @Redferne
                last edited by

                @redferne
                AT!="addscanfreq band=3 dl-earfcn=1575"

                should force the modem to scan band 3.

                (you can find this command in the source already as cmd_Freq, just need to change the parameters and add it to the init sequence GSM_Init[])

                Note this is a debug command should not be used in public networks.

                R 1 Reply Last reply Reply Quote 0
                • S Offline
                  Sam @jmarcelino
                  last edited by

                  @jmarcelino
                  no traffic observed on random access channels. maybe its not even locking onto the frequency.
                  any reason why it doesnt support all the bands pycom said they would as part of Gpy? (ie: B8)

                  how do we get to AT prompt on the Gpy/Fipy so we can run the band lock AT command?

                  J 1 Reply Last reply Reply Quote 0
                  • J Offline
                    jmarcelino @Sam
                    last edited by jmarcelino

                    @sam
                    Sequans has not enabled all the bands in the LTE modem firmware, these will come later (I don't have a date yet)

                    We are working on arbitrary AT commands from MicroPython. Currently you can add them at the C level / custom firmware as a I suggested in my previous answer. Another way to access the modem (only on the FiPy) is through the LTE_RX, TX, CTS, RTS pins (3.3V levels). You can hold the ESP32 in reset while doing so. Serial rate is 921600bps 8N1 CTS/RTS flow control

                    E B 2 Replies Last reply Reply Quote 0
                    • R Offline
                      Redferne @jmarcelino
                      last edited by

                      @jmarcelino

                      I confirmed with our internal network support that the LTE M.1 is on Band 3 and EARFCN 1925. Tried shooting the "addscanfreq..." command and it is accepted but no dice. Modem refuses to register and a AT+COPS=? comes up empty.

                      AT COMMAND: [AT!="addscanfreq band=3 dl-earfcn=1925"..]AT RESPONSE: [....OK..]
                      AT COMMAND: [AT+CPIN?..]AT RESPONSE: [..+CPIN: READY....OK..]
                      AT COMMAND: [AT+CFUN=1.]AT RESPONSE: [..OK..]
                      AT COMMAND: [AT+COPS=?..]AT RESPONSE: [..+COPS: ,,(0,1,2,3,4),(0,1,2)....OK..]
                      AT COMMAND: [AT+CEREG?..]AT BAD RESPONSE: [..+CEREG: 2,4....OK..]
                      C, restarting...
                      AT COMMAND: [AT+CEREG?..]AT BAD RESPONSE: [..+CEREG: 2,4....OK..]
                      C, restarting...
                      AT COMMAND: [AT+CEREG?..]AT BAD RESPONSE: [..+CEREG: 2,4....OK..]
                      C, restarting...
                      AT COMMAND: [AT+CEREG?..]AT BAD RESPONSE: [..+CEREG: 2,4....OK..]
                      C, restarting...
                      AT COMMAND: [AT+CEREG?..]AT BAD RESPONSE: [..+CEREG: 2,4....OK..]
                      ...
                      
                      J 1 Reply Last reply Reply Quote 0
                      • J Offline
                        jmarcelino @Redferne
                        last edited by

                        @redferne

                        Thanks so much for your tests, that looks quite conclusive.
                        I'll relay it to Sequans for their advice.

                        S K 3 Replies Last reply Reply Quote 0
                        • S Offline
                          Sam @jmarcelino
                          last edited by

                          @jmarcelino
                          has these devices been ever tested? looks like we are the guinea pigs testing these for first time on certain bands :(
                          we find it hard to believe if these were lab tested with correct bands they fail so miserably on live networks.

                          1 Reply Last reply Reply Quote 0
                          • K Offline
                            kevin @jmarcelino
                            last edited by

                            @jmarcelino
                            We are also testing modules against our own lab network (NB-IoT in this case) and have had success interoperating with a number of other manufacturers by using their AT command interfaces directly.
                            We now have the Gpy, but no real way to test it. A basic AT command interface (e.g., via MicroPython as mentioned in another post) would be very useful - when do you expect to have this available? Can you point us to the full AT command reference from Sequans?
                            Also, we require B8 operation. I did not see this in your list of currently supported bands; what is the reason for this restriction? When will it be supported?

                            1 Reply Last reply Reply Quote 0
                            • E Offline
                              Electrozest @jmarcelino
                              last edited by Electrozest

                              @jmarcelino
                              On the GPy which ESP32 GPIO pins are used for the LTE modem? The LTE_Tx pin is not shown the pinout.
                              Also should all NBIoT functionality be available from the AT command interface once the LTE modem has new firmware?
                              Thanks.

                              J 1 Reply Last reply Reply Quote 0
                              • J Offline
                                jmarcelino @Electrozest
                                last edited by

                                Hi @electrozest
                                You can find GPIO numbers as described in the GPy board configuration:

                                https://github.com/pycom/pycom-micropython-sigfox/blob/master/esp32/boards/GPY/mpconfigboard.h

                                #define CONFIG_GSM_TX 5
                                #define CONFIG_GSM_RX 23
                                #define CONFIG_GSM_CTS 18
                                #define CONFIG_GSM_RTS 19

                                This is relative to the ESP32, so TX is TX from the ESP32 or RX from the modem side, same applies to RX, CTS and RTS.

                                1 Reply Last reply Reply Quote 0
                                • K Offline
                                  kevin @jmarcelino
                                  last edited by

                                  @jmarcelino
                                  Can you also relay this result to Sequans? We ran a similar test with modified Gpy FW on our Band 8 NB1 lab network. Note the response to "AT+COPS=?" appears to show support only for AT&T, and the CEREG result code is 0 (meaning it is not searching for an operator - maybe due to lack of B8 support?).

                                  0_1517002901517_Gpy_AT_output.png

                                  J 1 Reply Last reply Reply Quote 0
                                  • J Offline
                                    jmarcelino @kevin
                                    last edited by

                                    @kevin
                                    That's to be expected, you'll need a completely different LTE modem firmware for NB-IoT as well as band 8 support.

                                    K 1 Reply Last reply Reply Quote 0
                                    • K Offline
                                      kevin @jmarcelino
                                      last edited by

                                      @jmarcelino
                                      Thanks. When should we expect that to be available?

                                      J 1 Reply Last reply Reply Quote 0
                                      • J Offline
                                        jmarcelino @kevin
                                        last edited by

                                        @kevin
                                        NB-IoT will be later next month. We're trying to have a test firmware to support all 12 bands as well, but due to lack of certification and calibration procedures that will be for testing only.

                                        1 Reply Last reply Reply Quote 0
                                        • B Offline
                                          brotherdust @jmarcelino
                                          last edited by brotherdust

                                          @jmarcelino I tried your method using my expansion board. I know CTS/RTS is working because it's handshaking correctly. When I take my FiPy off of reset, I can see the AT commands coming from the ESP32. However, it's not responding to anything I type into the terminal. Any thoughts on what could be happening here? Thanks!!

                                          0_1517378778357_2018-01-30_23-02-50.png

                                          0_1517378822706_2018-01-30_23-04-06.png

                                          J 1 Reply Last reply Reply Quote 0
                                          • J Offline
                                            jmarcelino @brotherdust
                                            last edited by jmarcelino

                                            Hi @brotherdust

                                            I think your TX and RX are swapped if you want to communicate with the modem.

                                            Also explains why you see the ESP32 - in this case you want to emulate it so you should not see it.

                                            Please try swapping th RX/TX and keep the ESP32 in reset.

                                            B 1 Reply Last reply Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • First post
                                              Last post

                                            Pycom on Twitter

                                            Pycom