So you are pretty much into Test-Driven Development (TDD)? You love to practice it on your development machine but think it might be quite a hassle when it comes to writing code for small microcontrollers?

In this blog article we are going to take a journey to Embedded TDD using the MCP2515 Controller Area Network (CAN) controller as an example. We will begin to write a device driver for that particular controller without even having any working hardware at hand....

This post has moved to my new blog: [deardevices.com](https://deardevices.com/2017/10/08/test-driving-the-mcp2515-can-controller-part-1/)! [![Dear Devices](https://steffen.ronalter.de/assets/deardevices.png)](https://deardevices.com/2017/10/08/test-driving-the-mcp2515-can-controller-part-1/)