STM32 MCUs Products

Ask questions, find answers, and share insights on STM32 products and their technical features.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Timer, DMA and ARR preload question

I need generate some pattern at GPIO outputs (in defined times i have to write some known combinations on outputs) as reaction on external trigger signal. I've let external signal to trigger timer (thru TRGI). I'am using TIM_CC event as DMA request w...

Pwm mode stm32

How can I use PWM output pulse in my program?Normally the PWM mode for instance for TIM1 will be generated on pin PA8, but I want to use the PWM signal internally in my code. How is it applicable?

AKh.1 by Associate II
  • 1652 Views
  • 7 replies
  • 0 kudos

Unexpected behaviour with using STM32 QSPI over HAL

I am using the QSPI (or dual-SPI) interface of the STM32L452 to create instructions for an LED driver using the HAL. I have managed to get it to work but I have to set quite absurd configuration options for the command to make it work.Here's my initi...

0693W000006EkvPQAS.png 0693W000006EkvUQAS.png
chmanie by Associate
  • 841 Views
  • 2 replies
  • 0 kudos

How to inject your own data into the I2S line with DMA

Hi guys, as the question suggests,Mentioned by many, to fully learn how the I2S behave I must use my own valid data, so I can see what happens to it.I am having a bit of problems getting this guy to worked, I want this to implement a DMA to emulate t...

CLeo.1 by Senior II
  • 1427 Views
  • 2 replies
  • 0 kudos

Resolved! STM32F446 I2S fails to work

Hi,I have setup STM32F446 MCU such that, when pressing the user blue button, it will trigger an external interrupt. Inside the interrupt routine, it contains the I2S receive function:void HAL_GPIO_EXTI_Callback(uint16_t GPIO_Pin){ int16_t audio_buff...

CDave.1 by Associate II
  • 2083 Views
  • 5 replies
  • 0 kudos

Resolved! Hello All I am implementing a simple application using STM32F205 and UART. I have enabled UART as global interrupt. I want the program to detect \r or \n in a string that is received continuously.

I wish to print "String recieved" if /r or /n is detecetd otherwise i wish to print "Error" .The problem is after detecting the first string i receive an output "String Received" After which i also receive error message. I have doubt if i have implem...

NSirm.1 by Associate III
  • 852 Views
  • 3 replies
  • 0 kudos

Is it just a lack of consistency in HAL drivers?

I have my clock configured to external crystal 80MHz but accidentally I connected another board without crystal. STM32 started OK using internal oscillator at 4 MHz - HAL_Delay works fine, UART works fine but I2C is very slow. It looks like I2C HAL l...

RZasa.1 by Associate III
  • 1098 Views
  • 5 replies
  • 0 kudos