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

    What is SYS_INT? (I don't understand your schematics)

    General
    3
    6
    8.7k
    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
      somedude
      last edited by somedude

      I have an M5Stack with the watch bottom and I want to add an MPU9250 to it to detect wrist movement.
      (I also have an M5StickC which comes with an MPU6886 built in, but it's lacking other features I need...)

      To get maximum compatibility for existing libraries, I would like to wire my MPU9250 to my M5Stack the same way it's being done for the M5StickC with the MPU6886.

      So I looked at the schematics:
      0_1593364106607_9587562c-6c5d-482d-bf85-bc326e316c98-image.png

      I mean I can make a good guess about SYS_SCL, SYS_SDA, VESP_3V3 and GND.
      But what is SYS_INT? According to the schematics it's GPIO35 on the ESP32, but which pin is it on the MPU?

      My MPU9250 has the following pins: VIN, 3V3, GND, SCL, SDA, SDO/SAO, NCS, CSB:

      0_1593365380286_fa63b64a-044f-466a-ab03-ff007f154f74-image.png

      So my guess so far is that i should connect it like this:

      VIN -> not connected
      3V3 -> 3V3
      GND -> GND
      SCL -> SCL (GPIO22)
      SDA -> SDA (GPIO21)
      SDO/SAO -> not connected
      NCS -> not connected
      CSB -> not connected

      But according to the schematics I'm missing a pin (SYS_INT).

      Any help is appreciated.

      1 Reply Last reply Reply Quote 0
      • R
        robalstona
        last edited by

        this pin SYS_INT may be used to wake up a esp32 from deepsleep by interrupt signal on gpio35. if you don't need the processor wake up function after detecting movement / impact of the device then just don't connect this pin to your mpu. Treat it as a functionality that has probably not been used or documented by code so far (i mean this forum)

        1 Reply Last reply Reply Quote 0
        • S
          somedude
          last edited by

          That's actually very interesting. I was planning to use the wrist movement detection to turn on/off the screen. But putting the ESP into deep sleep instead sounds like a fantastic idea.

          But still, I know that SYS_INT is supposed to be GPIO35 on the ESP, but which pin of my MPU9250 am I supposed to connect to GPIO35?

          VIN, 3V3, GND, SCL, SDA, SDO/SAO, NCS or CSB?

          1 Reply Last reply Reply Quote 0
          • R
            robalstona
            last edited by robalstona

            @somedude i think is that answer you could find in the datasheet of your mpu chip. In this document you find if your chip can use interrupts and how values settings in which registers to work. And also pinouts with description.

            1 Reply Last reply Reply Quote 0
            • S
              somedude
              last edited by

              After taking a look at the specs of the specific board I have:

              0_1593376368878_216b00f3-5c51-4c29-8cdd-3bc97ff7aafe-image.png

              and at the specifications of the MPU9250 specifically:

              0_1593376474244_882722c0-f828-485f-a2d0-dcb16457a784-image.png

              I came to the conclusion that it must be the INT pin of the MPU9250 and that pin cannot be accessed through the pinout of the PCB. I would have to solder a wire directly to it. And then maybe I'd also have to use a resistor, capacitor or whatever..

              1 Reply Last reply Reply Quote 0
              • T
                Tristar
                last edited by

                @somedude

                Hey, did you have any success and got it to work?

                Would be awesome if you coulde provide an update.

                greetings

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