Hi everyone. I'm working on a project to establish an I2C communication between STM32F030a and ATECC508a. I'm using the dev kit Cryptoauth Xplained Pro B. My problem is trying to wake up ATECC508a. The datasheet says that the SDA pin has to be held low for a period greater than twlo or a data byte 0x00 be transmitted at a lower clock rate.
I'm using the below HAL library function
HAL_I2C_Master_Transmit(&hi2c1, 0xC0<<1, 0x00, 1, 1000);
My clock rate is 100kHz and i tried 80 and 90 as well. But the device doesn't seem to wake up from the sleep mode and it always returns HAL_ERROR. Upon checking, I found that I'm always getting a NACK in every attempt.
Can anyone help me in resolving this or am I doing it wrong. I'm fairly new so kindly help me.
Thanks!