STM32 F0 are entry-level ARM Cortex-M0 MCUs from ST Microelectronics.
Questions tagged [stm32f0]
124 questions
0
votes
2 answers
stm32 and external flash (w25q) connection problem
I want to read/write from external flash (Winbond W25Q16BV) with STM32 micro (stm32F030F4). but running process halt on 'HAL_SPI_Init()' function.
I checked the debug process, and found HAL_SPI_STATE_BUSY.
but i don't know why?
I am using…

paradisal programmer
- 151
- 3
- 16
0
votes
1 answer
stm32f051r8t6 TIM14 interrupt handler not working after reset
I am using STM32CubeMX to generate code into IAR, and I am using a stm32f051r8t6 microcontroller,
The problem I am having is that when first loading the code onto the chip, it all works perfect, however after pressing restart on either the board or…

user10451545
- 3
- 3
0
votes
2 answers
STM32F04 in DFU mode recognized only when powered from battery (Win10)
I made a STM32F042k6, battery powered device, that I would to flash vi DFU protocol.
In order to do so I disconnect the battery, I pull BOOT0 to VCC, and then plug the device in USB3 port of PC (no USB2 available). The device is not recognized and…

mradziwo
- 1
- 1
- 3
0
votes
1 answer
What is a typical time for a USB write on an STM32?
I have an STM32f042 and I have loaded the example Custom HID firmware from the STM32F0x2_USB-FS-Device_Lib V1.0.0.
I then did some simple write transfers sending just one or two bytes, and watched the response using wireshark.
After doing about ten…

Indigo
- 962
- 1
- 8
- 23
0
votes
1 answer
Error: Flash driver function execute error Program Download Failed?
I was working with stm32 board. While debugging, I am getting this error possibly error is in rasing flash
C:\CooCox\CoIDE>"C:/CooCox/CoIDE/bin\coflash.exe" program STM32F051R8
"D:/Programs/STM/blinker/blinkLeds/Debug/bin/blinkLeds.elf"
…

111
- 1
0
votes
1 answer
unable to use f_read() and f_lseek() in Fatfs
I'm trying to connect to a 2GB sd card class 6 with stm32f091cctx MCU via SPI. Using fatFs library ver. R0.13a I'm able to mount the drive and open the file with f_mount and f_open functions. But when it comes to reading from file, it just freezes…

s.sh
- 1
- 2
0
votes
1 answer
STM32F051 timer configuration
I've met problem with timer configuration in STM32F051.
I'am using StdPeriphLibrary, and I wish to generate an interrupt every 1 ms (freq = 1kHz).
This is the timer initialization:
void TIMER_initHardware(void)
{
…

Kamil Spytkowski
- 1
- 1
0
votes
1 answer
How to program the microcontroller?
I have a microcontroller STM32F051 and I want to program it. I looked for IDE that I would be able to use and I found TRUESTUDIO that I'm using. I wanted to know how should I do to send the program I made into the microcontroller. Do I need any…

user54517
- 2,020
- 5
- 30
- 47
0
votes
1 answer
STM32F030 GPIO interrupt
Trying to get an interrupt on A3, to wake the cpu up from sleep on a rx char, but it's not firing.
What is it that defines which interrupt the GPIO pin will trigger? I can't find it in the reference manual
static void…

OXO
- 61
- 4
- 14
0
votes
1 answer
How to read several ADCs interfaces every n seconds per channel in STM32 MCU?
I'm using the ADC channels (12-bit resolution) of a STM32F0 microcontroller to read voltage values in three different points of a board. What I want to do is to read the values every 2 seconds (I have 2 seconds to read the values in the three…

Marco
- 391
- 4
- 18
0
votes
2 answers
STMicro STMTouch Driver Usage of a 5 channel Mono electrode design for Linear Sensor Problems
I'm working with a custom board which has 8 channels consisting of three touchkey and 1 linear sensor.
There are 8 channel IOs, three sampling IOs and no shield configs. Three of the channels are for the three touchkeys. Five of the channels are…

netskink
- 4,033
- 2
- 34
- 46
0
votes
1 answer
Error in writing/Reading to I2C EEPROM + STM32F0 Discovery
I am struggling to Write or read to AT24C256 I2C EEPROM. I am using STM32F0 discovery board to read/write to EEPROM.
I am using HAL library and CUBEMX for basic structure. I have written small code to test the read and write function. On debugging…

RS System
- 21
- 2
- 7
0
votes
1 answer
Error using TIM1 for PWM on STM32F0
I'm trying to isolate this as much as possible (by commenting out the working TIM3 code for comparison). I've got PWM to work fine on TIM3, but have not seen anything on TIM1. Originally, the issue was pointed out in the comments that some of the…

Bobby Digital
- 45
- 1
- 8
0
votes
1 answer
STM32F0 DMA "input overflow"
I have a problem with STM32F0 DMA receiving data from UART. I use 2 DMA channels (for rx and tx) both in non-circular mode, rx channel has lower priority. Data from UART handles in Idle Line interrupt, where I read the number of DMA received bytes…

Yuriy
- 701
- 4
- 18
0
votes
3 answers
mostly garbage output from serial UART of microcomputer STM32F091RC on target board
Expected first printf line of software to serial output to Windows7 PC is:
main() ************************** SW START Project 2016-10-30 x1
Actual serial output (at TeraTerm or PuTTY);
▒▒▒▒()j**j*j**j*j**j*j**j*j**j*j ▒▒Ӕ▒Ҕ ▒▒▒▒▒▒▒…

Doug Null
- 7,989
- 15
- 69
- 148