Using CE95314 (about EZI2C) as an example, I'm unable to use it on PSoC-4200-BLE

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

cross mob
Anonymous
Not applicable

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?

0 Likes
1 Solution
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

I2C needs pull up resistors which you did not provide for your  pins.

   

 

   

Bob

View solution in original post

0 Likes
3 Replies