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.

Filter by
Sorted by
Tagged with
0 votes
0 answers
57 views

Implementation of recent STM32MP1 processors on an FPGA [closed]

As part of a hardware team at a fairly new startup, we are exploring the use of Field-Programmable Gate Arrays (FPGAs) and the availability of IP blocks for STM32MP1 processors from STMicroelectronics ...
SADALI Mohand's user avatar
0 votes
3 answers
72 views

Ghost PWM Signals [closed]

I am an electronics engineering student currently working on a BLDC motor driver project with my team. My role is in software development. We are using the STM32F100RB microcontroller and coding it in ...
Rynxie's user avatar
  • 3
1 vote
0 answers
21 views

SWD scan failing for STM32H747 using a BlackMagicProbev2.3

I'm trying to debug an Arduino R1 Giga WiFi board with a STM32H747XIH6 mcu, which is a dual-core ARM Cortex-M4 and Cortex-M7 chip, using a Black Magic Probe v2.3 (BMP) from 1bitSquared. I've managed ...
Antonio Bassi's user avatar
-2 votes
1 answer
44 views

button in touch GFX

, I want to be able to change the state of the button shown in the above picture, which is designed with TouchGFX, using the physical buttons on my microcontroller board. How can this be implemented?
Alireza ganjeh's user avatar
0 votes
1 answer
40 views

STM32 programmers not always see the target

