Note: introduction and actual effect of simulated SPI

0x00 Preface Because it was mentioned earlier that for the relevant pin test of HC32F460, the author recently completed a simplified SPI bus according to the device, so put it on the MCU to test the effect. 0x10 introduction As an SPI simulator, he needs at least: A way of settingAn interface to view the current statusA write interfaceA rea ...

Posted by andrewb on Wed, 29 Dec 2021 07:05:40 +0100

SD card file reading

catalogue I Review global variables, local variables, heap and stack under Ubuntu system and STM32.         1. Programming verification in Ubuntu (x86) system and STM32(Keil) (1) code writing (2)ubuntu operation ​ (3)stm(keil) operation II Altium Designer 18 draws the system schematic design of a ...

Posted by chintansshah on Tue, 28 Dec 2021 23:55:35 +0100

04. Transplantation of W601 EasyLogger

04. Transplantation of W601 EasyLogger 1. Introduction EasyLogger It is an ultra lightweight (ROM < 1.6K, RAM < 0.3k) and high-performance C/C + + log library, which is very suitable for resource sensitive software projects, such as IoT products, wearable devices, smart homes, etc. Compared with the well-known C/C + + log libraries such ...

Posted by php4om on Tue, 28 Dec 2021 17:31:53 +0100

STM32 vernacular tutorial built-in key module and external key detection let you understand the key module

What input mode is used to detect the input level signal? Simply remember: Detection port input low level 0 requires pull-up GPIO_InitStructure.GPIO_Mode = GPIO_Mode_IPU; Detection port input high level 1 needs to use pull-down GPIO_InitStructure.GPIO_Mode = GPIO_Mode_IPD; You don't know the schematic diagram of your external key and wha ...

Posted by ifubad on Tue, 28 Dec 2021 00:03:00 +0100

Interpretation of STM32F103 super long article [STM32 accessing external flash]

Learning board: STM32F103ZET6 Previous Blogs: STM32F103 five minute introduction series (I) running lamp (library function + register) + Plus programming template + GPIO summary STM32F103 five minute entry series (II) seven registers of GPIO + GPIOx_LCKR function and configuration STM32F103 five minute introduction series (III) summary of co ...

Posted by kutyadog on Mon, 27 Dec 2021 22:12:05 +0100

The simplest DIY intelligent color lamp based on ESP8266 ② (RGB lamp is controlled by buttons and sliding bars on Web pages)

ESP8266 and ESP32 intelligent lantern development series article directory Part 1: the simplest DIY intelligent color lamp ① based on ESP8266 (use the button to light up the ordinary RGB lamp on the web page) Part 2: the simplest DIY intelligent color lamp based on ESP8266 ② (RGB lamp is controlled by buttons and sliding bars on Web pages) ...

Posted by scanreg on Mon, 27 Dec 2021 18:08:12 +0100

Popular understanding of STM32 SPI communication (master-slave dual computer SPI communication)

STM32 SPI communication High speed full duplex communication bus SPI communication uses three buses and chip select lines, the three buses are SCK, MOSI and MISO respectively, and the chip select line is NSS(CS) NSS signal line changes from high to low, which is the starting signal of SPI communication. NSS is the exclusive signal line of ...

Posted by WowAddict on Mon, 27 Dec 2021 17:56:43 +0100

Snake game based on 51 MCU and OLED screen

This article is to use 51 single chip microcomputer and OLED screen to realize a simple Snake game The 51 single chip microcomputer used is Puzhong 51 series. The OLED screen belongs to zhongjingyuan electronics. The specific objects can be purchased in a treasure OLED module: About OLED module correlation function and its application h and ...

Posted by onlinegs on Sun, 26 Dec 2021 18:58:41 +0100

10 51 single chip microcomputer - using counter to measure NE555 pulse frequency

4.10 use the counter to measure the pulse frequency of NE555 4.10. 1 Introduction to schematic diagram Figure 4-10-1   Figure 4-10-2 4.10. 2 introduction of counter mode of single chip microcomputer Two 16 bit timers / counters t0 and T1 set inside STC90C51RC/RD + series single chip microcomputer have two working modes: counting mode an ...

Posted by Thoaren on Sun, 26 Dec 2021 10:55:10 +0100

STM32 AS608 optical fingerprint module driver (common to HAL library and standard library)

working principle: If you want to look at the code directly, you can skip the principle, turn down directly, and then the code at the end AS608 mainly communicates through serial port 1. Buffer and fingerprint database The system is equipped with a 72K byte image buffer and two 512 bytes feature file buffers, named ImageBuffer, CharBuffer1 and ...

Posted by munuindra on Sun, 26 Dec 2021 01:51:31 +0100