Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
5 years, 10 months ago.
MAX32625MBED Development Board I2C
Hello,
I'm developing a system using the MAX32625MBED board. I would like to use the MAX32625 as an I2C Slave (I2CS) only and set it to a specific address. However, looking at the MAX32625MBED Development Board datasheet, it only has pinouts for two I2C Master (I2CM) modules.
I've tried to compile a program using the ARM Online Compiler, and it would not recognize the "I2CSlave" command, even though "mbed.h" and "I2CSlave.h" is included. However, if I select another development board with the MAX32625, it will recognize and compile.
I read on the MAX32625/MAX32626 User Guide that the I2CM modules can be switched to the I2CS. This can be done from what it looks like through various manipulations of the I/O registers.
I have two questions:
1) Is there an easier way to switch the I2CM pins to become I2CS (other than register manipulation)?
2) Even if I manage to switch to I2C Slave mode, will I be able to compile a program using the mbed compiler with the MAX32625MBED board selected?
Thank you very much for all your help in advance.
Regards,
-Steve