Forum Posts
SPI problem in STM32F10x
I have a problem with setting up SPI1 in Master mode using the following code. I set the SSM bit to enable software slave management, but when I try to enable the SPI by setting the SPE bit, the MSTR bit is cleared.Thanks for help.JaroslavRCC->APB2EN...
Why I am getting this error? "Nothing to build for project"
Hello guys, I was working with this code with no problem. I changed a couple of things in main.c and then removed it because it didn't work. Now, when I am copy and past the source code to the same folder again, I get this error and can not compile i...
Resolved! Does ST have a channel for reporting defects?
I recently came across defects in STM32G0 & STM32G4 reference material. I tried reporting this through the support channel only to receive kneejerk deflections. Since i have already worked around the issues myself I'm not seeking any help or support ...
PWM+DMA to Generate a pulse output with a controlled number and adjustable duty cycle
I‘m configuring the timer pwm+dma output with cubemx, and I want to get a pulse output with a controlled number and adjustable duty cycle. and I used the above three methods, only the last two valid, but not the normal output.
How to Wake-up STM32L431RBtx from STOP0 mode?
Hi All,We have a project using STM32L431RBtx. In that we are trying to put MCU into sleep mode by using HAL API: HAL_PWREx_EnterSTOP0Mode(PWR_SLEEPENTRY_WFI) in bare-metal code base.Here the interrupt we have configured to wake-up the MCU from sleep...
STM32F427: ADC ERROR (ADC1 = regular + injected) + (ADC2 = injected)
Hello,I want to convert on ADC1 some channels in regular mode all the time. After a last Transfer request DMA2 Stream 0 should write all converted values in a global buffer. I also want to convert four ADC channels synchronous with injeced mode. So I...
I think IWDG Dosen't work
My board(STM32F103R8T6) sometimes stop.. So I use IWDG and it doesn't work. If my board doesn't work well, is it right that iwdg works and resets the core? Let my code work properly.void IWDG_Configuration(void) { IWDG->KR = 0x5555; IWDG->RLR = 0x...