Associate
December 25, 2022
Question
Nucleo-G474RE I2C Debug Problems
- December 25, 2022
- 6 replies
- 3921 views
Hello everyone, I am trying to make an I2C communication with the Nucleo G474RE, however I am having problems at the time of Debugging. This is causing that the SCL stops working on my board.
I use the I2C1 Pin 14 (PA14) and Pin 13 (PA13) in the initial configurations.
Then I try to check if the GPIO of Pins 14 and 15 performs any reaction through the HAL_GPIO Toggle_Pin() function, and I come to the conclusion that the SCL pin (Pin 14 /PA14) no longer reacts.
I understand that at the moment of doing the Debug these pins correspond to SYS_JTMS-SWDIO (PA13) and SYS_JTCK-SWCLK (PA14) so there is a conflict there.
How can I solve this problem? that would be the first question, the second one would be if my board is not working properly?
Thanks
