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

PSoC™ 4

Yves
Level 2
10 replies posted 5 replies posted 5 sign-ins
Level 2

Hi all,

after setting up a simple I2C slave device with address 0x3b, I have trouble on the I2C communication: the 9th clock edge, which is the ACK clock edge for the address byte, seems to be missing. I am using the CY8CKIT-148 with I2C on P1_0 & P1_1.

Creating the same simple code with a 4245 I don't see this problem, but the SCB block is managed differently for 42xx & 47xx. (just installed the SCB, configured I2C slave @ 100kbps and wrote the code from the datasheet example)

Here's a scope capture with 4745:

Yves_0-1642689123599.jpeg

Ever seen this before? Any help would be welcome 🙂

Kind regards

0 Likes
1 Solution
Yves
Level 2
10 replies posted 5 replies posted 5 sign-ins
Level 2

Hi Alen,

sorry, I have changed the code to use the EZI2C instead so I can't make more scope captures of this issue.

The good news however is that it works fine with EZI2C 🙂

This solution wouldn't be adapted to all cases but it works with my design

Kind regards

View solution in original post

0 Likes
3 Replies
AlenAn14
Moderator
Moderator 100 solutions authored 250 replies posted 250 sign-ins
Moderator

Hi @Yves ,

Can you please give us more details on the oscilloscope image that you shared above, like a more extended image of the same showing the data appearing after the image shared above?

Is it also possible for you to share any logs related to this that is generated by the scope we can open and analyze on our side?

Regards
Alen

0 Likes
Yves
Level 2
10 replies posted 5 replies posted 5 sign-ins
Level 2

Hi Alen,

sorry, I have changed the code to use the EZI2C instead so I can't make more scope captures of this issue.

The good news however is that it works fine with EZI2C 🙂

This solution wouldn't be adapted to all cases but it works with my design

Kind regards

0 Likes
AlenAn14
Moderator
Moderator 100 solutions authored 250 replies posted 250 sign-ins
Moderator

Ok, @Yves,

We will check internally on this issue on our side as well.
Thank you for pointing this out.

Warm Regards
Alen

 

0 Likes