Writing Drivers for SPI Chips in Embedded Systems

A practical reference for embedded SPI drivers for ADCs, sensors, DACs, and other peripheral chips, covering datasheets, timing, testing, and bring-up.
Embedded Systems & Electronics Engineering
Embedded Systems & Electronics Engineering
Projects that can be categorized in embedded systems

A practical reference for embedded SPI drivers for ADCs, sensors, DACs, and other peripheral chips, covering datasheets, timing, testing, and bring-up.

How to build maintainable I2C chip drivers for sensors, ADCs, EEPROMs, GPIO expanders, and other peripheral devices without leaking bus details into application code.

Ten firmware habits that make bring-up easier, expose faults earlier, and keep common embedded failures from hiding in drivers, interrupts, buffers, or timing code.

Common UART and RS232 mistakes in embedded projects, with practical fixes for framing, buffering, parser state, CRC checks, timeouts, backpressure, and bench debugging.

Arduino and its related products are undoubtedly very popular among hobbyists and even professionals. One of the areas of interest with hobbyists and professionals is interfacing with many different sensors such as temperature, humidity, light, etc. The simplest method would…

STM8 Series of microcontrollers, the 8-bit series of STMicroelectronics, are cheap but powerful micros which provide a good value and performance to your simple projects. The problem is, these series are not geared toward hobby market. While there are fantastic…

STM8 Series of microcontrollers, the 8-bit series of STMicroelectronics, are cheap but powerful micros which provide a good value and performance to your simple projects. The problem is, these series are not geared toward hobby market. While there are fantastic…

Raspberry Pi has gained a lot of fame over the past years since it’s introduction. Being dirt cheap while powerful enough to run your home multimedia center is the key selling point of Raspberry Pi. But when it comes to…

STM8 Series of micro-controllers by ST Microelectronics are dirt cheap and powerful at the same time. Their processing power is nothing short as of Arduino, while at the same time their power consumption is much less. These properties makes STM8…

Now that you learned how to configure one of the pins of a STM8 micro-controller as output to blink a LED in the first part of STM8 basic tutorials, it is time to learn how to configure pins as input,…

Usually the first step toward learning development on a micro-controller is simply blinking a LED, as an analog to “Hello, world!” example used on PC programming languages. This time we will have a look into how to start programming and development…

Have you ever wondered how to send strings and numbers using USART in micro-controllers? No worries! The answer is here! The other day I was cleaning up and giving some order to my STM32 based projects, to extract various useful utilities…