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

cross mob
zvivered
Level 2
Level 2
10 replies posted 5 questions asked 10 sign-ins

Hello,

I added an I2C slave component and created the API using  PSOC creator 4.0

It seems that the API has no read\write routines. 

Am I right ?

In order to read a message coming from external I2C master I first have to poll "incoming message" and then read it. 

Can you please provide a sample code for I2C slave ?

Thank you in advance,

Zvika 

0 Likes
1 Solution
BiBi_1928986
Level 7
Level 7
First comment on blog 500 replies posted 250 replies posted

Hello.

You can find I2C Slave example project in Examples folder of Creator.  Simply open Creator and select Example Projects...

For more detail of using I2C slave with interrupts, see this thread.
Solved: I2C Slave Receive Interrupt... - Infineon Developer Community

Good luck with your project.

View solution in original post

0 Likes
1 Reply
BiBi_1928986
Level 7
Level 7
First comment on blog 500 replies posted 250 replies posted

Hello.

You can find I2C Slave example project in Examples folder of Creator.  Simply open Creator and select Example Projects...

For more detail of using I2C slave with interrupts, see this thread.
Solved: I2C Slave Receive Interrupt... - Infineon Developer Community

Good luck with your project.

0 Likes