Hello @Chandan

to wake ESP32 from deep sleep when movement is detected by MPU6886 requires a connection between MPU6886 interrupt line output to any of the ESP32 GPIOs. Unfortunately this connection is missing in M5AtomMatrix according to the schematic.

The only two M5Stack devices I know of with a built-in MPU6886 which also have the MPU6886 interrupt line connected to GPIO35 by default are M5StickC and M5StickCPlus. For reference: WakeOnMotion (WOM) example for M5StickC.

Thanks
Felix