2021-09-10 12:43 PM
Hi ST community,
I'm working with NUCLEO L432KC and in my application I need to use I2C1 port. Using STM32CubeMX to generate the project, I could see that when I enable the I2C1 port, Automatically the CubeMX allocate the PA9 and P10 pins. For my application this is a good choice. Then, for the aim of my application, I would like to use the PB6 and PB7 pins like GPIO Output pins. But I could see that when I choice this two pins, my application does not work, while if I use other pins like GPIO Output pins the application works correctly. For this reason, I would like to know if this problem is related to the fact that the I2C1 port can be available also through the PB6 and PB7, or if the problem is caused by other reason.
From the UM1956 Rev 5 I note these two advise:
In my NUCLEO both the solder bridge are present. I do not understand the meaning of the advises. They mean that If the solder bridges are present then I cannot use Arduino Nano D5 and Arduino Nano D6? Moreover, Can not I use PA5 and PA6 pins like GPIO Output pins? Actually I'm using PA5 and PA6 ad GPIO Output pins and the application seems to work correctly, maybe it is the reason why I cannot use PB5 and PB6? Maybe if I remove PA5 and PA6 from my applicatio I can use PB6 and PB7 pins like GPIO Output pins?
I hope that my doubt is clear for you, thanks in advance for your support!
Vincenzo
Solved! Go to Solution.
2021-09-10 02:16 PM
Almost certainly suggests that the solder bridge creates a short on the board between some GPIO in order to escape I2C functionality at two points, to hit some Arduino driven standard/expectation.
REMOVE THE SB16 / SB18, TAKE PB6/PB7 from the DIGITAL PIN SIDE (D4, D5)
Review the schematic
2021-09-10 02:16 PM
Almost certainly suggests that the solder bridge creates a short on the board between some GPIO in order to escape I2C functionality at two points, to hit some Arduino driven standard/expectation.
REMOVE THE SB16 / SB18, TAKE PB6/PB7 from the DIGITAL PIN SIDE (D4, D5)
Review the schematic