issues with controlling RGB Led using I2C

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

cross mob
lock attach
Attachments are accessible only for community members.
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
Moderator
250 sign-ins First question asked 750 replies posted

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
Moderator
250 sign-ins First question asked 750 replies posted

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

0 Likes