Anything related to the STM32F1 series of microcontrollers. F1 series of mainstream MCUs covers the needs of a large variety of applications in the industrial, medical and consumer markets.
Questions tagged [stm32f1]
8 questions
13
votes
3 answers
Clearing USART (UART) interrupt flags in an STM32?
I am using an STM32F105 to communicate with a Linx GPS chip using a UART.
If I don't use interrupts (if I just poll the RX flag) then it works just fine. But I'm getting unexpected results when trying to use interrupts.
For example, if I only…

bitsmack
- 16,747
- 9
- 52
- 108
2
votes
1 answer
BOOT0 vs BOOT1 circuit design in STM32f103 (ST-LINK)
I have a question about designing st-link v2. According to the schematics provided by st.com Please help me in analyzing this schematic. Why boot0 was pulldown with a 100k resistor but connected boot1 without GND resistor.
According to the AN2586,…

mojtaba
- 63
- 1
- 5
2
votes
1 answer
Turn on a microcontroller using a high-side Mosfet switch
I am using a P-Channel Mosfet to control the power of an STM32F103VETE ARM microcontroller (MCU1). The source of the Mosfet is connected to 3.3 V and the drain goes to the MCU1 Vdd pins. The gate of the Mosfet is controlled by another…

MoHaMaD InSoMnIaC
- 41
- 4
1
vote
3 answers
STM32F103 - Single pin shorted to VDD?
I have a custom STM32F103C8T6 board. Long story short, the MCU works fine, I can connect to it, program it, read sensors, toggle GPIO etc. The problem is that, one of the crucial pins seems to be shorted to VDD. The pin is PA9, which I wanted use…

zeke
- 143
- 2
- 14
1
vote
1 answer
How to (best) use a SPI SD card with STM32F1 or STM32F4?
Below, is the SD card reader I would like to use. It's using SPI.
On an Arduino I got it to work (using SPI).
However, I want to test it on a STM32F103C8T6, and later use it in STM32F407VET6. However, I see both the F1 and F4 can use the FATFS file…

Michel Keijzers
- 13,867
- 18
- 69
- 139
0
votes
1 answer
USART not working with CP2102 adapter and STM32F1 Blue Pill board
Having programmed 8-bit AVR MCU's, I bought Blue Pill STM32F103C8 dev board from ebay. It has 8MHz external crystal and I program it with ST-Link on Mac. I saw a lot of options like HAL, etc, but I chose to program using direct access to registers…

user112290
- 151
- 5
-1
votes
1 answer
STM32F1 FreeRtos Debug B SVC_Handler
i tried to run port FreeRtos V9 to stm32f103 with iar compiler
made project my self.but when debugging , after call vTaskStartScheduler(); microcontroller jump to
PUBWEAK SVC_Handler
SECTION .text:CODE:REORDER:NOROOT(1)
SVC_Handler
…

pezhvak
- 9
- 3
-2
votes
1 answer
Arduino STM32 bluepill generate PPM
does anyone knows is there a way to generate PPM (CPPM/PPMSUM) on STM32 Bluepill Arduino?
Tnx in advance?

user505160
- 1,010
- 5
- 16
- 26