Guest
Hi all,
I am implementing a I2C slave. I am refering XAPP333 for my deisgn.
But one of the "limitation" of that reference design from XILINX is
that it does not support "clock stretching".
Suppose we do not need clock stretching "SCL" will be taken as INPUT to
my I2C slave block.But if i want Clock stretching the slave also will
be driving the SCL low when required to keep the master on hold.In this
case SCL will be an INOUT for my module.
My question is how to go about this implementation(tristate buffers on
SCL!!!).
Waht i am planning to do is, i will pull the SCL line low whenever i
want to stop the clock transition on SCL from master else i will drive
a "Z" on SCL.
please comment on this implementation.
Regards,
Praveen
I am implementing a I2C slave. I am refering XAPP333 for my deisgn.
But one of the "limitation" of that reference design from XILINX is
that it does not support "clock stretching".
Suppose we do not need clock stretching "SCL" will be taken as INPUT to
my I2C slave block.But if i want Clock stretching the slave also will
be driving the SCL low when required to keep the master on hold.In this
case SCL will be an INOUT for my module.
My question is how to go about this implementation(tristate buffers on
SCL!!!).
Waht i am planning to do is, i will pull the SCL line low whenever i
want to stop the clock transition on SCL from master else i will drive
a "Z" on SCL.
please comment on this implementation.
Regards,
Praveen