Associate III
July 28, 2018
Question
I2C clock not generated on SCK pin
- July 28, 2018
- 5 replies
- 2476 views
I was working on i2c using STM32L476 nucleo board.I used stm32cube to make a code for keil.When I generated the code and programmed it in the board i found that the oscilloscope was not showing any clock on it .Oscilloscope's channel1 was connected to to GND AND PB6 pin of board.After that I put a function call HAL_I2C_Init(&hi2c1) in main() before the while() loop.
oscilloscope only showed constant high of 3.3Volt.Please help to solve the problem.
