Stm32--spi InterfaceTenet: The learning of technology is limited and the spirit of sharing is limitless.First, SPI Agreement " serialperipheral Interface "Serial Peripheral interface, is a high-speed full-duplex communication bus. Communication between ADC/LCD and MCU.1 , SPI Signal LineThe SPI contains 4 buses, and the SPI bus contains 4 buses, SS, SCK, MOSI, miso, respectively.(1) SS (slaveselect): The chip selection signal line, when there are mult
Two-dimensional code recognition based on Stm32 ov7725
Two-dimensional code recognition technology in our life is very convenient to use, but the basic is based on mobile phones, at present, there are also on the bus scanning two-dimensional code of the machine, the last time after the bad, found a small penguin, originally based on Linux, Here is a description of the two-dimensional code based on stm32f767 and ov7725 and Zbar identification technolo
retrospect, perhaps I did not notice that 51 single-chip serial port baud rate generator can only use T1, and I have been using T0 as a baud rate generator.Recently began to contact the STM32 series chip, because there is a firmware library for the operation of the underlying register is encapsulated, very close to advanced programming, learning and easy to use, and now many mobile chips are based on the ARM architecture, So learning arm chip is also
Sort out the underlying structure associated with STM32 to help digest understandingFirst several pictures (the main reference stm3210x series)1. Chip structure Composition diagram:2.STM32 Internal structure:3.CORTEX-M3 Module Structure diagram:4.STM3210X Internal structure:Bridge:four active units:M3 Core Icode Bus (i-bus), Dcode Bus (d-bus), System bus (S-bus), DMA (DMA1, DMA2, Ethernet DMA)Four passive u
In stm32
The module comes with two guard dogs: Independent guard dog (iwdg) and window guard dog (wwdg)
The independent watchdog of stm32 is driven by a dedicated 40 kHz low-speed clock. Even if the main clock fails, it stillValid. Note that the independent watchdog clock is an internal RC clock, so it is not accurate to 40 kHz,In the range of 30 ~ A variable clock between 60 kHz is calculated at a frequen
When I tested my own USB driver the day before yesterday, I found that the out transmission rate from the host to the stm32 (from the host to the device) was only kb/s, and it was truly dizzy. After research, we found that it is the relationship between the pipe maxtransfersize parameter set in the driver. Originally, we set 64 to only 65535 kb/s, and set it to according to the driver values of other USB devices, test the USB out speed, reaching kb/s,
Differences and links between register and Firmware Library Development
The Firmware Library is a set of functions. The function of the Firmware Library is responsible for directly dealing with registers and providing APIs called by the user functions ).
During 51 development, we often operate registers directly. For example, to control the status of some IO ports, we directlyOperation register:P0 = 0x11;During the development of stm32, we can also
/********************************************************************************* @author Maoxiao Hu* @version V1.0.0* @date May-2015******************************************************************************* ********************************************************************************/Debugging STM32 Hardware I²c has been a long time, almost searched all the data, for its in the end can work normally, do a thorough study today.Here are a few
Beginner STM32, feel the most egg pain is its clock system, every time see its clock tree is a bit dizzy, although read a lot of this information, even has written a lot of STM32 module code, did some small project, but always still on this piece of vague, indefinitely, So I want to write a little bit of my knowledge of it, step-by-step, until the day of full straightened out, (these things are not original
in the STM32 if the external crystal is not used, osc_in and the Osc_out the method of connectionIf using an internal RC oscillator without an external crystal, proceed as follows:1) for 100 feet or 144 feet of products, osc_in should be grounded, osc_out should be suspended.2) for products with less than 100 feet, there are 2 kinds of mating methods:2.1) Osc_in and Osc_out are grounded by 10K resistors respectively. This approach can improve EMC perf
Stm32--eepromTenet: The learning of technology is limited and the spirit of sharing is limitless.First, I²c interface Read and write EEPROM ( AT24C02 )-Main mode, respectively, as the main transmitter and the main receiver. Ensure normal communication by querying for events.1 , I 2C Interface InitializationLike other peripherals for GPIO multiplexing, it calls the user function I2c_gpio_confi g () to configure the I/O port used by I 2 C, and then call
Recently used STM32 CRC32 module, look at the official website Lib, feel very simple to use. However, you will find that the direct use will appear, and many online CRC32 Web sites or PC-side CRC32 Verification Tool calculation results inconsistent!It's just no words ...A search, in the 21IC forum above on the use of STM32 CRC32 big discussion, but 09 years of Post. The main conclusion is that
, beside the keyboard remember, only comfort himself and share fellow yen Yau. There is no longer much to be said in this question.NVIC, a Chinese name nested interrupt vector controller, is a unique integrated unit within the CORTEX-M3 family of controllers that is tightly coupled to the CPU, reducing interrupt latency and enabling more efficient processing of subsequent interrupts. For example, such as railway station ticket, those railway station rules and regulations is Nvic, the students an
I. Overview of the ContentUsing STM32 internal USB controller outside the larger page NAND FLASH k9f1g08u0a implementation of a 128M u disk.1, STM32 USB controller stm32f103of theMCUcomes withUSBfrom the controller, in accordance withUSBspecification of communication connections;PCThe data transfer between the host and the microcontroller is accomplished by sharing a dedicated data buffer that can beUSBd
/*Name: STM32 Read and write EEPROM using the I²C protocolDescription1. Using STM32 to read and write EEPROM and C51 The biggest difference is that the former is directly using the I²C controller (Hardware mode) to generate the required i²c timing, and the latter is the software to generate the i²c timing. In contrast, the former uses hardware circuitry to simplify programming complexity by sending the data
Before doing STM32 development in order to obtain the STM32 chip internal data into a variety of methods. The first is to use the serial port to send data, and later the system updated to WIN10 after the serial drive is incompatible, so found another way to debug.
I was developing stm32 in Keil, STM32 program was comp
Author: Yasin Lee
Transferred from: http://blog.csdn.net/coder_jack/article/details/7444798
The following content is downloaded from the network
The day before yesterday to test their own written USB driver found from the host to the STM32 out transfer (host to device) rate is only the highest 33kb/s, it is dizzy dead. After research found that the driver set the pipe maxtransfersize parameters, the original set 64 can 33kb/s, after reference to ot
Recently in the use of STM32 USB module to develop a project, it is very simple, the result of a fast two days to the USB packet buffer access to do a little summary here.
The STM32 USB module packet buffer has 512B, but in the STM32 reference manual memory image shows that 0x40006000-0x400063ff, a whole lot of 512B, how can this, but also in the attempt to progr
For the MCU to arm of the students, the RTC may be less contact. Referring to the real-time clock, more often think of is DS1302. Of course, in the STM32, a CPU is enough, do not need to DS1302.In fact, RTC is just a timer, all the information is lost after power-down, so we need to find a place to store this information, so we find the backup register. Because it can still be powered by a button battery after power-down, this data can be saved at all
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.