- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all,
I wanted to learn more about EZI2C and it seems that CE95314 would help me, but even after pin mapping and shorting the pins, I still can't get it working on my PSoC-4200-BLE.
The code can be downloaded here.
This is what I did to modify the code:
- Changed the board to CY8C4247LQI-BL483
- PIN MAPPING:
- EZI2C SCL: P3_5
- EZI2C SDA: P3_4
- I2CM SCL: P1_5
- I2CM SDA: P1_4
- BluLED: P3_7
- GrnLED: P3_6
- RedLED: P2_6
- SW: P2_7
Then the clock was too low (it'll say an error when you try to compile), so I changed 50 Hz to 800 Hz.
I successfully build it and programmed it, and connect the wires from P3_5 to P1_5 and P3_4 to P1_4, reset the board. LED shows white. No fast RGB blinking as it mentioned in the PDF file. I keep pressing SW but nothing happens.
What did I miss?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I2C needs pull up resistors which you did not provide for your pins.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I2C needs pull up resistors which you did not provide for your pins.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Mhm. The document says that it has it built-in, but apparently not for PSoC 4 BLE. Used a pull up resistor as you suggested and it works. Appreciated it Bob!
However, to learn about EZI2C, I'd recommend to go with this code example instead: CE95362 - Cypress EzI2C communication using a Serial Communication Block (SCB) with PSoC 4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Fine that you have got it working!
Bob