Category: Peripherals

SWD vs JTAG: Similarities & Differences Explained..!!

Everyone at their embedded journey will meet these 2 major protocols. When they do a few questions inevitably come up in their mind! Is one better than the other? If so how? If we are designing our own board and we got to choose one then which option should we choose? This article is all about answering the above questions! If you are in a hurry here is the short version of the answer for you! The Short Version of the Answer: SWD vs JTAG The table below shows the main differences between SWD and JTAG standards. SWD JTAG Pin...

Quad-SPI, Everything You Need To Know!

If you have just mastered this SPI interface, then looking at Dual and Quad SPI can be overwhelming. I had to read several pdfs to wrap my mind around this concept. In this article, I am presenting all the useful and interesting facts on Quad-SPI that I have learned through my research. What is Quad-SPI? It is a serial interface, where 4 data lines are used to read, write and erase flash chips. Quad-SPI Quad-SPI, also known as QSPI, is a peripheral that can be found in most modern microcontrollers. It has been specifically designed for talking to flash chips...

How to read microcontroller datasheets? 5 tips for Beginners!

If you are a beginner, the first time you download the datasheet of the microcontroller you are using, you will be given a 1000 to 2000 page document, which will make you feel uncomfortable, to say the least. I have been through the same experience and in this post, I am going to help you understand the reason behind the hugeness of the datasheet and I will give you some tips and tricks so that you don’t waste too much time reading it! So let’s begin! The reason behind the hugeness The manufacturers of microcontrollers need to explain its capabilities,...

timer

Microcontroller Timers, Their Types and Applications

Timers play an important role in embedded systems, their duty, of course, is to maintain timing for operations, be it controlling the blinking rate of the LEDs or controlling the sampling rate of the ADCs, or a simple delay on the source code.  Beginners to this field tend to have some trouble understanding the basics of what timers are, what are clock ticks and clock frequencies and why there are so many timer types in a microcontroller. I have written this post keeping beginners in mind, so if you are familiar with some topics you can feel free to skip...

microcontroller peripherals

9 Essential Microcontroller Peripherals Explained

In this article, let’s learn about the 9 most essential parts in a Microcontroller and their applications. What is a Microcontroller made up of? A microcontroller is made up of 2 major parts, the microprocessor, and its peripherals. What are peripherals? Peripherals are devices that aid the microprocessor to accomplish a given job. In other words, they serve as accessories to the microprocessor. Depending on their location they can be classified into 2 types, if they are located inside the SoC (expands to System on Chip, in other words, its just the IC containing the microprocessor ) of a micro-controller...

pcb

8 types of memory every embedded engineer should know about!

As I began my journey as an embedded engineer, I started coming across several types of memories. As my journey continued I learned about each of them and this post explains the 8 essential ones that every embedded engineer should know about. The 8 essential memories can be divided into 2 categories namely primary and secondary memory as shown in the picture. Thus they include the following SRAM DRAM Masked ROM PROM EPROM  EEPROM flash memory and  NVRAM You can look at this article to learn more about primary and secondary memories.  Let’s take a look at each one and...