Hi all and Sorry about the ignition (i've been sick 8 days:sad
The problem was with the GPIO driver i had in my board.
it doesn't recommended for I2C lines(
https://www.nxp.com/docs/en/data-sheet/NTB0104.pdf page 19)
I've changed my system and try to delay only the SDA.
I've work with I2C master aadvark total phase (
https://www.totalphase.com/products/aardvark-i2cspi/).
I need to write a code that delay the SDA signal for 1us.
I have the CPLD board and the slave at the end of the system (addr 5F)
I've tried to write the code but I still have some issues:???:
When i write to the slave, how i recognize the SDA push to zero and also how I delay the data for 1us?
- the SDA_in need to be with pull-up so when the master pull to zero (writing) i can recognize the change if i will compare it to my system CLK?
will it work?
- And then delay it for 1us and send it to the slave:
SDA_OUT <= SDA_IN;
One more thing, the two lines must to be INOUT mode and tri states signals.
problema!
Can any one help me with this pls:roll: