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 @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
                                • B Offline
                                  brotherdust @jmarcelino
                                  last edited by

                                  @jmarcelino
                                  /me face-palms
                                  There. are. no. words.

                                  Thank you.

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

                                    Is there anyway to get to the LTE TX & RTS pin on the GPy?
                                    Are they available on the pads on bottom side of the PCB?
                                    I'm really tired of recompiling each time I think I have some magic AT command to get the Sequans modem to play ball...

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

                                      @redferne Aren't the pins documented? Looks like it to me. If I had a GPy, I would use my expansion board similar to how I did it with the FiPy; just with different pin locations. =)

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

                                        @brotherdust said in Gpy readiness:

                                        @redferne Aren't the pins documented? Looks like it to me. If I had a GPy, I would use my expansion board similar to how I did it with the FiPy; just with different pin locations. =)

                                        Ah, I see now what you are saying. That's a bummer they didn't break it out on any pins. Looks like you'll have to play whack-a-mole for a bit to find those pads!

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

                                          Yeah. On the GPy there's a bunch of pogo pads underneath. I might just start testing them one by one... ;-]

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

                                            Sorry to say but those UART pins are not mapped onto test points or external pins on the GPy. They only connect to the ESP32.

                                            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