User Activity

Hello I am using nucleo G031K8 with STM32 cube ide and I am trying to initialize the SPI1 peripheral with registers.Here is my init code and the corresponding wrong registers. The RCC and GPIO registers are fine. Only SPI1 registers are wrongHow can ...
void TIM14_init(void){ RCC->APBENR2|=(1<<15); TIM14->PSC= 31; TIM14->SR=0; TIM14->CNT=0; TIM14->EGR|=(1<<0); } void TIM14_delay_us (int delay_us){ TIM14->ARR = delay_us; TIM14->CR1|= (1<<0); // counter enabled while (!((TIM14->SR)&1)); // wai...
Hi,I am using the serial wire debug SWDIO and SWCLK on PA13 and PA14 to program an stm32g031. Can I use these pin after the debug? If yes, do I have to modify some dedicated register (in addition to the GPIO registers) to use thiese pins as GPIO?
Hi all,I would like to develop some HW and FW to control DC and Stepper motor using stm32G0 or G4 family.The goal is to control low voltage (5 to 12V and <1A) DC and Stepper motor.I have seen that here Motor Control Solution Eval Boards - STMicroelec...
Hello, I am still learning about STM32 and I know that the slashes mean that several ports are bonded to the same pin (e.g. PB7/PB8), but what the square brackets mean in a STM32 pinout? and the dash? thanksBest regards