STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

ARM Cortex M0 open source profiling tools

Device : STM32F072RBT6 DiscoveryDebugger: ST-LinkV2Core   : ARM Cortex M0SDK    : NilIDE    : VSCode with ARM GCC CompilerHi,We are trying to do profiling on our device. We are planning to use GNU gprof.We are trying the solution given in the below l...

NP T.1 by Associate
  • 521 Views
  • 0 replies
  • 0 kudos

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.

sangarius by Associate II
  • 1045 Views
  • 3 replies
  • 0 kudos

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
  • 799 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
  • 920 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
  • 319 Views
  • 0 replies
  • 0 kudos

Nucleo144 H745ZI-Q (rev C) EXTI interrupt continuously firing for user button no matter what I do unless I disable the interrupt

As an exploration into MCUs I'm doing everything as close to "deserted island" as I can and using assembly instead of the HAL and all that, but I'm having an issue. I was following in general this tutorial and just setting the registers as needed, bu...