Forum Posts
STM32L476: Code runs into Reset Handler if Interrupts get activated although no Interrupts are triggered
Hi,I have some code running on a Nucleo-STM32L476 which keeps running into the Reset Handler. But this does not cause a boot loop, instead the code just gets stuck there (the PC register points to the first line of assembler of the reset handler).I m...
Resolved! Problem READING PIN
Hello everyone, I am trying to read one pin with the HAL libraries, but i can not. This is my configuration: 1) I want to read the "BUTTON" pin ( PB3/PB4/PB5/PB6 ) 2 I am doing this: GPIO_InitStruct.Mode = GPIO_MODE_INPUT; GPIO_InitStruct.Pull = GP...
Resolved! correct use of GPIO_Analog
Hello. I have a question about the correct use of GIPO_Analog.wanted to read this value.I also want to know if the value can vary between 0 to 4095 as when the ADC is used.am I using an MCU that I use Nuclo-F446RE?
Are these Memory segmentation Problems even possible?
Hi, I am new to using 32 bit microcontrollers and have been using 8 bit controllers previously. In my 8 bit controllers I had several uint8_t and uint16_t variables.Does a 32 bit microcontroller access 4 bytes of data in memory at once? If yes, can t...
Resolved! STSPIN32F0 And STSPIN32F0A
I **** to buy STSPIN32F0A,but the IC's label is the STSPIN32F0. So how to identify them by the label of the IC. Thank you very much
Resolved! How to disable PWM output properly?
Hello,My timer PWM channel is connected directly to a mosfet driver. By using TIM_Cmd(TIM2, DISABLE);it puts the output at high level. I tried to use TIM_DeInit(TIM2); but it generates an additional pulse in the output ( I count the each PWM pulse in...
Code stuck in SD_FindSCR Function
Hello,I use stm32f765BITx processor and SDMMC (SD 4 bits Wide bus ), sometimes code is stopping at SD_FindSCR function in stm32f7xx_hal_sd.c library. This event is happening random.Exactly, the place where code stopped at SD_FindSCR function,while(!_...
Resolved! STM32H750 (rev.V) Needs higher ADC clock for dual interleaved mode when triggered from timer?
According to AN5354:Page 13 / Table 12: Number of ADC = 2, resolution = 12, LQFP100, maximum ADC frequency is 35MHz (providing 70MHz from PLL2P before /2 divider)Page 15 / Table 16: Direct 4.38 MSPS Fast 3.83 MSPSAnd according to formula from RM: Tco...
HAL bug in stm32l1xx_hal_flash.c? Does not clear the SIZERR flag.
STM32L1xx HAL Driver version number V1.4.3Why does FLASH_WaitForLastOperation() not check the SIZERR flag? is this a bug? And the FLASH_SetErrorCode() does not clear the SIZERR . Is this a bug?