- This topic has 2 replies, 2 voices, and was last updated 7 years, 9 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 Debugging
Hi Carmine,
What is the best way to debug I2C com?
I ran into lots of troubles because if I debugged step by step then I ran out of I2C timing and get HAL_ERROR.
Is it possible to debug I2C step by step?
Thanks 😉
Hi Oliver,
Unfortunately the only reliable way to debug digital communications like I2C or SPI is by using an external logic analyzer. Nowadays exist a lot of good and cheap alternatives on the market. Give a look to Zeroplus products.
Hi Carmine,
Thanks I did not know this one.
I was looking at OpenBench LogicSniffer @50EUR but it is a nice comparison and Zeroplus has a lot of protocol available.
Thanks again