2020-05-22 07:13 AM
I am using an NUCLEO-F429Zi to read a MPU over I2C ( 2C1, PB8, PB9). The applications works correct. The sensor returns the correct values. When the ST-Link is removed (cut away) from the board, the power supply Vin , the I2C connectivity fails. It is still possible to program the board and to set and toggle the I2C pins (PB(, PB9).
2020-05-22 08:03 AM
If you are using external clock as a clock source, as I know there is no crystal in nucleo boards and external clock comes from st-link. So if you cut the st-link connection clock source goes away too. I am not sure too, It doesn't hurt if you just try to use internal clock.
2020-05-22 09:59 AM
Make sure it isn't reliant on HSE
Output diagnostics via USART or other means
Check there aren't any timing, or clock/pin settings, that are altered by the ST-LINK
2020-05-24 03:25 AM
Thank you for the answers ! The problem was as you said. A crystal on the board solved the problem.
2020-05-24 03:25 AM
Thank you for the answers ! The problem was as you said. A crystal on the board solved the problem.
2020-05-24 03:26 AM
Thank you for the answers ! The problem was as you said. A crystal on the board solved the problem.