While practicing STM32 I made an adapter from STDC-14 to a regular 2.54 mm connector with a pin-out like on BluePill development boards. The wiring diagram is as follows (used flat-ribbon cable, there ...
Araneus0390's user avatar
0 votes
0 answers
37 views

STM32 HAL_UART_RxCpltCallback how to use it properly

I am developing an STM32H750 PCB for a future project and I am doing some tests on an STM32F103 to get familiar with STM32CubeIDE. I am facing a problem with the ...
Khales Naim's user avatar
0 votes
2 answers
45 views

STM32G0 locks up on POR

I've used the STM32L series for many years but recently used the STM32G030F6 in a new design and have noted several times (on multiple devices) that the uC enters a locked up state on power up and is ...
David Albert's user avatar
0 votes
0 answers
37 views

Problem with I2S and IIR-filter

I am working on a system that receives audio data over Bluetooth using a BM83. This is transmitted to an STM32F7 over ADC, an IIR-filter is applied and the data is transmitted out over I2S. The ADC ...
mgr's user avatar
  • 1
0 votes
0 answers
16 views

Loss of ST-LINK from STM32F4

I am using is STM32F401RET6, before that I have ported uCOS-II and System View to see the task scheduling, but Sysview needs to use J-Link, so I followed the tutorials (https://www.segger.com/products/...
Dadao's user avatar
  • 1
0 votes
0 answers
47 views

Weird SRAM failures when heat is applied to the system and when probed

I'm providing assistance on a project that is encountering some interesting behavior on an SRAM memory device when environmental temperature goes up or when someone probes/touches lines associated ...
Oscyzilla's user avatar
  • 107
1 vote
0 answers
42 views

Low-Power Multidevice Wireless Communication : Real-Time Bidirectional Communication Between 12 Portable MCUs Within 10m [closed]

Intro I want portable, battery-powered UI (user interface) devices (which each include an MCU) to wirelessly-mesh such that input on one could be synced to any number of nearby others in reasonable ...
kando's user avatar
  • 447
0 votes
0 answers
24 views

error in stm32cube ide

I have this error, what could be the reason, thank you for your help 09:27:59 **** Incremental Build of configuration Debug for project button2 **** c:\st\stm32cubeide_1.12.1\stm32cubeide\plugins\com....
Alireza ganjeh's user avatar
0 votes
0 answers
85 views

STM32 Bootloading issues on custom PCB

I designed a gas sensor board around the STM32F030F4P6, and have been having issues boot loading. I am using the ST-Link V2 bought from Digikey, and 6 pin tag connect, and it seems that regardless of ...
dreece2498's user avatar
0 votes
1 answer
74 views

STM32 not starting when input voltage not dropping to zero

I am facing start-up issues during power on for the STM32L433. When voltage comes from zero everything works fine. But, if I disconnect the power supply from the wall socket and its internal ...
IGtti's user avatar
  • 1
-1 votes
2 answers
52 views

Can I turn off the transmitter when receiving half-duplex SPI?

I have a STM32F103 Blue Pill-based interface board which is being used to translate from USB to a custom single-wire debugger interface (used by some Telink chips). I didn't write it, but I'm trying ...
David Given's user avatar
  • 1,170
0 votes
1 answer
42 views

Non-MCU Driver IC for 24 bit parallel RGB display?

I'm working on a project that requires a 24 bit parallel RGB display. I originally planned to drive it with an STMH7B3 MCU using the built-in LTDC interface. The problem is the LTDC interface uses a ...
podi_burke's user avatar
0 votes
0 answers
15 views

STM32H7 Baremetal UART DMA Rx not working - DMA tx works

I have a STM32H7 running UART. UART TX works fine, and it's definetely not a D-Cache problem, I already have configured the MPU correctly and in another project DMA works just fine with SPI with the ...
sx107's user avatar
  • 1,097
0 votes
0 answers
30 views

Not all timer interrupts working on STM32F407 (shared timer IRQ settings)

I am trying to control 8 independent pulse channels using 8 independent pins of the STM32F407. Each pin will supply the pulse pin to a different motor, so I will be controlling 8 independent motors ...
jlaufer's user avatar
  • 51
0 votes
2 answers
31 views

Discrepancy between SKR Mini E3V2 and documented SD Card Pinout

There is a schematic of the BTT SKR Mini E3 V2 available on the internet and I was taking a look at the SD Card Pinout. First of all I noticed, that it appears to run in SPI and not SD mode. Fine okay,...
HeartOfGermany's user avatar
0 votes
0 answers
28 views

SDRAM interfacing like with parallel bus device using STM32F4 FMC

Followed by that post Emulating a defective LCD from a device and use another LCD I'm trying to communicate with the device using FMC. So my plane is to connect the whole D0 to D7 to FMC SDRAM ...
Andre's user avatar
  • 67
1 vote
1 answer
29 views

Connecting two W5500 via UDP results in PHY link off

I want to connect two STM32F4 and to communicate via UDP. At the moment I only want to send data from one to another mcu. I have tested tx and rx communication separately with PC - python scripts and ...
subavet995's user avatar
1 vote
0 answers
43 views

How to troubleshoot an H-bridge motor driver circuit? [closed]

I am running into a problem with my custom motordriver. It was designed to control two small 3-phase sensorless brushless motors powered by a 3S battery. It is based on an STM evaluation board (...
Luuk Benningshof's user avatar
1 vote
0 answers
37 views

How to configure STM32 UART TX to generate a decodable signal?

I am trying to transmit data from an STM32F411 (blackpill) via UART, and am having trouble generating a signal that works. The problem is that, when configured with the default GPIO settings, the UART ...
mackenir's user avatar
  • 125
0 votes
0 answers
30 views

STM32G4 brings down CAN network when exposed to electrical noise

I have a CAN 2.0 network (classic can) running at 500 kb/s. I have multiple STM32F4 nodes running the stm32 HAL CAN driver with no issues. I have another node running a STM32G4 with a FDCAN driver ...
Jack1221's user avatar
0 votes
0 answers
47 views

STM32 DMA timer triggered at specific period with external trigger

I'm trying to interface a CPU that has a parallel bus, and trying to connect it to STM32. The CPU bus is connected to PORTD, I mean by that CS1, CS2, A1, and it's data bus D0 to D7. The CPU has IOWR ...
Andre's user avatar
  • 67
0 votes
0 answers
50 views

Driving 1024x600 TFT LCD using SSD1963

I trying to drive a 10-inch (1024 RGBx600) TFT LCD using SSD1963 Controller. According to the datasheet, SSD1963 has 1215 kB embedded SRAM, which can be used for driving 864 x 480 LCD with 24-bit data ...
Hamid Saneie's user avatar
0 votes
0 answers
51 views

Can't enable W25Q for writing (using STM32F103)

I am trying to work with a W25Q128 and previous I got stuck with talking to the chip, but stackoverflow helped me and I was able to communicate with the chip. Now I am unable to bring the chip into ...
Rakesh Mehta's user avatar
1 vote
1 answer
29 views

Circuit power outage monitoring

I am using an STM32F4 series MCU in my project. What can I do to detect when the mains power is cut and to find out how long the system has been off?
seher akbaş's user avatar
0 votes
0 answers
27 views

STM32H7 JPEG encoding with DMA leaves empty space

I am encoding a 200x300 image using the JPEG codec available in the STM32H743. The input format is ARGB8888, with the input buffer having a size of 240000 bytes (200 x 300 x 4). As I do not know what ...
Meruje's user avatar
  • 103
0 votes
0 answers
40 views

What is the memory address for 24AA16 EEPROM IC?

I am using 24AA16 EEPROM IC to read and write. But i don't know exactly the memory adddress to write something in this IC and also read from that. This is the datasheet for this IC, https://ww1....
Kuralmozhi's user avatar
1 vote
0 answers
20 views

STM32H7 ADC characteristics

I'm working on a setup with a filter and some electronics to get an analog signal ready for a ST microcontroller (STM32H723VG). I want to simulate everything, even the part inside the microcontroller ...
H Ket's user avatar
  • 51
1 vote
0 answers
54 views

Ethernet signal from STM32H7 to LAN8742A good, link good, receive good, no transmit

I am working with a custom board based on the NUCLEO STM32H745. The STM32H745 will receive a broadcast ping and ARP. It will try to respond to the ARP and disregard the broadcast ping. I can trace the ...
andy__H's user avatar
  • 11
0 votes
2 answers
54 views

STM32H matrix-vector-multiply throughput

Ill be working with a board that has a STM32H743 on it, and I have a hard time reasoning about the f32 matrix-vector multiply performance I can expect of the m7 core. As I understand the core itself, ...
Eelco Hoogendoorn's user avatar
0 votes
0 answers
24 views

[STM32F412]Flash writing problem with USB Host active

I've a problem on the STM32F412 with flash writing and USB Host initialized. When USB Host is active and I attempt to write to flash, the software execution blocking at FLASH_FlushCaches function, on ...
Stefano's user avatar
  • 13
0 votes
0 answers
41 views

Power Consumption of STM32

I designed a PCB with STM32L0 series MCU. When I measured the power consumption of this PCB with Nordic PPK-II, it was consuming ~100uA. After that, I heat the STM32 with a hot air, and the power ...
harmonica's user avatar
  • 663
0 votes
1 answer
40 views

EEPROM READ/WRITE Issue with STM32?

I am using 24AA16 EEPROM to store my data. I have write the code for read and write using STM32Cube IDE. I am using Nucleo-F410RB Dev board. Below code is for write, ...
Kuralmozhi's user avatar
0 votes
2 answers
61 views

Can't read data out of SPI device using STM32F1

I am new to STM32 family and trying to work with an SPI chip (W25Q). It seems like the micro is sending the desired bytes to W25Q, but the chip does not respond. Now I have a question with the CLK ...
Rakesh Mehta's user avatar
0 votes
1 answer
46 views

How to use STM discovery board as an external debugger using SWD

I have F407G Disc1 board where it has the SWD ports and I want use this board as a standalone external debugger and I went through the manual for the connections but got stuck Also found a thread in ...
Subzee's user avatar
  • 21
0 votes
1 answer
27 views

STM32F103 SPI Clock Signal is not generated

I am trying to communicate with a Winbond W25Q (16 MBit) chip with Standard SPI connection. I am using Keil to code and debug. It looks like I am unable to generate the clock signal for the SPI line. ...
Rakesh Mehta's user avatar
0 votes
1 answer
40 views

A7682E LTE modem parse file downloading with UART

I need to parse the data that SIMCOM A7682E modem is sending to the UART. It seems simple until I tried to do that. The main problem is that modem does not waiting between data packets. So there is no ...
Nazar Diadiun's user avatar
0 votes
0 answers
32 views

Kindly review schematics of BLE board using STM32Wb55RG

I'm new to emended system and PCB design. This will be my first PCB design. Before moving to PCB design just want to confirm that my circuit will work. Kindly review schematics. Any Feedback is ...
electronicsadvices's user avatar
0 votes
0 answers
54 views

How to detect if STM32 HAL is used

I wrote this function years ago and the plan was to make it work on a lot of different devices. I haven't used it in stm32cube before. I can remember that it took a long time to search for the right ...
hennep's user avatar
  • 383
0 votes
0 answers
24 views

N DMA Transfers based on a timer trigger using stm32F429I

I'm trying to use timer 8, stm32f429I, as advanced timer, to do N DMA transfers, that copies data from port D to memory and it does trigger on PC6 after triggering, an N DMA transfers should be shot I ...
Andre's user avatar
  • 67
0 votes
0 answers
37 views

Usart2 not writing to data register

I'm trying to program the usart protocol on an stm32f4 nucleo board. When I upload the code on the board nothing happens (nothing gets transmitted to the console via putty). Upon further investigation,...
omneuro's user avatar
  • 11
0 votes
2 answers
30 views

How does DAC remap in STM32F103 (high density series) work?

May I remap the DAC output pins of my STM32F103ZET to another one? I saw this in the reference manual: But cannot find anything about the pin outputs.
Roh's user avatar
  • 4,640
2 votes
1 answer
55 views

How to run a pure assembler program from the flash of an STM32?

I am trying to write a pure assembler program (LED blink) for the Nucleo-F103RB. I create a new project in the STM32CodeIDE and remove all files except STM32F103RBTX_FLASH.ld and startup_stm32f103rbtx....
Arseniy's user avatar
  • 2,228
0 votes
1 answer
77 views

Power via UART breaks MCU

I have some modules, each with their own STM32 MCU, connected on the same power supply. These modules are communicating via UART. When plugging in multiple units I get the problem that modules are ...
luukito's user avatar
  • 33
0 votes
2 answers
96 views

How to extract firmware from STM32F437

I found a board with STM32F437II chip on it. Apparently it has built-in flash memory to store the firmware. Is there a way of extracting this firmware for further analysis and reverse engineering? ...
mopalinski's user avatar
0 votes
0 answers
34 views

Checking if the correct power is on

I'm making a device with an stm32 nucleo-f303k8 board that I power with 12V directly through one of its pins. However it can also draw power from USB and it can happen than USB will be connected first,...
Radar32's user avatar
0 votes
0 answers
31 views

STM32 Over-The-Air update with SIM7682E LTE modem

I have a need to add an Over-The-Air firmware update feature to my project. It is based on STM32F103CBT6 and SIMCOM SIM7682E LTE modem. The main idea is to connect to the FTP server or get the file ...
Nazar Diadiun's user avatar

1
2 3 4 5
74