Forum Posts
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
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...
PWM mod. Where in the code is the microcontroller pin enabled and disabled?
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...
Resolved! CAN Receive Interruption not working on STM32F0-DISCOVERY
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 ...
Resolved! A way of distinguishing between different series of STM32 ?
Hi!I am working on a project with stm32h757 and soon we will be switching to stm32h747. i need a way to know (using SW) on which processor i am working with.is there some type of register that holds this info?I saw the 96b UID but as i understad it ...
Resolved! need help with transmiting data from UART based on DMA on stm32f407
hey,i am new to stm, recently i was asked to transmit data from uart based on dma instead of using interrupts that uses the cpu resources.are there examples or instruction of how to do it? i am searching for 2 days and cant find somthing usefull.
My Code does not start for a while, and automatically starts, I want to know reason behind this behavior
Hello Everyone,For some reason my STM32F407 MCU with specific board has problematic issues in the start. If I connect 3 different cards to its UART channels, which utilizes DMA, it does not start directly and after a while (which corresponds to 1 sec...
How to add Cortex-M33 to TrueSTUDIO ?
I know TrueSTUDIO is tagged as obsolete, but I like to use it.The STM32H5 use Cortex-M33 core, then how to add M33 support?I already upgraded TrueSTUDIO to support GCC 10.3.1 and recent loaders and SVD files. It would be nice to use M33 cores with Tr...