STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

TIM I2S using SPI

Hello Everybody,I am trying to emulate I2S using the SPI interface on the STM32F103.I have looked at the AN5086, but setting up the timer correctly is still unsuccessful.The SPI-CLK is connected to the TIM2 via Channel configured as "input capture di...

PGild.1 by Associate III
  • 1787 Views
  • 5 replies
  • 0 kudos

Resolved! Fast ADC polling with STM32F466?

Hi,I want to permanently sample ADC data with an ST32F466. Timing is not important, so the idea is to do that out of the main loop. So my idea is, whenever there is some time and whenever the main-loop reaches the related position in code, it reads o...

BSchm.6 by Associate III
  • 852 Views
  • 2 replies
  • 0 kudos

HRTIM external synch

Hi,I am using STM32G474 with STM32CubeIDE.I need to output the pin HRTIM_SCOUT from the master IC to another IC that will work as slave. I am trying for so long... but it is not working.Here is a piece of code that can help understand what I am doing...

DKuro.1 by Associate III
  • 761 Views
  • 1 replies
  • 0 kudos

X-CUBE-STL/ IEC60335 STM32F4SelfTest

Dear Sir/ Madam,Currently I am using on STM32CubeIDE the STM32F415RGTx. I want to implement in my code a series of safety tests in order ensure that everything is working as intended. I found two options regarding this issue:X-CUBE-STL libraryIEC6033...

AMavr.1 by Associate
  • 946 Views
  • 1 replies
  • 0 kudos

HRTIM single shot burst generation

Is it possible to configure HRTIM to generate single burst of "n" pulses (triggered by external signal) ?It is simple to do with advanced timers (TIM1, TIM8). Just enable "one-shot" mode, set repetition counter to "n", set period and compare channel ...

I want use ADC on stm32f030k6t6 with two channel, and using DMA to set regular value, I config it in stm32cubemx,but I don't know how to start conversion and wait conversion stop correctly, I need someone help or some example, in LL library, thanks.

in generated code, I don't find dma set memory address, so I add uint16_t regular_data[2];   ...... LL_DMA_ConfigAddresses(DMA1, LL_DMA_CHANNEL_1, LL_ADC_DMA_GetRegAddr(ADC1, LL_ADC_DMA_REG_REGULAR_DATA), (uint32_t...

eyan.11 by Associate
  • 961 Views
  • 1 replies
  • 0 kudos

How to debug Timer interrupt

Hi all, Is there any method to debug timer interrupts using VSCode? I am currently using the STM32G4 series. it would be really nice if anyone can point out a way to debug.I am using OpenOCD. Thanks Roshan

Roshan by Associate III
  • 2279 Views
  • 4 replies
  • 0 kudos