Skip to main content

Questions tagged [stm32]

The STM32 is the third ARM family by STMicroelectronics. It follows their earlier STR9 family based on the ARM9E core, and STR7 family based on the ARM7TDMI core. The STM32 is based on the ARM Cortex-M family of cores.

0 votes
0 answers
16 views

Measuring BLDC Motor Speed with Angle Feedback

I am trying to implement FoC for a BLDC motor. I have a dedicated control board(STM32H7) that receives current and angle feedback, but I'm having trouble figuring out how to measure the speed from the ...
Haoming Mei's user avatar
-1 votes
2 answers
37 views

What are the VDDSD, VLXSD, and VFBSD pins?

On the STM32WB09KEV, and on MCUs in general, what do the VDDSD, VLXSD, and VFBSD pins mean. I can see that they have something to do with SMPS (input/output, ground and output), but what do they ...
YANNTASTIC5915's user avatar
0 votes
2 answers
49 views

Verifying if HSE is used by MCU as system clock without probing

I have a PCB where I use an 8 MHz quartz resonator as this MCU's external system clock source. In STM32CubeIDE the setting is as follows: The program runs fine in MCU, but I cannot be sure if HSE is ...
cm64's user avatar
  • 2,217
1 vote
1 answer
49 views

STM32 MCU doesn't reset after flash

I'm using STM32CubeProgrammer to flash an MCU. But after flash completes, to reset and run the MCU I have to interact with NRST pin by a push button. Is there a way that right after the flash the MCU ...
cm64's user avatar
  • 2,217
0 votes
0 answers
48 views

shows the different part number

My physical microcontroller shows the part number STM32F412RET6, but when I connect it to the STM32 ST-Link Utility through ST-Link V2, it identifies the device as STM32F401xD/E. What is the exact ...
Nidhi Sayanja's user avatar
-1 votes
0 answers
32 views

System: Battery, BMS, MCU, Power Supply [duplicate]

Following up on a post that I have created earlier, I faced a problem with the common ground between my whole system. Thanks to the people who supported me on my last post they informed me that the ...
Mohamed Smaili's user avatar
0 votes
0 answers
42 views

Unable to program the MCU through STM32 ST-LINK Utility

I encountered an error while programming my STM32 microcontroller using ST-Link Utility. The exact error message is "The ELF loader sector erase function fails." Can you help me troubleshoot ...
Nidhi Sayanja's user avatar
6 votes
2 answers
204 views

What makes a MCU capable of higher temps than another?

Just an example - STM32F722 has a few versions, but I'm talking about just the variance between two numbers: RET6 vs RET7. The former has a max operating temp of 85C, whereas the latter says 105C. ...
KpilotRCHelis's user avatar
0 votes
1 answer
94 views

BMS-Battery System

I am facing an issue, I am building my circuit found below in the image, I am managing a battery pack using a BMS (link: https://eu.mouser.com/datasheet/2/389/STM_4_19_2023_DB4989rev1b-3159205.pdf) (...
Mohamed Smaili's user avatar
0 votes
1 answer
63 views

Does DDR3 master clock need to be longest trace in general?

I'm working on my first PCB which incorporates DDR3L memory with an STM32MP157AAB3 processor. I've been following ST's DDR3 guide from AN5122 and I came across something which I found odd and which my ...
Swiss Gnome's user avatar
0 votes
0 answers
76 views

STM32 and Fortran opinions [closed]

In the hope that this question will be accepted by this forum (since it is not very technical), I am asking for your personal opinion. I am a junior electronics engineer and I currently program ...
KaleM's user avatar
  • 473
0 votes
2 answers
76 views

Treating an STM32 MCU's unused pins and reset state

I'm using this MCU from STM2 on a board and the PCB layout is as follows: I will not use several MCU pins, so they are disconnected as shown above(pin 6, 7, 8, 11, 12 ect.). Also I cannot do any ...
pnatk's user avatar
  • 1,468
2 votes
2 answers
144 views

How to send large quantities of data via HID

I'm making a 100% customisable mouse, that can be programmed from an app. You program it in a node based language similar to the Unreal Engine 5 interface Your code is encoded to binary, and sent to ...
YANNTASTIC5915's user avatar
0 votes
1 answer
87 views
+50

STM32G4x 2 chanel Contunious Conversion Mode ADC DMA voltage read problem

I am using STM32G431KB Nucleo for measure a potentiometer voltage via ADC1_IN1 and ADC1_IN2 channels with Scan Mode DMA. And my samples arrays are always zero, no change. I share my code below. What ...
MSB's user avatar
  • 27
0 votes
1 answer
84 views

Is the wiring of this STM32 minimal system acceptable?

This is a question about the optimal routing for an STM minimal system. I made a minimal system board using the STM32H563VIT6. Is the routing method shown in the upper section, where I aim to connect ...
Antron Mack's user avatar

15 30 50 per page
1
2 3 4 5
248