STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

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
  • 933 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
  • 816 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
  • 1014 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
  • 1031 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
  • 2493 Views
  • 4 replies
  • 0 kudos

cubeIDE, stm32F407ZGT6 with HAL. Config. generated by IOC. SEGGER J-Link debugger. Most basic program w/ 1 GPIO pin driving a LED based on HAL_SysTicks. HSE 12 MHz.HCLK 168 MHz.(or any other freq. same behavior).

Problem: During HALL_Init(), when executing macro __HAL_RCC_SYSCFG_CLK_ENABLE() the interrupt vector table is overwriten w/ garbage.At first interrupt generated by TimeBase (SysTicks) debugger gets a SIGTRAP @ 0x1fff3744 outside of program code. Int...

JIVAN.1 by Associate
  • 843 Views
  • 3 replies
  • 0 kudos