PSOC1 use of I2Cm

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

cross mob
rgpace
Level 1
Level 1
5 replies posted First reply posted First question asked

I am using the PSOC1 I2Cm (software) user module. This I2Cm is placed on P[1,2] SDA and P[1,6] SCL. This works fine after initiating an "I2Cm_Start();" instruction, but once I touch any other pin on Port 1 (like setting an LED ON/OFF) the I2Cm stops working. I would need to restart the I2Cm module. This is not desirable, so what is happening here and is there a work around?

0 Likes
1 Solution
SampathS_11
Moderator
Moderator
Moderator
250 sign-ins 250 solutions authored 5 questions asked

Hi @rgpace ,

You will need to use shadow registers. You can find a detailed treatment of the same in our Application Note AN2094 - PSoC® 1 - Getting Started with GPIO, on page 14.

Best regards,

Sampath Selvaraj

View solution in original post

0 Likes
1 Reply
SampathS_11
Moderator
Moderator
Moderator
250 sign-ins 250 solutions authored 5 questions asked

Hi @rgpace ,

You will need to use shadow registers. You can find a detailed treatment of the same in our Application Note AN2094 - PSoC® 1 - Getting Started with GPIO, on page 14.

Best regards,

Sampath Selvaraj

0 Likes