CYBLE-022001-00 I2C clock delay

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

We have a component on the I2C bus which requires about 60us delay from SCL and SDA line pull down until clock and data begin to send.  How is this possible to configure?

0 Likes
1 Solution
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Program the ss-line yourself. Before each transaction pull your ss-line low and manage your delay using CyDelay(). When transaction is finished (there is an API to check with) release (set to high) the ss-line again.

   

 

   

Bob

View solution in original post

0 Likes
5 Replies
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Program the ss-line yourself. Before each transaction pull your ss-line low and manage your delay using CyDelay(). When transaction is finished (there is an API to check with) release (set to high) the ss-line again.

   

 

   

Bob

0 Likes
Anonymous
Not applicable

Which API?

0 Likes
Anonymous
Not applicable

What command pulls the ss-line high or low?

0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Because it is your ss-line a simple pin_write(0) will pull the signal low.

   

For the API, search in I2C datasheet for the status. Since there are more than one different I2C implementations I cannot tell which.

   

 

   

Bob

0 Likes
Anonymous
Not applicable

Still a bit unclear as to how to toggle ss-line?

0 Likes