2024-09-30 07:39 PM
I am currently ordering the STM32C0116-DK to start developing some FW before getting the shipment. I've also sent the pinout to the EE team so they can start the schematic and laying out the PCB
I started the project using the Board Selector. I've set up the UART and I2C which the pinout is shown below. The I2C peripheral is using PA9 and PA10
However, when I set up a new project using the MCU selector, the I2C peripheral are on other pins. I am selecting the same MCU where it shows the STM32C0116-DK as the development board to use.
But when I set up the I2C peripheral, it uses PB7 and PC14
I thought I could maybe remap the pins but there is no option for I2C on PA12 pin as shown below.
So which pinout is correct? Or are they actually 2 different MCU's?
Solved! Go to Solution.
2024-09-30 07:53 PM
Same chip. In the SYS tab, remap the pins to PA9/PA10. After that, you can select the I2C1 functions for the pins.
2024-09-30 07:53 PM
Same chip. In the SYS tab, remap the pins to PA9/PA10. After that, you can select the I2C1 functions for the pins.
2024-09-30 08:36 PM
Ahh! That's the first time seeing swapping pins using check box. Or maybe I've just never noticed.
Thanks TDK!