Skip to main content

Unanswered Questions

2,054 questions with no upvoted or accepted answers
27 votes
1 answer
3k views

Switch from JTAG to SWD with bitbang sequence on STM32F103VB

I am trying to switch from JTAG to SWD without any external devices. Why? Because I would like to use the SWO pin to send a stream of logging information to another device. To accomplish this ...
6 votes
1 answer
6k views

Run IAR Program without Debugging

I'm having a simple problem with IAR Embedded Workbench, programming an STM32 using an ST-LINK/V2 programmer. I'm trying to run a program that temporarily switches off the JTAG pins, so I can't run it ...
5 votes
0 answers
3k views

STM32 - I²C Slave HAL Callback ACK

Objective: implement a single byte I²C slave on STM32. Materials: STM32L452RE Nucleo-64 board, HAL Library, CH341 USB-I²C adapter(1), Artix Linux with Runit, Rhode & Schwarz RTB2004 oscilloscope ...
4 votes
0 answers
302 views

The MOSFET of H-bridge Inverter always explode

I met some difficulties these days. I use 4 MOSFETs to put on a H-bridge inverter which output power is 1300 W. The dc input of inverter is 310-400 V. The Ids of MOSFET is 80 A and the Vds is 650 V. ...
4 votes
0 answers
611 views

Nema 17 Stepper Motor Weak Torque (A4988, Arduino)

I'm attempting to run a Nema 17 stepper motor using the common A4988 stepper motor driver. I'm running the motor with a Teensy 4.0, an Arduino-based microcontroller. The main issue I'm running into is ...
4 votes
0 answers
128 views

Strange Timing with STM32F401 ADC

I'm observing a strange timing behavior with the ADC of an STM32F401 dev board (Black Pill). I have pin A0 connected to a 10k potentiometer via a 10M resistor (I know the impedance is high, I wanted ...
4 votes
0 answers
468 views

Determining Component Values for a PCB Antenna

I'm trying to encorporate an ESP32-C3FH4 into my design, and I've reached the point where I need to design the antenna. I think the AN2051 should be a sufficient antenna component (it's an IOT device, ...
4 votes
0 answers
237 views

Review of electric circuit with Arduino

I am currently working on a project for which I am in charge of the electronic circuit. Since I have never worked with electronics before, I am really desperate and unsure whether what I am doing is ...
4 votes
0 answers
95 views

Multiplexer bandwidth limit (Datasheet decryption) for two external clock on STM32

I would like to have the possibility to select between two main clock on my STM32. Both clock are single ended, 3V3 LVCMOS output. First clock is a 19.2 MHz TCXO, and second clock is a variable clock ...
4 votes
0 answers
783 views

STM32 Software Interrupt Trigger Any

STM32F746-Disco Windows 10 STM32CubeIDE 1.8.0 I've just finished writing my first minimal bare metal UART DMA driver (CMSIS only), and both reception and transmission work ok, but then I thought I ...
4 votes
0 answers
468 views

Why won't DS3231 Real Time Clock continue ticking when powered only from VBAT?

I've got a custom STM32 board that uses a DS3231 RTC for date/time stuff. When the board is fully powered I can communicate with the DS3231 over i2c and write and read the time/date. Once the power is ...
4 votes
0 answers
360 views

Problem with reading data from I2C Temperature Sensor with stm32

Hi I'm pretty to new to embedded programming and unfortunatly I faced a problem when trying to do an excercise with STM32F103RBT6 Nucleo 64 Board and LPS25HB temperature/pressure sensor. I try to read ...
4 votes
0 answers
352 views

Wait make the STM32L073RZ freeze in stopmode

With my STM32 I'm trying to configure a deepSleep mode and use RTC to generate interruption (actually each 30 seconds). When my STM start, this one configure the RTC and directly go in Stop mode. ...
4 votes
0 answers
1k views

Master-slave timing on ARM Cortex-M0

I have set up a slave timer that starts counting when the master timer is enabled. I want to know if the slave starts counting when the master timer receives a valid edge (my configuration is count ...
4 votes
0 answers
4k views

UART reception problem when SysTick Interrupt is enabled

I'm using a STM32F411RE-Nucleo board and generating a project with Cube MX for System Workbench. The problem is that HAL_UART_Receive function doesn't receive input ...

15 30 50 per page
1
2 3 4 5
137