SD card reading and writing experiment
More exchanges, welcome tiktok, 81849645041
objective
Familiar with the working principle of SD card and SDIO. Master the reading and writing of SD card.
principle
Most single chip microcomputer systems need large capacity storage devices to store data. At present, U disk, FLASH chip, SD card and so on are commonly used. They have their own ...
Added by Zoran_Dimov on Sun, 27 Feb 2022 14:48:24 +0200
STM32+CubeMX+Keil+HAL Library
Catalog
1. Set up GPIO:
2. printf redirection
3. Log information format
4. Personalized Output
5. CubeMX+HAL Open Serial Interrupt
6. Open external interrupt
7. Clock Tree Basic Operations
8. Universal timer configuration
9. CubeMX Configuration Timer
(1) Set the timer clock to 72M
(2) Select internal clock
(3) Configure timer
( ...
Added by sgbalsekar on Sat, 26 Feb 2022 19:21:01 +0200
STM32 LCD (ILI9341) simulates 8080 timing
LCD with 8080 timing
There are four control lines of 8080: RD write enable, WR read enable, DC data / command and CS chip selection
8080 bus has many interfaces: 8 / 9 / 16 / 18 bit interface
8080 general timing
Read timing
LCD_CS = 0; //Film selection
LCD_DC = 1; //Read data
LCD_WR = 1; //No writing
LCD_RD = 0; //Start readin ...
Added by Kazlaaz on Sat, 26 Feb 2022 12:59:07 +0200
EEPROM reading and writing experiment
More exchanges, welcome tiktok, 81849645041
target
The slave device EEPROM can read and write data.
principle
EEPROM is a memory that does not lose data after power failure. It is often used to store some configuration information for loading when the system is powered on again. The most commonly used communication mode of EEPROM chip is I2 ...
Added by Japher on Sat, 26 Feb 2022 12:21:49 +0200
STM32---DHT11 temperature and humidity module
DHT11 module
DHT11 is a wet temperature integrated digital sensor. The sensor includes a resistive humidity measuring element and an NTC temperature measuring element, and is connected with a high-performance 8-bit single chip microcomputer. Through the simple circuit connection of MCU and other microprocessors, the local humidity and t ...
Added by Addos on Thu, 24 Feb 2022 08:47:47 +0200
STM32G431 serial port DMA transmission
1. Introduction to G4 series DMA
First, introduce the DMA of G4 series. Although the G4 series of 32 is based on the M4 kernel, its DMA channel mapping is quite different from the common F407. First, paste some pictures in the reference manual: I don't know what you can think of after seeing these two pictures. I believe friends who have see ...
Added by MinDFreeZ on Thu, 24 Feb 2022 04:38:19 +0200
[STM32] 2.4G wireless module nRF24L01 driver writing instructions
1, nRF24L01 + module introduction
nRF24L01 + is a single-chip 2.4GHz transceiver suitable for ultra-low power wireless applications. NRF24L01 + is designed to operate in the global ISM band of 2.400-2.4835GHz. to design a radio system using nRF24L01 +, only a single chip microcomputer (microcontroller) and some external pas ...
Added by shinoshi on Tue, 22 Feb 2022 05:19:39 +0200
STM32 basic review - detailed explanation I ² C (GPIO analog I2C)
preface
This blog is based on your own needs and the needs of the interview position, so I specially come to learn the two common communication protocols SPI and IIC again. The development board used here is STM32F03_MIN I also hope this blog can be of some help to you!
IIC protocol
I ² C. Usually read as "i-Party C", ...
Added by thepriest on Mon, 21 Feb 2022 14:38:43 +0200
Performance of sensor in HAL layer
Sensors are often used in daily life, such as stair lights in buildings, street lights on roads and so on. So what is the role of sensors in mobile phones in particular? Android phones provide acceleration sensors, magnetic fields, directions, gyroscopes, light, pressure, temperature and other sensors. In Android system. The code distribution i ...
Added by beckjoh on Wed, 16 Feb 2022 16:15:54 +0200
100ask seven day Internet of things training camp learning notes - bare metal program framework design
1. Preface
Signed up for the seven day Internet of things smart home training camp organized by 100ask. I talked about the basics 2 hours in the morning and advanced 2 hours in the afternoon. After two days of study, I really feel more enriched. In the next few days, I will successively record the key points, difficulties and my understanding ...
Added by James Bond 007 on Wed, 16 Feb 2022 15:50:50 +0200