4 years, 9 months ago.

Does anyone have an example of using the second I2C port on the MAX32625PICO board?

The MAX32625PICO board User's Guide indicates that the MCU contains 2 I2C Master ports. Does anyone have an example of how to use it? Which pins are used for SCL and SDA?

Question relating to:

Maxim's microcontrollers provide low-power, efficient, and secure solutions for challenging embedded applications.

1 Answer

4 years, 9 months ago.

Hi Bill,

You can find pin map here: mbed-os/targets/TARGET_Maxim/TARGET_MAX32625/TARGET_MAX32625PICO/pinname.h, in case of MAX32625PICO board, there was pin assign as shown below. I2C1_SCL = P3_5, I2C1_SDA = P3_4,

Simply change I2C0 to I2C1, you can use I2C1 port. If you need I2C example, please see https://os.mbed.com/docs/mbed-os/v5.13/apis/i2c.html

Daniel,