STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Setup TIM8 for Output Compare interrupts is not working

Hi everyone.I'm trying to setup the timer TIM8 in order to generate interrupts, using compare registers for this purpose. My intention is to use all the availablechannels. I'm testing with a first stop of 150 ticks (150us), but it never stops. The fu...

areify by Associate II
  • 944 Views
  • 5 replies
  • 0 kudos

Write to flash memory with Trustzone actrive in STM32L5

Hey evryone,I can't write to memory flash when TZEN = 1 (e.g trustzone is active) , i hav no error return !I call this fucntions from secure side : HAL_FLASH_Unlock();   HAL_FLASH_Program(FLASH_TYPEPROGRAM_DOUBLEWORD, FlashAddr, FlashData);   HA...

simoBen47 by Associate III
  • 626 Views
  • 1 replies
  • 1 kudos

how to generate PWM with delay

I can generate PWM using channels 1-4 but they would start at the same time.I want to generate one PWN and the other one would start with 500 us delay.Can somebody help with sample code. It is so easy with Arduino, there are so many sample codes, you...

MNapi by Senior III
  • 2082 Views
  • 8 replies
  • 0 kudos

ADC trigger on timer update

Posted on August 27, 2013 at 11:24Hello,I'm currently working on a brushless motor control application and i'm in the process of implementing the current measuring of the three phases. In order to do so, I need to synchronise the ADC sampling with t...

Resolved! I2C problem on some devices on STM32L432 but not STM32L433

I've got an issue that the STM32L432 on the Nucleo running a simple I2C I/F isn't working with a DHUT21 when exactly the same code on the 433 is fine. The same I2C code on both chips works fine with a BMP180 and many other devices. This is reproduci...

0690X000006D1xLQAS.jpg 0690X000006D1xGQAS.jpg

Resolved! Setting Up Clock UART RX TX Baudrate 9600

Hi Everyone!I am using the STM32407IG and i am trying to send data to another mcu chip via USART RX TX Pins.The Problem is when i run it via USB FS i don't get the baud rate adjusted.How can i setup the Clock for a Baud rate of 9600?That's my clock s...

arduo by Senior
  • 773 Views
  • 3 replies
  • 1 kudos

I am SPI DMA working on STM32F7, but when i try to shift the same to STM32H7 i am not able to get it working. I am not gettin DMA callback.

I am only using DMA to receive data continuously so when i want to receive data I am swithcing modes from full duplex to receive only. this whole pattern was working on F7 but not able to get it working on H7.I have followed some solutions given on S...

sgand.16 by Associate
  • 497 Views
  • 2 replies
  • 0 kudos