cancel
Showing results for 
Search instead for 
Did you mean: 

I2C on CAPS

jm
Associate II
Posted on February 07, 2008 at 10:43

I2C on CAPS

1 REPLY 1
jm
Associate II
Posted on May 17, 2011 at 09:49

Hi all,

I start a design on STR912FAW44 and I'm using CAPS software to assign pins. But I've a problem to declare I2C0 as master. I2C0 on P2.0 and P2.1.

I check registers values generated in conf.h file :

:o

#define GPIOIN2 0x1

#define GPIOOUT2 0x8

#define GPIO_DIR2 0x0

I don't understand why P2.0 is set as I2C0_CLKIN and P2.1 as I2C0_DOUT ? And why GPIOIN register set only P2.1 as output :-[

How can I declare I2C0 master mode with the 2 pins as ouput (2C0_CLKOUT and I2C0_DOUT) in CAPS ?

Thanks in advance

[ This message was edited by: jim06 on 07-02-2008 15:16 ]