🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    CoreS3 and unit CatM GNSS cannot cooperate

    SOFTWARE
    cores3 catmgnss
    2
    3
    1.2k
    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.
    • J
      jaro99
      last edited by

      hi Community,

      i'm pretty new to M5stack solutions and i'm enjoying variety of products which are great.

      However, I'm struggling to make CatM GNSS unit to cooperate with CoreS3

      it's exactly this unit https://docs.m5stack.com/en/unit/catm_gnss which is using port C of CoreS3, so I'm trying to use ports 17 and 18 as Rx and Tx in my code. When I run my code, I'm getting no connectivity or data flowing from CatM and GNSS unit. To omit issues with simcard, i firstly try to make GNSS working and despite red and blue leds are flashing, no data is being receiced.

      Is there anyone in our Community that would be so kind and share a working piece of code between CoreS3 and CatM GNSS unit?

      Maybe I'm not using correct libraries? I'm using those:

      https://github.com/m5stack/M5CoreS3/blob/main/src/M5CoreS3.h
      M5GFX.h
      https://github.com/m5stack/M5Unit-CatM/blob/60528f5b02106dd38aac3ddd2be61f8ac081cd31/src/M5Unit-CatM.h

      Please help in figuring out what am I missing?

      Regards and have a good time with M5Stack products!

      1 Reply Last reply Reply Quote 0
      • felmueF
        felmue
        last edited by felmue

        Hello @jaro99

        you might have RX and TX reversed. See pin map here. RX is 18 and TX is 17.

        CoreS3 TX ---> GPIO17 ---> RX Modem
        CoreS3 RX <--- GPIO18 <--- TX Modem

        Thanks
        Felix

        GPIO translation table M5Stack / M5Core2
        Information about various M5Stack products.
        Code examples

        1 Reply Last reply Reply Quote 0
        • J
          jaro99
          last edited by

          Felix @felmue OMG, this was so easy...many thanks, that was the reason why the unit wasn't reacting for any commands. Have a nice day

          1 Reply Last reply Reply Quote 0
          • First post
            Last post