Glorified Plumbing – The Repo!

I know it’s long overdue, but I finally have a GitHub repo for examples to support the articles on this Blog, and within the associated web pages.

I’ve started by adding an example of a Wavedrom timing diagram. You can find the first example here. I started with an expanded I2C diagram, were we are recovering a hung bus after MCU reset.

There is a readme in the repo that will explain what we are seeing here.

If you know I2C, you may well recognise this problem. Target devices without a reset pin, or whose power is maintained through a reset of the controller, may get out of sync and get stuck in a transmit state. A few clocks on SCL will get you out of trouble.

The point is, we now have a place where you can see how I coded the diagram in WaveDrom, and created an elegant diagram in minutes, compared with how long it takes me to craft a timing diagram in Visio.

I intend to add more diagrams as time permits.

To see this diagram in its original context, you will have to look at the early draft of my book. If you want to know more about this hang, I have blogged about my first encounter with such a bug. As for Wavedrom? I’ve already spoken about it here.

As always, comments welcome. If you find use in this blog or the associated repo, please leave a like.


Leave a comment