随笔分类 - STM32
摘要:The Timers can be cascaded to make more complex timing relationships, or longer periods.Internally only some timers can trigger others.This is a Maste...
阅读全文
摘要:STM32 SPI DMA 的使用 一是想总结一下SPI总线的特点与注意点,二是总结一下SPI DMA的使用一、SPI信号线说明 通常SPI通过4个引脚与外部器件相连:MISO:主设备输入/从设备输出引脚。该引脚在从模式下发送数据,在主模式下接收数据。MOSI:主设备输出/从设备输入引脚。该引脚在...
阅读全文
摘要:The STM32 SPI and FPGA communicationSTM32 spi bus communicationSPI bus in the study, the protocol and hardware description is not to say that the four...
阅读全文
摘要:HOWTO: Use STM32 SPI half duplex modeI’ve got my hands onto some STM32F030F4P6 ARM-Cortex M0 processors.Though touted as “32 cents 32-bit micro”, it i...
阅读全文
摘要:NSS分为内部引脚和外部引脚。NSS外部引脚可以作为输入信号或者输出信号,输入信号一般用作硬件方式从机的片选,而输出信号一般用于主SPI去片选与之相连的从SPI。NSS从设备选择有两种模式:1、软件模式可以通过设置SPI_CR1寄存器的SSM位来使能这种模式,当它为1时,NSS引脚上的电平由SSI决...
阅读全文
摘要:Master configuration When a timer is selected as a master timer, the corresponding trigger output signalis used by the slave internal trigger (when co...
阅读全文
摘要:参考:STM32的PWM输入模式设置并用DMA接收数据Input capture modeThe input stage samples the corresponding TIx input to generate a filtered signal TIxF.Then, an edge dete...
阅读全文
摘要:Bits 15:13 Reserved, must be kept at reset value.Bits 12:8 DBL[4:0]: DMA burst lengthThis 5-bit vector defines the number of DMA transfers(the timer d...
阅读全文
摘要:Serial Wire Debugging the STM32 via the Bus Pirate2 October 2010Step 1 - The Bus PirateStep 2 - Debug Port CommunicationsStep 3 - Access Port Communic...
阅读全文
摘要:I want to setup an application, where a single trigger-factor (compare-match of a timer) shall request mutliple DMA streams (I.e. set new timer-value ...
阅读全文
摘要:This is a more free standing example measuring the LSI (TIM5_CH4 internally)and demonstrating DMA/TIM capture with granularity of APB1 * 2// STM32F4-D...
阅读全文
摘要:Hello,I'm working with a STM32F407 controller board.Right now, I want to trigger a DMA transfer with one of the internal timers (TIM1). The DMA transf...
阅读全文
摘要:Ok, so quickly mashing up another example using a different TIM, DMA Stream/Channel for illustration,outputting via GPIOC[0..7] although PC0 is confli...
阅读全文
摘要:Data transfer from GPIO port to RAM buffer using DMA upon receiving a trigger signal on the timer capture input channel.Our requirement is to configur...
阅读全文
摘要:The DMA channels can also work without being triggered by a request from a peripheral.This mode is called Memory to Memory mode.If the MEM2MEM bit in ...
阅读全文
摘要:http://www.efton.sk/STM32/bt.c// Timer-triggered memory-to-memory DMA transfer demonstrator for STM32F4xx (probably good enough for STM32F2xx too)// N...
阅读全文
摘要:/******************************************************************************* 编译环境: EWARM V5.30 硬件环境: DZY2.PCB STM32 FW: V3.0.0 作者 : szlihongtao ...
阅读全文
摘要:参考 :STM32输入捕获模式设置并用DMA接收数据PWM input modeThis mode is a particular case of input capture mode.The procedure is the same except: Two ICx signals are ma...
阅读全文
摘要:AN2820 Driving bipolar stepper motors using a medium-density STM32F103xx microcontrollerIntroductionThis application note describes how to achieve com...
阅读全文
摘要:AN2548 --使用 STM32F101xx 和 STM32F103xx 的 DMA 控制器DMA控制器DMA是AMBA的先进高性能总线(AHB)上的设备,它有2个AHB端口:一个是从端口,用于配置DMA,另一个是主端口,使得DMA可以在不同的从设备之间传输数据。DMA的作用是在没有Cortex-...
阅读全文