St official translation of Chinese Application Note summary http://www.51hei.com/stm32/3382.htmlOfficial Chinese an:An3116:stm32? ADC mode and its applicationAN1015: Software technology for improving EMC performance of microcontrollersAN1181: Electrostatic Discharge sensitivity measurementAN1709:ST microcontroller Electromagnetic compatibility (EMC) Design GuideAn2606:stm32? Microcontroller system memory Bo
different from the above bus, it uses a single signal line, which can transmit clock, data, and data transmission is bidirectional, so this single bus technology has a simple line, low hardware overhead and low cost, facilitating Bus Expansion and maintenance. A single bus is applicable to a single host system and can control one or more slave devices. The host can be a microcontroller, And the slave can be a single-bus device. The data exchange betw
The Cortex Microcontroller Software Interface standards (CORTEX microcontroller software Interface standard) are a set of standards that arm and some compiler manufacturers and semiconductor manufacturers follow. is the standard set forth by arm specifically for the CORTEX-M series. Under this standard, arm and chipmakers offer a number of common API interfaces to access the cortex kernel and a number of de
achieve human-machine interaction interface.
2 touch screen working principleThe touch screen controller is equivalent to the interface between the touch screen and the microcontroller. The touch screen is a 4-layer composite film attached to the display surface for use with the display. Figure 1 shows the external structure of the touch screen. Each conductive layer is a working face of the touch screen, and each Working Face is coated with silver g
of hardware. Next we will analyze my program!
Ii. Software
The first is the sending process:
1. When the Microcontroller has data to send, the address and data to be sent are sent to rf905 through the SPI protocol, and the speed of the SPI interface is determined during the communication protocol and device configuration;2. The microcontroller sets the trx_ce and tx_en values to send data.3. rf905 sending
Through the previous study, we know that the Microcontroller has a Rom, a ram, and a parallel I/O port, so what else is there inside the microcontroller, how are these fragmented items connected together? Let's make a complete functional analysis on the registers in the single chip microcomputer!We can see that there is a CPU inside 51 for Operation and Control, there are four parallel I/O Ports, respective
microcomputer to work continuously in the unmanned State. Its working principle is: the watchdog chip is connected to an I/O pin of the single-chip microcomputer, the I/O pin uses a program to control it regularly to send high-level (or low-level) to the dog's pin. This program statement is distributed in the middle of other MCU control statements, once a single-chip computer enters an endless loop after the program runs and falls into a program segment due to interference, the program that wri
chip outside the microcontroller for level conversion, you can directly connect to the computer's serial port (COM ). The hardware structure 1 of the controller is shown in. the control circuit of the GUI interface is the focus of the hardware design of the controller.
It should be pointed out that the use of intelligent GUI interface chip can greatly simplify the design of the GUI circuit. Currently, there are two most common types of chips. One is
, which is a way for information exchange between the microcontroller and the outside world. Later, we will focus on the I/O port. In addition to 32 I/O ports, there are eight pins: 29 ~ The 31st foot is rarely used and will not be introduced for the time being; 40-foot VCC, 20-foot Gnd, 9-foot rst, and 18, 19-foot xtal1, xtal2 will soon be detailed in the following single chip microcomputer minimum system.
What is the minimum single-chip microcompute
Basic usage method of HC-06 Slave Module
I. How to connect Bluetooth and Single Chip Microcomputer
, Gnd and VCC are grounded and powered
Rxd and txd are connected to the MCU rxd and txd respectively.
Rxd: receive data receive (RX) data
Txd: send data transmit (TX) data
Where are the single chip microcomputer rxd and txd? Open the schematic diagram of the Microcontroller
P3.0 and p3.1 are the rxd and txd interfaces. Connect the Bluetooth int
Embedded Linux and 51/430/stm32 Embedded development of the Difference and Association summary: Microcontroller series: 8051, MSP 430, STM32 f0-3 (ARM cortext m0-m3 series), etc.The main feature is that there is no memory management unit, no Linux operating system with virtual memory, only bare-metal programs or a Ucos class of real-time operating systems can be run. The main work is peripheral driver development (such as writing an encoder driver, LC
When the microcontroller received a frame of data, RI will set 1, to the CPU to request an interruption, if there was an interruption before the Allow, there is an interruption, into the Interrupt service program. Of course, a single-chip computer sent a frame of data, TI will also set 1, the same will produce interrupts.Add: In fact, regardless of whether you have permission to interrupt, the host computer (at this point to the
, but the price and interface card bottlenecks caused by the problem also exposed. This paper is based on SCM, can device and network chip as the core module to complete the function of the description. This approach lowers costs and avoids bottlenecks.
3. Hardware part
There are a variety of hardware implementation, can use integrated TCP/IP protocol MCU plus can transceiver and controller, can also use integrated can controller MCU plus can transceiver and network chip. The example of this p
, the data interface subclass requires a periodic (isochronous) terminal point whose direction is input (in) and a periodic terminal point whose direction is output (out. The control terminal points are mainly used for enumeration of USB devices and communication between the baud rate and data type (Data bit, stop bit, and start bit) of virtual serial ports. The non-synchronous terminal point in the output direction is used for the host to send data to the slave device (slave), which is equivale
websiteHttp://www.arm.com/chinese/-Chinese6. A project completed in ece476.These projects have detailed learning materials. There are more than 200 projects. Looking at these things, you can feel the difference between domestic and foreign teaching practices. Many colleges and universities in our countryElectronicsRelated majorsDesignIt is to create a keyboard, a max7219 display, and a ds1302 clock, 'unchanged for one hundred year '. I remember it. Let's study it. In particular, teachers must t
About I2C and SPI bus protocols
Iicvs SPI
Currently, in the low-end digital communication application field, we can see IIC (Inter-Integrated Circuit) and SPI (serial peripheral interface) everywhere. The reason is that these two communication protocols are very suitable for close-range and low-speed chip communication. Philips (for IIC) and Motorola (for Spi) have developed these two standard communication protocols for different backgrounds and market needs.
IIC was developed in 1982 to provid
Q: How to implement a Single-Chip Ethernet microcontroller?
A: The trick is to integrate the microcontroller, Ethernet Media Access Controller (MAC), and physical interface transceiver (PHY) into the same chip, which can remove many external components. This solution enables good matching between MAC and PHY, and reduces the number of pins and chip area. The Single-Chip Ethernet
input (in) endpoints and seven output (out) endpoints. The data transmission mode and the size of the data cache (FIFO) can be flexibly configured for each endpoint, and the maximum capacity of the endpoint FIFO can reach 2 kb. The ISP1581 chip requires the support of the microcontroller firmware during configuration enumeration. Once the configuration and driver loading are completed correctly, the microcontroll
systemRebootOperation.
Watchdogtimer (WDT), also known as watchdogtimer, is a timer circuit. It generally has an input, which is called a dog Feed and an output to the MCU (Microcontroller Unit, also known as a single chip microcomputer) when the MCU works normally, a signal is output to the dog Feed End at intervals, and the WDT is cleared,If a dog is not fed after the specified time (generally when the program is running) and the WDT time exceeds,
1.
It consists of special function registers, interrupt entry, and sequential query logic circuits related to the interrupt, including five interrupt request sources, the four registers (ie, IP, Econ, and scon) used for interrupt control are used to control interrupt classes, interrupt enabling and shutting down, and determine the priority of various interrupt sources.
Interrupt request source:
(1) external interrupt request Source: namely, the External Interrupt 0 and 1, introduced through th
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.