Hello
Hope you are well. I will gladly help you with this.
Could you attach your oscilloscope captures? It could give us a good insight into what is happening.
Additionally, I suggest you check the pin configuration, specifically the functionality you are configuring the I2C. You can change this in the pin_mux.c file
Let me know if this is helpful, if you have more questions do not hesitate to ask me.
Best regards,
Omar