Problem sending PWM data via I2C to LED using Bridge Control Panel

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

I'm trying to do the PsOC 101 Lesson 10 where PWM data is sent to the LED from the bridge control panel via I2C . I'm doing exactly what is being done in the video, though when I type in the command "W 08 00 10" or any similar command, the echo in the control panel returns nacks for all of the values inputted. The scl and sda are assigned to pins 5[1] and 5[0], respectively. I'm fairly certain those are correct, because when I hit send, the green light on the board blinks. Attached is my project file. 

0 Likes
3 Replies
Anonymous
Not applicable

Try switching the I2C_Start(); and I2C_EzI2CSetBuffer1(1, 1, i2cbuf); commands, to prevent possible corruption of the I2C code due to a character being immediately received when setting the internal software buffer to receive to.

0 Likes
Anonymous
Not applicable

Mine is PSoC 4200M CY8C4247AZI-M485.

It didn't work well at lesson10.

I couldn't send data using the bridge control panel.

I had been changing various parameters.

It seems like pins assignments was wrong.

I tried many pins.

The answer is to use P4[0] and P4[1]. 🙂

good luck!

0 Likes
Anonymous
Not applicable

And I also read bellow.

"001-96598_CY8CKIT-044_PSOC_R_4_M-SERIES_PIONEER_KIT_GUIDE.pdf"

What kind of guide suit you? Why don't you look for it on the web?

It's very beneficial, I think.

Bye.

0 Likes