How to redefine I2C pins on registers programming level?

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

cross mob
LeKu_697901
Level 2
Level 2

I'm working with PSOC 3 device through SWD interface using third side hardware.

So I have access to PSOC registers and can use WRITE_REGISTER(<ADDR>,<DATA>) and READ_REGISTER (<ADDR>) commands.

The task is to define I2C pins pair different from default.

How can I do it?

0 Likes
1 Solution
Rakshith
Moderator
Moderator
Moderator
250 likes received 1000 replies posted 750 replies posted

Hi LeKu_697901,

I am sorry for the delay in my response. Unfortunately, there is no direct way to get the registers that need to be configured. One thing that can be done is to create a PSoC Creator project for the same functionality and backtrack the registers using the source code that is generated. Would it be okay to use the PSoC Creator project directly to test the I2C functionality?

Thanks and Regards,

Rakshith M B

Thanks and Regards,
Rakshith M B

View solution in original post

0 Likes
6 Replies