STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

PWM TIM3

Hi,I am using STM32 F303 VCT6 and want to output PWM signal on TIM3, TIM2.I followed the instructions in some video to build the code using STM32CubeMX.I set the Clock Source for both timers to 'Internal Clock'.I set all four channels for bother time...

Ala1980 by Associate II
  • 1118 Views
  • 6 replies
  • 0 kudos

Invalid package data in a Nucleo F767ZiT6

Hello,I am trying to read the package type on a STM32F767Zi Nucleo board and instead of getting the correct value of 0x010, I am getting 0x111.Can you please tell me what is the problem?Is the register address wrong?Is the table of values wrong?I hav...

exit STANDBY every second from RTC on STM32F100RBT

Hello, I'm using STM32F100RBT. How can I use HAL_RTCEx_SetSecond_IT to exit STANDBY mode?I'm able to exit STANDBY using ALARM, and able to get an interrupt every second using HAL_RTCEx_SetSecond_IT , but I can't wake up from standby with it.What shou...

ISeed by Senior
  • 770 Views
  • 1 replies
  • 0 kudos

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
  • 756 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
  • 394 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
  • 550 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;};