STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

I'm using TIM6-DAC-DMAMUX-DMA to create a periodic signal as shown in the following picture. The yellow curve is DAC output, and green curve is a toggled GPIO for debug. I catched an unexpected interrption time point which is described as followed:

Registers Setting: DMA_S0CR: MSIZE=PSIZE=16bit, DBM=1, MINC=1, CIRC=1, DIR=M2P, TCIE=1, EN=1DMA_S0NDTR = 8DMA_S0M0AR points to a buffer: 0x8000, 0x6000, 0x4000, 0x2000, 0x0000, 0x2000, 0x4000, 0x6000DMA_S0M1AR points to a buffer: 0x7000, 0x5000, 0x30...

0690X00000As6YlQAJ.jpg
Jerry1 by Associate
  • 750 Views
  • 1 replies
  • 0 kudos

Chaining Timers (STM32F303CCT6)

Hi all!,I want to create a function for this:-Generate a number of pulses (pNumber)-With a period of seconds (nSec)-And a Duty cycle of 150msFor example, if I create that function "Signal(pNumber, nSec)", and then I call it:Signal(10, 200);I will hav...

JAlca by Senior
  • 389 Views
  • 1 replies
  • 0 kudos

Resolved! TIM2, using TI2 external clock problem (STM32F303CCT6)

Hi all!,I want to use TIM2 to count tghe times a button is pressed.I connected the button to PA1, with a pulldown resistor. When the button is pressed, a hign pulse enters to PA1.I run this program, and read the TIM2->CNT, but it doesnt move.This is ...

JAlca by Senior
  • 541 Views
  • 2 replies
  • 0 kudos

ST32F413 undead DMA stream refuses to stop

I have a hang on the line below; the DMA stream seems unwilling to stop.Anybody seen this behavior before? Any work-around?Thanks!Best Regards, Davewhile(DMA2_Stream6->CR & DMA_SxCR_EN) {DMA2_Stream6->CR &= ~DMA_SxCR_EN;};

How to plot real time data in GUI.

I am trying to plot real time data in GUI.But when i run the program of GUI,it shows graph in MATLAB instead of GUI.I am just using command in GUI: run('matlab file name '). Code is written in matlab and calling this file in GUI.Thanks.

Mohan1 by Associate III
  • 420 Views
  • 0 replies
  • 0 kudos

HRTIMER input frequency

Can the HRTIMER input frequeny be lower than the maximum value given in the datasheets? E.g. on a G74 with HRTIMER input at 125 MHz, steps would be nice 250 ps versus 188.2... ps at 170 MHz.The functional description "HRTIM timer is made of a digital...