User Activity

Folks,I’m grappling with what looks like a low level bug** , and the root cause could be running out of stack space.  At the same time, I’ve got plenty of unused RAM, so I’d like to increase the stack size as a diagnostic measure, and see if the bug ...
Folks,Does HAL have constants for the total number of ADC channels? I want to iterate through all channels and make sure that all of them are disabled.  Here's the code I have in mind.   ADC_ChannelConfTypeDef sConfig = {0}; sConfig.Rank = ADC_RAN...
Colleagues,What should be done in firmware for VBUS detection through a GPIO pin?  My device is self-powered, so I have to do VBUS detection. The device is built around STM32G474, and it doesn’t have a dedicated pin for VBUS detection, so I have to d...
Colleagues,Here’s a code snippet which changes the state of two GPIO lines with delays in between.[My actual firmware has more code, and I’ve reduced it to this condensed example which still has the issue.] HAL_GPIO_WritePin(LED_DRIVER_ENABLE_GPIO_Po...
Colleagues,I’ve made a custom board with STM32L082KZ. I was able to upload firmware and debug for several days. But today I can’t upload firmware, and the NRST pin is acting strangely.The setupI’m using ST-link V2 and STM32cubeIDE 1.13.0 .My entire b...
Kudos given to