Have you mastered the six basic skills of embedded hardware circuit design?

Embedded design is a huge project. Today we will talk about several considerations in hardware circuit design. First, let's understand the embedded hardware architecture.

We know that the CPU is the soul of this system, and all peripheral configurations are associated with it, which also highlights a feature of embedded design that can be tailored. In doing embedded hardware design, the following points need attention.

First, the power is determined

The role of the power supply in the embedded system can be seen as the effect of air on the human body, and even more important: the air that people breathe has oxygen, carbon dioxide and nitrogen, but the content is stable, which is equivalent to various clutter in the power system. We hope to get a pure and stable power supply that meets the requirements, but due to various factors, it is just our dream. This should focus on two aspects:

a, voltage

Embedded systems require various levels of power, such as the common 5v, 3.3v, 1.8v, etc. In order to minimize the ripple of the power supply, LDO devices are used in embedded systems. If DCDC is not only big, its ripple is also a headache.

b, current

The normal operation of the embedded system not only needs to stabilize enough power, but also has enough current, so the load needs to be considered when selecting the power device. I usually leave a 30% margin when designing.

If it is a multi-layer board, the power supply part needs to be split when the layout is in use. At this time, it is necessary to pay attention to the split path and try to put a certain amount of power together. If it is a double panel, the width of the trace should be taken care of and widened as much as possible if the board allows it. Proper decoupling capacitors should be placed as close as possible to the power pins.

Second, the crystal is determined

The crystal oscillator is equivalent to the heart of the embedded system, and its stability is directly related to its operating state and communication performance. A common oscillator has a passive crystal oscillator. The active crystal oscillator must first determine its oscillation frequency, and secondly determine the crystal oscillator type.

a, passive crystal oscillator

The choice of matching capacitors and matching resistors is generally based on the reference manual. In the design of single-chip microcomputer, the plug-in crystal oscillator is often used in conjunction with the ceramic chip capacitor. In ARM, in order to reduce space and facilitate wiring, a four-corner passive crystal is often used in conjunction with the chip capacitor. Although we are familiar with the matching circuit of the fixed crystal oscillator, in order to achieve foolproof, it is necessary to refer to the reference manual to determine the size of the capacitor, whether it needs to match the resistor and other details.

b, active crystal oscillator

It has a better and more accurate clock signal, but in comparison, it is more expensive than a bare crystal, so this is also the cost that needs to be paid attention to in hardware circuit design.

When designing the board, you need to pay attention to the crystal trace as close as possible to the chip, and the key signal is away from the clock trace. Add a grounding protection ring if possible. If it is a multi-layer board, it is also necessary to talk about the key signal away from the crystal oscillator.

Third, reserve test IO port

In the embedded debugging phase, when the pin resources are abundant, I usually reserve an IO port to connect the led or the speaker to pave the way for the preparation of the next software. The IO interface is properly controlled during the operation of the embedded system to determine whether the system is operating normally.

Fourth, external storage device

If an embedded system has a power supply, a crystal oscillator, and a CPU, then this is the smallest system we are familiar with. If the embedded system needs to run a larger operating system, then not only the CPU needs to have an MMU, but the CPU also needs external SDRAM and NANDFLASH. If the CPU has SDRAM and NANDFLASH controllers, then the hardware design does not require excessive consideration of the use of address lines. If there is no associated controller, then you need to pay attention to the use of the address line.

This part is a key point in LAYOUT. The reason is to make the relevant signal lines equal in length to ensure that the signal delay is equal, and the clock and DQS differential signal lines are routed. In the wiring, various wiring techniques need to be comprehensively used, for example, symmetric distribution with cpu, daisy chain wiring, T-type wiring, which needs to be selected according to the number of memories. Generally speaking, the more the number, the more complicated the wiring But knowing its key points, everything is solved.

Fifth, the functional interface

The most important thing for an embedded system is to control the peripheral modules through various interfaces to achieve the designer's preset purpose. Commonly used interfaces are serial ports (can be used to connect Bluetooth, wifi and 3G modules), USB interface, network interface, JTAG interface, audio and video interface, HDMI interface and so on. Since these interfaces are connected to external modules, it is an important task to make electromagnetic compatibility design. In addition to this, pay attention to the use of differential lines when LAYOUT.

Sixth, the screen

This feature is listed separately because it is optional. If an embedded system is only connected as a connector to a peripheral module, connected to the host computer through the relevant interface or directly attached to the network, the screen is not needed. But if you make a consumer product that interacts with users frequently, you have to say a few words.

The capacitive screen is the first choice for embedded screens. In the circuit design, you need to pay attention to the layout of the touch screen connection line and the display connection line. In the process of routing, try to be as short as possible to the master cpu, and pay attention to the pairing signal to go the differential line, the RGB control signal goes the same length. The spacing of various signal traces follows the 3W rule to avoid mutual interference. In the design of the screen, it is necessary to ensure power and prevent interference, in case of screen splash screen and flower screen phenomenon.

Hengstar's LED backlight enhanced high bright digital signages is designed for semi/full outdoor information display. It built-in with a video decoding board or a network video decoding board, can display files preset in flash drive and can also display programs online. Sizes from 32'' to 65'', 1000-3000 cd/m2 brightness are available. Display's constructure meet NEMA4 (IP65) and NEMA4X (IP66) ingress protection grade according to different environment conditions. Our sunlight readable displays have good considering of heat elimination, ensuring the monitor durable and good performance. The sunlight readable signages have been widely applied to railway station, bus 

Outdoor Digital Signage

outdoor digital signage display,outdoor digital signage,outdoor advertising led screen,outdoor advertising machine,outdoor advertising display,Floor Standing Digital Signage

Shenzhen Hengstar Technology Co., Ltd. , https://www.angeltondal.com