We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi all,
I start a design on STR912FAW44 and I'm using CAPS software (ST) 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 :
#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 ? One pin as input and other 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
In that case, shouldn't you be asking ST about their software...?
Yes, one week ago, but not yet answer. I think maybe someone from here know this problem ??