Single-chip microcomputer minimum system, or the smallest application system, refers to the system which is composed of the least component and the microcontroller can work. for the 51 series microcontroller, the minimum system should generally include: single-chip microcomputer, crystal oscillator circuit, reset circuit. a minimum system circuit diagram for a 51 microcontroller is given below. Descripti
Design of High-Precision Water Level Monitor Based on Single Chip Microcomputer
[Date: 2008-9-3]
Source: carefree electronic development network Author: Zhang Yixiang
[Font:Large Medium Small]
1Introduction
The water level monitor is widely used in automatic detection and control systems in water conservancy, petroleum, chemical, metallurgy, electric power and other fields. At present, some water level monitors have some proble
After the chip sample stream comes back, all people are most concerned about whether the new functions are normal and whether the problems found in the old version are solved, this requires replacing the old chip in the verification system and re-running the system for verification. In the sample phase, various strange problems may occur due to the poor encapsulation and low yield rate. The
The 40 pins of a microcontroller can be divided into 4 categories: power , clock , control , and I/O pins .1. Power supply:⑴VCC-Chip power supply, connect to the + +;⑵vss-ground end;2. Clock:XTAL1, XTAL2-crystal oscillator circuit inverting input and output terminals. 3. Control lines: control lines Total 4, ⑴ale/prog: Address latch allow/on-chip EPROM programming pulse ①ale function: Used
Source: Https://www.synopsys.com/dw/dwtb.php?a=hsic_usb2_deviceWhat is HSIC?HSIC (high-speed inter-chip) is an industry standard for USB Chip-to-chip interconnect with a 2-signal (strobe, data) sour Ce synchronous serial interface using a MHz DDR signaling to provide only high-speed (480 Mbps data rate). No external cables or connectors and hot plug-n-play is sup
Advantages and disadvantages of embedding an operating system in a Single Chip Microcomputer
As early as 1960s, some people began to study and develop embedded operating systems. However, it has not been mentioned more recently in China. The increasing importance of it in areas requiring real-time processing, such as communication, electronics, and automation attracts more and more attention. However, people often talk about some famous commercial
1-hour multi-thread structure application
Generally, various control systems used by single-chip microcomputer have various interaction processes such as field data collection, control output, working status detection, and data transmission; the mismatch between the response speed of various peripherals and MCU is an important factor restricting the overall performance of the system. In the face of this interaction bottleneck, the use of time-based mu
My view of single chip microcomputerRecent health is not good, look back on such a few days to walk, now think, also to summarize the time. I have been in the field is very bad, a person, talking people do not have to work a person, sleep is a person. Very lonely. Of course it's a big part of the reason. I am a person who is eager to be loved, but a long time without. Now some of the professional Learning summary summary, in the future to see the youn
technology, including 70 NM evolution to 50 nm, and then evolve to 40 nm or 30 NM process technology, mobile phone customers will also have to redesign, but semiconductor products every 1 years of technology will be new, memory problems also drag on the speed of the introduction of mobile phones, So, like eMMC, the concept of wrapping all the memory and control chips that manage NAND flash on 1 MCP is becoming increasingly popular.eMMC design concept, is to simplify the use of memory in the pho
said ashamed, has always been, in school is also a lot of things, but instead of 51 single-chip computer This basic thing did not seriously to do, at the beginning of self-study 51 not one weeks, and then to Freescale 16 single-chip machine up, so that 51 has not thoroughly made a clear. is not as good as I know s12 monolithic computer what piece of RAM Ah, flash size Ah, instead is 51 not sure answer OH.
Reprint Address: http://m.blog.csdn.net/blog/u010489766/9229011Title Link: http://poj.org/problem?id=1276Test instructions: There are a total of n denominations of coins in the machine, each NI Zhang, to ask the machine to spit less than or equal to the maximum value of the required coins to resolve 1: The problem of Daniel have used multiple backpacks, but I have a classmate to come up with a particularly simple and effective method for this problem. (I think it's not necessary to use the backp
card in the virtual machine VirtualBox is a wired network card (because it is mounted via a network cable)2. Set the IP address# setenv ServerIP 192.168.64.13# setenv IPAddr 192.168.64.11# setenv Gatewayip 192.168.64.1# saveenvNote: ServerIP is the IP of Ubuntu in Windows VirtualBoxTest 4 (Mount the root file system in Ubuntu):# setenv Bootargs root=/dev/nfs nfsroot=192.168.64.13:/mini_rootfs ip=192.168.64.11:192.168.64.1::255.255.255.0:: Eth0:off INIT=/LINUXRCconsole=ttysac0,115200# saveenvRes
This article mainly introduces the use of UART and PC communication to achieve msp430g2553 single chip ultrasonic Ranging example, need friends can refer to the next
It is suitable for msp430g2553 MCU to use the HC-SR04 ultrasonic ranging module and communicates with PC using UART.
The code is as follows:
#include
The last time a long current_time;//was measured
/*mypro*/
#define LED_1 BIT0
#define SW_2 BIT3
#define Ta1_1 BIT2//ta0.1 hc-sr04 E
3. Interrupt Controller Driver
In the Linux kernel, individual device drivers can simply invoke Request_irq (), ENABLE_IRQ (), DISABLE_IRQ (), local_irq_disable (), local_irq_enable () such as General API complete interrupt application, enable, prohibit and so on function. When porting Linux to a new SOC, the chip vendor needs to provide low-level support for that part of the API.
The implementation of Local_irq_disable (), Local_irq_enable () is in
Contact SCM has a few years of time, has been focused on how to write some applications on a single chip microcomputer, how to start the knowledge of little, ashamed ashamed ... Today, I have to tidy up a bit, deepen the understanding of the SCM, such as why the definition of the data area of the variable restart the initial value of 0.
When the MCU is powered on, it will execute startup. The instructions for the A51 file, I analyzed the instructions
51 single chip microcomputer precise delay procedure (crystal oscillator 12MHz, a machine cycle 1us.)Several precise delay procedures: in the calculation of accurate delay, the most easily overlooked is the calculation of the loop outside the part of the delay,This part does not affect the program in situations where the time requirement is not high.
A. 500MS Delay subroutine program:. (Crystal oscillator 12MHz, a machine cycle of 1us.)void delay500ms
are parity bits (1/0). The sum of the number of 1 in the data and the number of the test bit 1 should be odd at parity, and the number of 1 in the data and the number of checksum digits 1 should be even when parity. When a character is received, the number of 1 is validated, and if the character is inconsistent, an error occurs during the transfer of the data.
Code and checksum
The sender sums the data blocks (or each byte xor), resulting in a byte of the checksum character (checksum) appended
Development platform: TI DM365 Multimedia processor, TVP5150 video decoder chip
Development requirements: The use of TVP5150 decoding PAL video, yuv4:2:2 format output, and then to DM365 VPFE front-end processing to zoom in to 720p resolution, and then output from the VPBE back to the LCD
TVP5150 configuration: (i²c configuration) The configuration code for the YUV 4:2:2 8bit output is given below:
Tv_decoder_write (0x00, 0x01);
Tv_decoder_
51 single-chip microcomputer is capable of output PWM, the trouble of comparison. In this case, an internal timer is needed to implement it, which can be implemented with two timers or with a timer.
The method of using two timers is to control the frequency with the timer T0, and the timer T1 to control the duty ratio. The general programming idea is this: T0 timer interrupt let a I0 port output high level, in this timer T0 interrupt in the start Time
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.