STM32 F0 are entry-level ARM Cortex-M0 MCUs from ST Microelectronics.
Questions tagged [stm32f0]
124 questions
0
votes
0 answers
STM32F091 CAN does not transmit (also, example uses nonexistent functions???)
I have a STM32F091RCT board that I am trying to coerce into serving as an improvised CAN node. To have a starting point, I looked up some code examples. I started with this one, but it references some typedefs (such as CanTxMsgTypeDef) and functions…

Atoss
- 1
0
votes
1 answer
How to allocate free flash memory area (STM32 under IAR)
During the flash of the code on the target, I am storing data into flash memory at a specific adress and I update (sometimes) this data while the code is running.
The memory address I have chosen is kind of by default, only because it was free (no…

NinjaGreg
- 11
- 1
- 3
0
votes
0 answers
STM32 + ESP8266 Websocket Client get HTTP/1.1 400 Bad Request from server
I'm working on a small IoT project on STM32F070 Micro controller interfaced with ESP8266 Wifi module. I have developed a Websocket client application on STM32F070 controller which will communicate to remote Websocket Server and will Exchange data…

isoln
- 11
- 3
0
votes
0 answers
ARM Keil Version 5 [Expected a ')']
I am using the Keil version 5 toolchain to program STM32F0 Series and I am not able to resolve the below-given error.
I am sure I am missing something in it, but having a hard time finding it out.
> ..\Core\Src\max2871.c(169): error: #18: expected…

Surya
- 3
- 3
0
votes
1 answer
Print firebase data from arduino to 7 segment display
I am trying to get my firebase data and display it to my 7-segment using Arduino and I am getting the help of a python script to send data to the serial monitor. While it detects the Serial.available() inside the loop but I don't know how could I…

jaiv24
- 43
- 5
0
votes
0 answers
How to flash the program using ATLINK/V2 UART communication
I am using ST-LINK/V2 RoHS module in this module we have 20 Pins.
without SWCLK and SWDIO pin I need to program.
[enter image description here][1]
in this following pin diagram we have RX and TX can we flash the program using that.
let me know

Devilal guguloth
- 11
- 1
- 3
0
votes
1 answer
I am trying to use UART communication in interrupt mode, where should i put my function?
I am new to USART communication so forgive me if i am asking a silly question.
I am using STM32F0discovry board and code using IAR EWARM.
My main function looks like this.
I also have a HAL_UART_RxCpltCallback function after the main function.
int…

Yuechen Jiang
- 3
- 2
0
votes
1 answer
MD5 vs CRC32 to validate integrity of 100kB of binary data transferred over cellular network
I am trying to whether I can use CRC32 as the integrity checking mechanism for my firmware over the air updates, or whether I should be using a hashing algorithm such as MD5?
My situation:
The platform is an STM32F091RC (512KB Flash, 32KB RAM),…

Smack656
- 11
- 1
0
votes
1 answer
STM32F051 - Different idle state depending on overcurrent input
I have a STM32F051 driving a H-bridge (with proper gate drivers and overcurrent pulse sent back to the MCU) which power a transformer, using TIM1 and complementary signals (and dead time generation).
I am trying to configure a different "safe" state…

Valentin Bonnet
- 33
- 6
0
votes
1 answer
No VTOR Offset given in STM32F072
mostly I use STM32F1xx MCUs for my projects. In that MCU a Vector Table Offset is given:
#define VECT_TAB_OFFSET 0x00000000U //copied from system_stm32f1xx.c
I need to change these Offset in case of using a bootloader which is located at Offset…

vt1111
- 71
- 3
- 12
0
votes
0 answers
How to interface RF96W with Stm32F030 based controllers?
I have tested my RF96W LoRa boards with the Lolin Boards, it is working fine, But when I started to interface these Lora boards with stm32f030r8t6 based controller, I cant receive any data. Though I have tried to kept SPI configuration according to…

Shubhanshu Rastogi
- 11
- 5
0
votes
2 answers
Why is there a timing difference in periodically interrupt?
I am writing a low level driver for a type of one line communication protocol. This line is connected to both Tx pin and Rx pin on a STM32F0 micro running internal clock at 8Mhz. The Tx pin state is set in a timer interrupt, and the Rx pin is read…

cuckoo
- 111
- 2
- 9
0
votes
2 answers
SPI always read 0
I am trying to use the SPI interface with a SPI ADXL345 sensor and the STM32F072 Nucleo board.I want to make a very basic read operation.Now the read function is blocked in waiting the the RXNE signal.But the RXNE is never set . SPI always read 0.…

Crise88
- 11
- 2
0
votes
1 answer
Stm32 ADC (via DMA) Error code 4 when restaring the ADC(DMA)
The Code is generated by CubeIde(Mx).
So on the second run of the main loop the ADC Error register reads 4 and stops working (Status register reads 320).
The ADC is configured to read 2 Channels (1.5 cycles) (scan forward) and the ADC clock is the…

alufolie4
- 21
- 4
0
votes
1 answer
what is the best way to design a shift register with stm32
I am using a STM32F031K6, clocked at 40MHz, and I want to design a program which acts as a looping shift register - an external trigger is used to clock it, the values in the shift register left shift every time a rising/falling edge is received.…

prune
- 77
- 1
- 9