Hi Bogdan Nica,
1. check the MMA8451Q schematic:

Of course you can connect SA0 =0.
Just the slave address is different:

About the code, if you can connect the PTE24 and PTE25, then you can test it with the SDK code directly, without modification, just test whether your hardware have problems or not.
But if you can't modify your hardware, then you need to modify the code pin to PTE0 and PTE1, the I2C interface you need to modify it to I2C1.
If you still have problems, you can check the I2C bus, whether it has wave or not? If the SCK and SDA pin even don't have the wave, it means your code still have problems.
Please try it on your side at first.
If you still have question about it, please kindly let me know.
Have a great day,
Kerry
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------