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

I tried the Arbitrary waveform generation using timer DMA-burst feature but it doesn't work, can someone help me? F446RE

I'm trying to generate an arbitrary waveform on PA_5 pin, tim2 channel1 in PMW output, using stream5 channel3 DMAI tried to do exactly what is written on the application note AN4776 using a nucleo F446RE but it doesn't work here are all my code:dma.C...

YSall.1 by Senior
  • 2322 Views
  • 20 replies
  • 0 kudos

STM32F407 SPI1 Initialize wrong

Hello,I have problems to initialize my SPI1 interface, and send a request. My Logic Analyzer Says that, after powering without a STLink. SPI_HandleTypeDef hspi;   RFM23::RFM23() {}   bool RFM23::init() { hspi.Instance = SPI1; hspi.Init.Mode = S...

0693W00000QKCjRQAX.png 0693W00000QKCjSQAX.png 0693W00000QKClhQAH.png
Sany by Associate III
  • 847 Views
  • 3 replies
  • 0 kudos

Incorrect values by ADC on STM32H750

Hello!A simple setup to run the ADC1 in continuous conversion mode runs as expected, but the measured values are incorrect as inspected via the debugger console. When connecting the ADC1 input pin to GND or 3.3V volts the measured value doesn't chang...

CBrom.1 by Associate II
  • 1104 Views
  • 2 replies
  • 0 kudos

Configuring Idle State for Timers

HiI have successfully managed to configure and implement a TIM4 channel 1 as a PWM channel and connect it to DMA. Upon disabling the DMA after a transmit, the output goes high - this was the default and is desired. However, I've taken this further to...

NSR by Associate III
  • 4883 Views
  • 11 replies
  • 1 kudos

Resolved! Is there a maximum speed with DMA? (F446RE)

Hi, I am using DMA to generate an arbitrary waveform on PIN PA_8 using TIM1_CH1. My HCLK is at 180MHZ, APB2 timer clock at 180 MHz and APB2 peripheral clocks at 90 MHZ.Even though having this clock, when comparing the oscilloscope and the value of AR...

YSall.1 by Senior
  • 1447 Views
  • 5 replies
  • 0 kudos