STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! Controlling servo with potentiometer

I want to control servo movement with potentiometer. I'm using ADC and getting the pot value. But i don't know how to control the pwm with this value. What should i use?Thanks in advance.

Can stalled IRQs be interrupted by IRQ in RAM?

Hi,i'm dealing with the window watchdog.as my program erases a sector in flash i created a watchdog irq handler in RAM which retriggers the watchdog wen the sector is erased.my Watchdog irq has the highest priority. all other irqs have lower priorit...

0693W000004KV1BQAW.png
Jnevi.1 by Senior
  • 654 Views
  • 7 replies
  • 0 kudos

STM32G071 ADC problem

Using a STM32G071RBT6 on a Nucleo-64 board. Board is powered by its USB ​port.According to user manual schematic VREF+ is connected to VDD (jumpers are installed).At CN6.4 (VDD) we measure 3.322 V against CN6.6 (GND).ADC is calibrated, CALFACT varyin...

JuM by Senior
  • 799 Views
  • 3 replies
  • 0 kudos

I am new to MCU programming. I'd like to test SPI loopback using HAL. The project was generated by CubeMX for STM32F411RE. The SPI_call() is called inside the main. I am unable to receive the characters in the terminal.

void SPI_call() { char msg[] = "smile"; char copy[6]; HAL_SPI_Receive_IT(&hspi1, (uint8_t *)copy, strlen(copy)); HAL_SPI_Transmit(&hspi1, (uint8_t *)msg, strlen(msg), 100); }   static void MX_SPI1_Init(void) {   /* USER CODE BEGIN SPI1_Init 0 *...

PRaja.1 by Associate
  • 260 Views
  • 0 replies
  • 0 kudos