SPI for microcontrollers
In this article we will take a closer look at Serial Peripheral Interface, also called SPI. This is the third and last serial communication module in the PIC16F877A. Previously we have seen UART and I2C, and we discussed how those modules operate. Here we focus solely on SPI; what it ...
I2C for PIC Microcontrollers
In this article, we will take a closer look at the I2C serial communication protocol. This is the second in a series of three articles covering serial communication; the others focus on USART and SPI. In this post we will explain what I2C is, how it functions, and how you ...
USART for PIC Microcontrollers
The USART module, also referred to as the Serial Communications Interface (SCI), is a crucial hardware module that enables a microcontroller to communicate with other devices via serial communication. This mode of communication transmits data one bit at a time.
In this tutorial, we will discuss the two different modes of ...