Ask questions, find answers, and share insights on STM32 products and their technical features.
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...
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...
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 ...
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...
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
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...
STM32F407There are only two lines in the code that I wrote.HAL_TIM_PWM_Start(&htim4, TIM_CHANNEL_2);TIM4->CCR2=3;The pin is activated when the number in the CNT register and the CCR2 register match.The pin is deactivated at the end of counting in the...
Hello,I am trying to set up a CAN Data Frame receive interruption on a STM32F0-DISCOVERY board. The interruption seems to jump for all other IER register elements, but not for the RX. Stopping the processor execution on debug and checking the status ...