Help with I2C port change on FRDM-KE02Z

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Help with I2C port change on FRDM-KE02Z

Jump to solution
494 Views
shuichiy
Contributor III

Let me add a question for I2C on FRDM-KE02Z.

On my FRDM-KE02Z, the oscillator has already removed (for internal clock, #define USE_FEE commented out in ke02_config.h) and an external I2C master connected instead.

Now I'm configuring I2C from PTA3/PTA2 to PTB7/PTB6.

On I2C Slave Demo sample,  following code is added in sysinit.c to change the pin.

sSIMConfig.u32PinSel |= SIM_PINSEL_IICPS_MASK;

Do I need other changes  on the software?

0 Kudos
1 Solution
325 Views
shuichiy
Contributor III

I have resolved the problem.

The error is not in the code but on the board.

View solution in original post

0 Kudos
1 Reply
326 Views
shuichiy
Contributor III

I have resolved the problem.

The error is not in the code but on the board.

0 Kudos