I am working with M24Sr02 NFC module and interfacing it to STM32R0F8 controller in my project. The code has been generated using CubeMX. The data send and receive functions used show SUCCESS but the data i receive back is not exactly equal to the one sent. Functions used are "M24SR_SendI2Ccommand" and " M24SR_ReceiveI2Cresponse".
Can anyone tell me where do we write the byte address where the sent data has to be written?
The SendI2C command calls another function " HAL_I2C_Master_Transmit(&hi2c1,I2C_WRITE, (uint8_t*)pBuffer,NbByte,1) " . Where is the byte address specified over here ???