Skip to main content

Unanswered Questions

974 questions with no upvoted or accepted answers
24 votes
0 answers
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 ...
24 votes
0 answers
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 ...
8 votes
0 answers
2k views

Is JTAG faster than SWD for debugging on an STM32F with STLINK-V3SET programmer?

There is a new STLINK-V3SET programmer that someone dropped off on my desk today. It supports USB 2.0. My thinking is that if SWD is the bandwidth limiter in the signal chain then a new programmer isn'...
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
2k 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
94 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
71 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
1 answer
1k views

FreeRTOS scheduler is not triggering the TASK

I am programming an STM32F103 for my project and recently switched from bare-metal to RTOS (FreeRTOS to be specific) without using CubeMX (code attached below.) For now, I am simply running an LED ...
4 votes
0 answers
641 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
394 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
303 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
337 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
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
65