STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

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
  • 2477 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