- This topic has 2 replies, 3 voices, and was last updated 7 years, 8 months ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
Home › Forums › Mastering STM32 book support forum › I2C with logic analyzer
Hi, I am new to STM32. I am trying to create a communication channel, using the I2C protocol. I used the code from the book(Ch14 Ex1and Ex2).
After I took the code from the git repository, I compiled and created the bin file and flashed it using a Mac. After that, I tried to use a mixed signal oscilloscope(HP 54645D) to probe the relevant pin for CLK(I probed all of D15, D14, D10, and PB7), but I can only see a sinusoidal at the oscilloscope.
Could anyone suggest why I see a sinusoidal, when the clock should be a pulse? Is there any other way to check whether the I2C submission is working fine?
Could you suggest any example from the book, where I could see ANY pulse on the scope?
Thanks in advance.
Hi,
are you using external pull-ups?
V.
Hi,
What is the period of the sine wave that you are seeing? Is it possible that the ground connection between your board and the ‘scope is open?