Summary of video game knowledge points 17: DDS

DDS 1 DDS 1.1 DDS core idea 1.1.1 phase amplitude table of sine wave: It has a sufficiently fine phase step. N is the serial number of data, phase is the phase, Am is the calculated value of sine wave, and Data_10 is the hexadecimal representation of 10 bit digital quantity, which is described by a 10 bit DAC, in which the actual value ...

Posted by viktor1983 on Tue, 08 Mar 2022 21:20:34 +0100

STM32F4--PWM control LED flickering (breathing lamp)

1, Experimental principle Analysis: the clock is 84Mhz, the frequency is 84, the ARR is set to 500, the clock obtained by the counter is 84M/84=1 Mhz, and the counting time is 0.5ms In the main function, the modification time I set is 2ms once. As shown in the figure, set PWM1 mode, and the output polarity low level is valid. That is, when t ...

Posted by ttmt on Tue, 08 Mar 2022 13:58:08 +0100

STM32 introduction notes (02): GPIO working principle - GPIO general and AFIO multiplexing function I/O (SPL library function version)

Leading knowledge 1.STM32 introduction notes (02): SPL standard peripheral driver library (library function version) operation experiment GPIO principle STM32 model description Stm32f103zet6: 144 pin, 512K flash memory 7 sets of IO ports (GPIOA... GPIOG)16 IO ports per groupTotal: 112 IO ports STM32F103RCT6: 64 pin, 256K flash ...

Posted by Beavis2084 on Sun, 06 Mar 2022 12:00:34 +0100

Graffiti module development (pressure sensor HX711) - 4 Graffiti module data communication

summary Graffiti intelligence (NYSE: TUYA) is a leading technology company committed to making life smarter. Graffiti provides a cloud platform that can connect everything intelligently, creates an interconnected development standard, connects the intelligent needs of brands, OEM s, developers, retailers and various industries, and graffit ...

Posted by ScotDiddle on Sat, 05 Mar 2022 20:36:38 +0100

[uCOS] uCOS II system startup and clock

All ideas come from this blog: [chuangkehai] [operating system principle and embedded UCOS-II teaching video collection] [one week series] And µ C/OS-II tutorials Analysis of startup process of UCOS II system In embedded system, startup is divided into hardware startup and software startup. For example, there are many ARM cores. Har ...

Posted by Jean-Yves on Sat, 05 Mar 2022 08:15:00 +0100

6. S32K14X learning notes S32K14X-ADC learning notes

S32K14X-ADC learning notes S32K14x includes two 12 bit ADC modules: ADC0 and ADC1; The S32K11x only contains a 12 bit ADC module: ADC0. 1. Number of ADC channels Each ADC supports up to 32 external analog input channels, but the exact ADC channel number appearing on the device is different from the software package shown in the table ...

Posted by thebusinesslad on Fri, 04 Mar 2022 19:52:26 +0100

CMake Build project template

summary: CMake is a more advanced compilation and configuration tool than make. It can generate corresponding Makefile or vcproj projects according to different platforms and compilers. By writing cmakelists Txt, you can control the generated Makefile to control the compilation process. We often use the Makefile automatically generated by CMa ...

Posted by Boozi on Fri, 04 Mar 2022 10:08:17 +0100

STM32 analog IIC + color recognition TCS34725

STM32 analog IIC + color recognition TCS34725 1, Hardware parameters 1. Parameters and interfaces VCC3.3/5V power supply positiveGNDPower groundSDAI2C data inputSCLI2C clock input 2, Communication protocol 1.IIC sequence diagram It is known from the I2C sequence diagram that I2C communication, I2C communication, a data line and a clock li ...

Posted by pinxxx on Thu, 03 Mar 2022 19:17:20 +0100

c language heap, stack, data segment, code segment and bss segment

Program memory allocation The memory occupied by a program compiled by c/C + + is divided into the following parts 1. Stack - automatically allocated and released by the compiler to store the parameter values of functions and the values of local variables. Its operation mode is similar to the stack in the data structure. 2. Heap - generally al ...

Posted by johnkperks on Wed, 02 Mar 2022 12:34:30 +0100

The 7th Blue Bridge Cup single chip microcomputer provincial competition (code + analysis)

  First of all, let's talk about the process of writing code (take this as an example and don't repeat it): Whether it is a provincial or national competition, I will find that the nixie tube display and matrix keys are essential, so my first step is to restore the content of the dynamic nixie tube, and let the nixie tube display the conten ...

Posted by langemarkdesign on Sun, 27 Feb 2022 14:24:57 +0100