Linux SPI Device Driver for W25Q64 Flash Memory

SPI Interface Serial peripheral interface (SPI) ┬áis a synchronous, full-duplex master-slave-based interface.The data from the master or the slave is synchronized on the rising or falling clock edge. Both master and slave can transmit data at the same time. The SPI interface can be either 3-wire or 4-wire.4-wire SPI devices…

Continue Reading Linux SPI Device Driver for W25Q64 Flash Memory

IMX6-SOLOX GPIO Interrupt Handling In Kernel Space

This post is to explain the handling of GPIO interrupts in Linux with IMX6-SOLOX. I will use Udoo neo full development board which is based on NXP IMX6-SOLOX SOC. In Udoo neo full there are 32 GPIOs for user access. Out of 32, two GPIOs are connected to LEDs, and…

Continue Reading IMX6-SOLOX GPIO Interrupt Handling In Kernel Space

Linux I2C device driver for MCP9808 Temperature sensor

Device Drivers In Linux, device drivers acts as an intermediate between the user application and hardware.The device drivers expose the functionality of the hardware to user programs. In this post I am going to write Linux device driver for MCP9808 temperature sensor which is interfaced through I2C-2 bus with UDOO…

Continue Reading Linux I2C device driver for MCP9808 Temperature sensor

Alternative Debugging Prints for STM32 without UART

Printf() is the common techniques for debugging the code flow with prints. In this Uart - serial console is most popularly used to get the prints during program runtime. That means printf() is redirected to Uart. There are other alternative methods for Uart debugging prints such as Serial Wire ViewerSemihostingSegger…

Continue Reading Alternative Debugging Prints for STM32 without UART