User Activity

Hello,I have STM32G031 and I want to use PA8 pin (TIM1_CH1) to count pulses. My idea is to read number of counted pulses every 1 second and reset counter to 0. void TIM1_Init(void) { // Enable TIM1 clock RCC->APBENR2 |= RCC_APBENR2_TIM1EN; ...
Hello, I need help with ADC and DMA settings. My application is VERY EASY but I do not understand the setup parameters. The application is that I just start CPU and the ADC raw value should independently transfer via DMA to variable. When I need the ...
Hello I need to send a string via USART every 500ms. I tried to use DMA that seems to be easy to configure. USART transfer works but only without DMA (test in while main cycle). I do not see any problem in DMA configuration. Can you tell me it there ...
Hello, I am not able to program STM32G031. I have Nucleo kit F401RE and STM32G031 connected to SWD. I have connected SWDIO, SWCLK, 3V3, GND and nRST.STM32CubeProgrammer can connect only in Hot Plug mode, but writting or errasing gives me: Error: Mass...
Hello,I need to calculate motor load (triac controlled 1-phase universal motor on drilling machine) on ADC input of STM32G030. This is output from Hall sensor TMCS1101A2BQDR and the main frequency is 50 Hz. Triac speed control makes the pulse current...
Kudos from