STM32 timer triggers ADC multi-channel continuous sampling, and DMA caches the results

The ADC of STM32 is very flexible. In terms of sampling trigger, it supports not only software trigger, timer or other hardware circuit automatic trigger, but also automatic trigger of the next channel / round conversion after conversion. Storage of conversion results: it supports not only software reading and transfer, but also DMA automatic s ...

Posted by Snake PHP on Mon, 31 Jan 2022 10:16:58 +0100

[lianshengde W806 starting notes] IX. DMA

Windows 10 20H2 HLK-W806-V1.0-KIT WM_SDK_W806_v0.6.0 From W806 MCU chip specification V2.0 and WM_W800_register manual V2.1 DMA controller It supports up to 8 channels and 16 DMA request sources, and supports linked list structure and register control. Amba2.0 standard bus interface, 8 DMA channels Support DMA operation based on me ...

Posted by pipe_girl on Thu, 27 Jan 2022 18:14:06 +0100

STM32F103 SPI (pit Diary)

1.SPI protocol SPI is the abbreviation of Serial Peripheral Interface. It is a high-speed, full duplex and synchronous communication bus, and only occupies four wires on the pins of the chip. They are the following four MISO – Master Input Slave Output, master equipment data input and slave equipment data output;MOSI – Master ...

Posted by Synergic on Thu, 20 Jan 2022 20:14:19 +0100

NXP S32K1 DMA module Driver

summary By analyzing the official S32SDK of NXP S32K1, this paper analyzes its DMA code, so as to better use DMA in the future. virtual channel In MCU, there may be 1- multiple DMA instances, and each instance has several different numbers of DMA channels. Therefore, the concept of virtual channel is introduced into the DRV of S32SDK to ...

Posted by alexville on Thu, 06 Jan 2022 13:18:28 +0100

STM32 interrupt and DMA communication programming

1, Experimental principle The whole process of interrupt is divided into interrupt occurrence → interrupt processing → interrupt return. Interrupt occurrence: when the CPU is processing an event A, another event B occurs and requests the CPU to handle it quickly.Interrupt processing: when the CPU receives the request, it pauses t ...

Posted by jaygattis on Sat, 06 Nov 2021 21:16:30 +0100