Location:
Search - STM32 DMA A
Search list
Description: STM32的ADC代码例程,有5个例子,分别说明了采用查询、中断、DMA等方式的ADC程序。-STM32 of ADC code routines, there are five examples, respectively, using inquiry, interrupt, DMA, such as the ADC program.
Platform: |
Size: 43008 |
Author: caoyingchun |
Hits:
Description: STM32的一个演示例子
其中包括AD两通道采样(一个模拟输入 一个内置温度传感器) DMA传输和USART模块的应用。
代码全部原创 具有很高的参考价值-STM32 a presentation including examples of two-channel AD sampling (one analog input of a built-in temperature sensor) DMA transmission and USART module applications. All original code has high reference value
Platform: |
Size: 1155072 |
Author: 刘大川 |
Hits:
Description: stm32下实现adc 16通道检测代码例子,已经测试可以检测正确了-adc 16 under stm32 channel detection code examples have been tested can detect the correct
Platform: |
Size: 2048 |
Author: 吴名 |
Hits:
Description: Stm32 通过串口访问GPS模块然后将数据加工后传给电脑或者上位机,用来计算两个GPS模块之间的距离。
-Stm32 module through the serial port and then visit the GPS data to a computer after processing or PC, used to calculate both the distance between the GPS module.
Platform: |
Size: 1118208 |
Author: liliang |
Hits:
Description: 首先要说:是我自己写的你他地方下不到!
这是一个用PWM播放.wav歌曲文件的程序,歌曲本身已经被和代码一起固化到FLASH中了,想要听到美妙的歌曲你只需要把PB0经过一个滤波放大电路接到蜂鸣器或耳机插孔上,并把程序下到你的STM32中运行就可以了。
另外,看看这篇关于PWM播放.wav的文章:http://wmx0901.blog.163.com/blog/static/10320222020097171727367/edit/-First of all, to say: I wrote it myself, he places less than you! This is a PWM player with. Wav files songs, songs and the code itself has been with the curing of the FLASH, and you want to hear the wonderful songs you have to do to go through a filtering PB0 received buzzer amplifier or headphones jack, and the procedures to run your STM32 it. In addition, take a look at this on the PWM player. Wav article: http://wmx0901.blog.163.com/blog/static/10320222020097171727367/edit/
Platform: |
Size: 1145856 |
Author: wmx0901 |
Hits:
Description: stm32 DMA控制USART发送数据,每隔一段时间发送一次-Stm32 DMA control USART to send data, send once for a while
Platform: |
Size: 2048 |
Author: 才名义 |
Hits:
Description: STM32例子 AD两通道采样(一个模拟输入 一个内置温度传感器) DMA传输。 -STM32 a presentation including examples of two-channel AD sampling (one analog input of a built-in temperature sensor) DMA transmission
Platform: |
Size: 1152000 |
Author: 万圣 |
Hits:
Description: 在STM32的I2C上摔了一跤,测试了官方提供的几个例程和库,都有不同缺陷,也无法弥补:
1、查询方式,在连续读数据的过程中不能中断
2、DMA方式类似,在同一DMA中I2C的级别必须最高,否则同1.
3、中断方式也不能有更高优先级中断I2C,否则同1.
鉴于以上原因,无奈的口线模拟了I2C。(仅仅代表个人看法,欢迎指正)
附件中的项目文件已经过测试,为感谢OUR这几年的帮助,先开源这个小程序-I2C on the STM32' s fall, the official offered few tested routines and libraries, have different defects, can not make up: 1, query methods, in a continuous process of reading the data can not be interrupted 2, DMA similar to at the same level of DMA in the I2C to be the highest, or with 1.3, can not interrupt higher priority interrupt I2C, or with 1. For these reasons, but unfortunately the port line to simulate the I2C. (Only represent my personal views, please correct me) the attached project document has been tested and OUR for the past few years thanks to help, first open the applet
Platform: |
Size: 38912 |
Author: yongge |
Hits:
Description: stm32 的I2C若并容易实现,调试也困难,现在有好办法了:中断、轮询、DMA三种方式任选-If the I2C stm32 and easy to implement, debug and difficult, there are a good way: the interrupt, polling, DMA optional three ways
Platform: |
Size: 2725888 |
Author: weilei |
Hits:
Description: THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.
Platform: |
Size: 144384 |
Author: VV |
Hits:
Description: 用stm32f103实现adc多路输入,并使用到dma-Adc with stm32f103 achieve multi-channel input, and use the dma
Platform: |
Size: 4447232 |
Author: 刘飞 |
Hits:
Description: 自学原创,基于STM32红牛开发板写的,AD采样然后由DMA方式传到DA再输出的程序,是学习STM32的DMA功能的简单案例。-Original self-study, based on STM32 development board to write the Red Bull, AD sampling and then transmitted by the DMA mode and then the output of the DA process, the STM32 DMA function is to learn a simple case.
Platform: |
Size: 299008 |
Author: |
Hits:
Description: DMA传输方式无需CPU直接控制传输,功过硬件为RAM与IO设备开辟一条通道,是CPU效率大大提高-DMA transfers without CPU direct control transfer, merits and demerits of the hardware for the RAM and IO devices open up a channel, the CPU efficiency is greatly improved
Platform: |
Size: 303104 |
Author: ljl |
Hits:
Description: Stm32 DMA 编程代码,内容比较全面-Stm32 DMA programming code, the contents of a more comprehensive
Platform: |
Size: 70656 |
Author: 宫 |
Hits:
Description: 这是stm32 dma-adc的一个程序源码-This is a program source code stm32 dma-adc of
Platform: |
Size: 2470912 |
Author: 刘源 |
Hits:
Description: stm32f103zet6的DMA实验中断版本实验例程源码,带有注释,一目了然-The DMA interrupt stm32f103zet6 experimental test routines source version, with comments, at a glance
Platform: |
Size: 141312 |
Author: koko |
Hits:
Description: 使用STM32的DMA功能进行串口接收数据,进行了相关的配置,可以很好的理解使用情况-The use of STM32 DMA function to receive serial data, the relevant configuration, you can understand the use of a good
Platform: |
Size: 2695168 |
Author: 闫 |
Hits:
Description: DMA存储器具有触发ADC的TIM1定时器,将ST32时钟频率设置为1MHz实时采样率(DMA memory has a TIM1 timer to trigger the ADC, set the ST32 clock frequency to a 1MHz real-time sampling rate)
Platform: |
Size: 290816 |
Author: NING222
|
Hits:
Description: STM32作为主控芯片,72Mhz,利用DMA+PWM实现驱动WS2812,创建16个并行800kBit / s数据流的想法如下:
使用定时器每1.25us创建一个800kHz的时基和一个DMA请求。
使用2个比较模块在低位时间(350ns)和高位时间(700ns)下创建DMA请求
1.25us DMA请求将GPIO端口的所有位设置为高电平
350ns DMA请求将数据从帧缓冲区传输到GPIO端口。如果该位为0,GPIO引脚将变为低电平,否则将保持高电平。
700ns DMA请求将所有GPIO引脚设置为低电平。
重复步骤1到3,直到发送所有位。
这产生脉冲周期为1.25us,脉冲宽度为350ns或700ns的脉冲流,具体取决于脉冲表示的位值,通过DMA将数据传输到GPIO端口意味着每16个LED每位需要一个字(两个字节)。每个LED 24位,每16个LED 24个字(48个字节)。(The idea to create 16 parallel 800kBit/s data streams is the following:
Use a Timer to create an 800kHz time base and a DMA request every 1.25us.
Use 2 compare modules to create DMA requests at the low bit time (350ns) and the high bit time (700ns)
The 1.25us DMA request sets all bits of the GPIO port high
The 350ns DMA request transfers the data from the frame buffer to the GPIO port. If the bit is a 0, the GPIO pin will go low, otherwise it will stay high.
The 700ns DMA request sets all GPIO pins low.
Repeat steps 1 to 3 until all bits have been transmitted.
This creates a stream of pulses with a pulse period of 1.25us and a pulse width of either 350ns or 700ns depending on the bit value the pulse represents.
Transferring the data via DMA to the GPIO port means that per 16 LEDs one half word (two bytes) is needed per bit. At 24 bits per LED that makes 24 half words (48 bytes) per 16 LEDs.)
Platform: |
Size: 2373632 |
Author: spt
|
Hits:
Description: 初学者学arm的一款非常好的资料,内容详细,讲解细致(Beginners learn arm a very good information)
Platform: |
Size: 1583104 |
Author: 交换机
|
Hits: