Ask questions, find answers, and share insights on STM32 products and their technical features.
Hello,I am observing a strange behaviour of the first few PWM pulses after a change in duty cycle. I use HAL_TIM_PWM_Stop, HAL_TIM_ConfigChannel (with the changed Pulse) and then HAL_TIM_PWM_Start. What happens is that for around 1 millisecond the ...
The line where the external interrupt is set SYSCFG->EXTICR [2] |= (3 << 12); I want to set it for port D pin 10. How the masking and unmasking is done for port D?
Hi,I am designing a st board for the first time. First, we made all the improvements on the blue pill, which is STM32F103C8T6. When this wasn't enough, we switched to STM32F103RCT6.I am currently drawing a schematic of this card and was confused in ...
Hi everyone!I'm implementing a 4k XMODEM bootloader for the STM32G030F6. The application starts at 0x08001000 (page 2)I want to erase page 2 (0x08001000 - 0x080017FF) and only program rows 17 to 19 (0x08001100 - 0x080017FF). I want to save row 16 in ...
Hallo. In other mcu (not ARM) i’ve worked in the past, there were possibe to move some parts of time critical code to ram, and run them from there to get the best performance, since the flash mamory access were slower then the ram access. In STM32 mc...
Hello, I would like to know if it is possible to measure the length of a really long and thin copper wire. The length ranges between 5 - 15 km. I think TDR (time domain reflectometry) would be the best method for it. My plan is to generate a pulse wi...
Hello, I am trying to integrate an AT24CM02 into my project. Can anyone suggest any libraries compatible with HAL? your help is much appreciated. Thank you and best regards, Vouria
Would be the part of the program code executed faster if its section was linked to be moved from flash to ram on startup? This code is executed many times.
void vcom_IRQHandler(void) // external interrupt for USART2_IRQHandler { HAL_UART_IRQHandler(&UartHandle); USER_UART_IRQHandler(&UartHandle); } void USER_UART_IRQHandler(UART_HandleTypeDef *huart) { if(USART2 == ...