STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

I2S Slave Receive issue losing sync

All,I am completely stuck with this problem I am facing where I2S receiving data seems to lose its sync with master. I am using STM32F412CG MC. When I power the MC, it receives data from master device, and plays back nicely. Next time when master sto...

ARash by Associate II
  • 620 Views
  • 1 replies
  • 0 kudos

STM32F3 RTC Update issue

Hi All,I am trying to sync stm internal RTC by GSM. Now I am facing some issue. whenever I get the time from network I have to RESET the controller to get the network time.Do I have to reset the controller every time when ever I sync the RTC or there...

ASaxe by Associate II
  • 323 Views
  • 0 replies
  • 0 kudos

Resolved! STM32F030F4 TIM17 how to set master mode (TRGO source)?

STM32F0 reference manual 13.4.3, TIM1_SMCR description, Table 45 says that setting the TS bits to 011 selects TIM17 as the trigger source. That's fine, because I want to start TIM1 and TIM17 at the same time.However, the description of TIM17 has no m...

berendi by Principal
  • 2300 Views
  • 14 replies
  • 0 kudos

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
  • 935 Views
  • 6 replies
  • 0 kudos

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
  • 617 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
  • 636 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
  • 299 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
  • 428 Views
  • 2 replies
  • 0 kudos