FPGA Download Failure After Replacing Crystal Oscillator: Lessons Learned

FPGA Download Failure After Replacing Crystal Oscillator: Lessons Learned

San Pao’sHardware Development Learning Notes Sharing knowledge to enhance skills♥Exchanging experiences to strive for excellence Table of Contents 1. Description of Anomalies2. Investigation and Analysis Process3. Problem Identification4. Solutions5. Complaints about the validation of replacement materials ✍ Understanding the differences between crystal oscillators and crystals, design selection Recommended previous notes👆 The specific reason for replacing … Read more

Analysis and Solutions for MCU Crashes Caused by Wireless Interference with External Crystal Oscillator

Analysis and Solutions for MCU Crashes Caused by Wireless Interference with External Crystal Oscillator

1.Background of the Problem A product developed over nearly a year encountered occasional reset and restart issues just before its market launch. Due to the instability of the phenomenon, it took a long time to investigate, revealing that the MCU was experiencing code runaway, leading to watchdog resets. After numerous checks of the code with … Read more

Why Do Microcontrollers Need Crystal Oscillators? A Comprehensive Overview

Why Do Microcontrollers Need Crystal Oscillators? A Comprehensive Overview

In the world of electronics, there is an inconspicuous little component that almost determines whether a microcontroller can function properly, and that is the crystal oscillator (晶振). It acts like the “heart” of the microcontroller; without it, the microcontroller would be “lost”. So, why must microcontrollers use crystal oscillators? Today, we will uncover its secrets. … Read more

Six Fundamental Skills in Embedded Hardware Circuit Design!

Six Fundamental Skills in Embedded Hardware Circuit Design!

Embedded design is a vast field. Today, we will discuss several considerations in hardware circuit design, starting with an understanding of the embedded hardware architecture. We know that the CPU is the soul of this system, and all peripheral configurations are associated with it. This highlights a characteristic of embedded design: hardware can be tailored. … Read more

Why Connect Ground Capacitors to MCU Crystals?

Why Connect Ground Capacitors to MCU Crystals?

Many electronic engineers are puzzled by the practice of connecting a ground capacitor on each side of the MCU crystal during design. Even after researching, they find little explanation in books, often mentioning that ground capacitors provide stability or are considered load capacitance, but without in-depth analysis. So today, I will explain why this is … Read more

Oscilloscope Practical Series 14: Crystal Oscillator Measurement

Oscilloscope Practical Series 14: Crystal Oscillator Measurement

When observing the waveform on the crystal oscillator pins with an oscilloscope, it often happens that the crystal oscillator waveform is not visible on the screen or the characteristics of the waveform are incorrect. This article explains the correct method for measuring the crystal oscillator waveform with an oscilloscope through practical operations. Through the previous … Read more

RK3399 High-Speed Signal PCB Design Recommendations

RK3399 High-Speed Signal PCB Design Recommendations

RK3399 high-speed signal PCB design recommendations – Crystal oscillator design. In the PCB design of clock circuits, please pay attention to: When laying out, place the crystal circuit as close as possible to the clock pins of the RK3399; Use 4mil traces for signal routing, and keep them as short as possible to reduce trace … Read more

Method to Measure If the Crystal Oscillator is Oscillating Using an Oscilloscope

Method to Measure If the Crystal Oscillator is Oscillating Using an Oscilloscope

During this circuit board test, I found that one circuit board could never be programmed. So I checked: 1. There are no issues with the power supply and ground. 2. Using the oscilloscope to measure whether the crystal oscillator is oscillating, I found a strange issue: a 24MHz sine wave appeared at the XOUT pin, … Read more

How to Select the Clock Oscillator Circuit for 51 Microcontroller?

How to Select the Clock Oscillator Circuit for 51 Microcontroller?

As a representative of embedded systems, the 51 microcontroller is widely used, and its normal operation relies on a stable and accurate clock signal. To ensure signal stability, a clock oscillator circuit is essential, as it determines the execution speed of the microcontroller and the timing of synchronous operations. The clock oscillator circuit of the … Read more

Six Fundamental Skills in Embedded Hardware Circuit Design!

Six Fundamental Skills in Embedded Hardware Circuit Design!

Embedded design is a vast field. Today, we will discuss several considerations in hardware circuit design, starting with an understanding of the embedded hardware architecture. We know that the CPU is the soul of this system, and all peripheral configurations are associated with it. This highlights a characteristic of embedded design: hardware can be tailored. … Read more