Hello Vitor,
It doesn't matter , i can help you step by step.
- After you configure the I2C_LDD component , if you select the "Auto initialization" option,
after generate code , you do not write slave address on the main function, all of the configure aobut
the I2C_LDD all initialized .If you uncheck this one , you can use the function
MyI2CPtr = I2C2_Init(NULL); to initialize .
- About the usage of these functions ,there is demo , i strongly recommend you refer to them:


Hope it can helps , if still have question ,you can contact me without any hesitate.
Have a great day,
Alice
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------