STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

N-pulse waveform generation using STM32F767

Hi,I'm using STM32F767, Im trying to generate N-pulse waveform Generation but i couldn't achieve it.My TIMER configurations are static void MX_TIM2_Init(void){ /* USER CODE BEGIN TIM2_Init 0 */ /* USER CODE END TIM2_Init 0 */ TIM_ClockConfigTypeDef s...

VPras by Associate II
  • 628 Views
  • 5 replies
  • 0 kudos

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
  • 695 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
  • 359 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
  • 2714 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
  • 1056 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
  • 703 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
  • 722 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
  • 367 Views
  • 1 replies
  • 0 kudos