cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 4

Anonymous
Not applicable

Hello,

I have some troubles with controlling the RGB Led on the PSoC board with I2C.

I downloaded this example code from the Cypress site. (see attachment)

When I run the code it always turns on the red LED (means the transfer status failed). When using debug mode I can't figure out what is wrong with the example code.

Anyone know why?

Thanks for reading,

Sebastiaan

0 Likes
1 Solution
RyanZhao
Moderator
Moderator

Hi Sebastiaan,

You need an I2C slave.

Please follow setup details in the CE95363.pdf. The second kit is required to implement the I2C slave device to communicate with the master.

You need another kit and the kit burned with SCB_I2cCommSlave code example.

Thanks,

Ryan

View solution in original post

0 Likes
1 Reply
RyanZhao
Moderator
Moderator

Hi Sebastiaan,

You need an I2C slave.

Please follow setup details in the CE95363.pdf. The second kit is required to implement the I2C slave device to communicate with the master.

You need another kit and the kit burned with SCB_I2cCommSlave code example.

Thanks,

Ryan

View solution in original post

0 Likes