cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 4 MCU

New Contributor

Hi, I cannot enable internal pull-ups on I2C pins in the above mentioned device. The same code works just fine in CYBLE-022001-00, which is also PSoC 4 based, you know.

   

    I2C_Start();
    I2C_scl_SetDriveMode(I2C_scl_DM_RES_UP);        // use internal pull-up I2C resistors
    I2C_sda_SetDriveMode(I2C_sda_DM_RES_UP);

   

Question is, hence, how to do the same in 4100 series? The closest topic I found is this:

   

http://www.cypress.com/forum/psoc-4-architecture/scb-i2c-pull-enable-lvttl

   

However, a similar problem is not solved there.

   

Also, are there any Hardware Errata-sheet documents?

0 Likes
Reply
2 Replies
Anonymous
Not applicable

This is a known problem. The datasheet should be updated with this errata in Creator 3.3 SP2.

   

The reason for this is, "For PSoC 4100 / PSoC 4200 devices I2C pins output enable is assigned to 0 to make High-Z state when I2C device does not drive the bus. This behavior suppresses usage of internal pull-ups ".

   

 

   

-Keerthi

0 Likes
Reply
New Contributor

Thanks a lot for your reply. I tried to do it by various ways without a success, so now I know that I should cancel further attempts to achieve the feature.

0 Likes
Reply