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
problem, look at the error should be a permissions issue, search solution, there are two ways to solve: First, after the administrator runs cmd, enter Secedit/configure/cfg%windir%/inf/defltbase.inf/db defltbase.sdb/verbose, and then run the installation again Second, open the registry, find Hkey_local_machine\software\microsoft\windows\currentversion\installer\userdata\s-1-5-18\components, Then follow the steps for the solution: 1. Right-click component "Components", select "Permissions"2. Cli
Ing means a one-to-one correspondence. Re- ing is the one-to-one relationship of re-allocation.
We can regard the memory as a black box with the output and input ports. As shown in, the input is the address, and the output is the data stored on the corresponding address. Of course, this black box is made available by complicated semiconductor circuits. We do not care about the specific implementation method. The storage unit is generally byte. In this way, each byte storage unit corresponds to a
MCS-51 Series MCU internal only two external interrupt source input, when the external interrupt source more than two, you have to expand, and here are two simple extension methods:First, the use of hardware requests and software Query method:This method is to introduce each interrupt source into the MCU external interrupt source input via hardware "or non (highly effective, such as CD4002)" (and, low-effective) gate(INT0 or INT1), while the external interrupt source is sent to an input-output p
1.1 What is a single chip microcomputer?Single-chip microcomputer is a piece of silicon chip integrated microprocessor, memory and a variety of input/output interface chips, so that a chip has the properties of the computer, which is known as a single-chip microcomputer, ref
First, the concept of single-chip microcomputer, application.Microcontroller is also called MCU (microcontroller).is aIC Chip, is the use ofLarge scale integrated circuittechnology that has the ability to process dataCpuCPU,Random memoryRAM,Read-only memory rom, multiple I/O ports, andInterrupt System,Timer/Counter and other functions (may also include a display driver circuit,Pulse width modulationcircuit,
Kickfire: the SQL chip boosts the MySQL data warehouse to equip every MySQL database server with an SQL chip. this is a vision of Kickfire to focus on the data warehouse market.
Kickfire launched the Kickfire Database Appliance test version integrated with the new SQL chip in April 14. The company said that the SQL chip
The idea of the designer of the s5pv210 chip(1) After the chip starts to execute Irom (BL0) content, carries on the initialization of the clock and the watchdog and so on peripheral, will copy BL1 and BL2 to the on-chip SRAM;(2) Jump to the on-chip SRAM execution, complete the initialization of the external SDRAM, and
Single chip computer C language one ___________________________________________________________________
_____________________PretreatmentA macro definition:
1, without parameters:#define-Identifier constant expression/* #define是宏定义命令, Macro name (identifier) good habit to use the capital * *#define NIL 0x80
2, with parameters:/* equivalent to small function * *#define Macro Name (parameter table) string/* Not only to line word string replacement also
The RS232 standard was born before RS485, but there are several deficiencies in RS232: The signal level of the interface is higher, to more than 10 V, the use of improper easy to damage the interface chip, level standard is also incompatible with the TTL level. Transmission rate is limited, can not be too high, generally to zero or zero bits per second (kb/s) to the limit. The interface uses signal lines and GND to form a common mode of communication
The firmware upgrade instance of ms6000 chip with melfas describes the installation process of image files in the general array format. The chip requires a pin combination to complete a certain sequence and enable a set of command codes to enter the burning mode, in the burning mode, the I2C address is 0xfa (different from the address 0x40 when the chip works nor
mt6575 Chip is an excellent evaluation in the industry chip, its excellent performance parameters and practical user experience makes the mt6575 chip has become a reputation and cost-effective representative. Then you may want to follow the small together to learn a few about the mt6575 chip related information, we wil
recently, is learning ARM, so casually learn a single-chip microcomputer, to help understand. as mentioned in "Arm Learning note entry", embedded processors are divided into three types: embedded microprocessors, embedded microcontrollers,Embedded microcontroller is a microcontroller, it will CPU, memory and other peripherals are packaged together. 80C51 Series: 80C51 is a typical species in the MCS-51 series, and the CMOS process microcontroller pro
June Tong-China's most professional online payment platform, support prepaid cards, game points card, net silver and other payments, so you enjoy the happiness of online payment anytime and anywhere! For details, please add q:2990968116Recently, Quantum Microelectronics Co., Ltd. (hereinafter referred to as "quantum microelectronics") independently developed KTC20080 dual interface (contact and non-contact) chip, successfully passed the strict
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.