The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [stm32]

The STM32 is the third ARM family by STMicroelectronics. It follows their earlier STR9 family based on the ARM9E core, and STR7 family based on the ARM7TDMI core. The STM32 is based on the ARM Cortex-M family of cores.

Filter by
Sorted by
Tagged with
-1
votes
3answers
106 views

Does STM32F0-ecosystem always need at least 2 controllers for CAN transmit to work? [closed]

This is in reference to STM32 HAL_CAN_Transmit always returns TIMEOUT (HAL_CAN_STATE_TIMEOUT) We are in the process of setting up a similar environment, and at first draft, facing the same ...
-1
votes
2answers
201 views

Questions about STM32F103C8T6 pins/button [closed]

Recently I bought this STM32F103C8T6 minimum evaluation board STM32F103C8T6, see picture below. I have some questions about it (see (small) numbers in the picture): Button S1 is RST (reset button), ...
-1
votes
1answer
812 views

3.3V to 5V PWM level shifting - ARM microcontroller

I am working with an STM32F0 running at 3.3 V. I'm trying to drive a motor controller with PWM from the microcontroller. The motor controller requires an analog input of between 0 - 5 V to control the ...
-1
votes
2answers
6k views

STM32F7 FATFS and SD card Write problems

I have an STM32F7 discovery board and have an image in the SDRAM which I want to store on the SD card as BMP file. I am using chan's FATFS module with the sddiskio module and the BSP library from ST, ...
-1
votes
1answer
53 views

Supplying two IC within a circuit with different voltage range (1.8v to 3.6v) and ( 4v to 5v) with battery power [closed]

We are designing a circuit that has two ICs with different supply range. it will use micro batteries as supply unit. What is the efficient way to feed two ICs together and waste minimum energy. Of ...
-1
votes
1answer
185 views

Why do people say STM32Cubemx is full of bugs? [closed]

I have worked with stm32cubemx for 2 years now, and I have found on forums people have mentioned that stm32cubemx is full of bugs? Why is that?
-1
votes
1answer
365 views

STM32F303 Microcontroller open drain GPIO, Can it reach / be pulled up to 5 Volts?

I hope you are all doing well... :). I'm working on a project with pulse width modulation however I need my logical high output to be 5V. However, as my Vdd is 3.3V, the output high level is ...
-1
votes
1answer
65 views

Driving a boot selection pin with a GPIO pin

I am trying to make a very small change to a circuit to allow for boot mode selection using two boot pins. The component I am trying to control is the STM32F411. One of the pins can be floating in ...
-1
votes
2answers
804 views

Hall-sensor BLDC motor control

I have a BLDC motor with Hall-sensors installed. (using ST's FOC lib, with Hall sensors) When I start the motor, it has very bad sound, but it starts and has very low torque. What parameters should I ...
-1
votes
2answers
924 views

Using Tim2 (84MHz) to blink Led for every 500ms - STM32F407VG

I developped a code in ordrer to blink a Led every 500ms using the timer 2 with a frequency of 84Mhz. I generate the file "system_stm32f4xx.c" to have a frequency of 84MHz for Tim2. I modified the ...
-1
votes
1answer
118 views

STM32F769 Header Power Input

As a new STM32 user, I would like to know if it is possible to connect unregulated voltages (6.2V to 9V) to a Power input pin on the headers as same as on the Arduino? The board I'm using is ...
-1
votes
1answer
577 views

WiFi physical layer (PHY) for STM32 [closed]

I have a STM32 uC that has an internal Ethernet controller. If I want to use LAN I just buy some cheap PHY chip, RJ45 socket and it works. What If I want Wi-Fi? Is there any chip that can be placed ...
-1
votes
1answer
293 views

STM32F411RCT6 not talking to LCD panel - I2C and HAL library

I have an MCU chip STM32F411RCT6 and I am using stm32cube software to generate HAL library based code. I have to establish communication between the MCU and LCD panel which is NHD-C0220BIZ-FS(RGB)-...
-1
votes
1answer
475 views

STM32F4 bugs in DMA, is there bug-free version?

Producer has confirmed that if there will be concurrent AHB and APB2 transfers using DMA2, then data corruption will occur (source). The bug discovery is from 2012, many years ago. Is the STM32F4 ...
-1
votes
2answers
1k views

Getting started with STM32F4 with Keil

I bought a STM32F410RB Nucleo board which has a STM32F410RB Cortex-M4 MCU. I'm trying to program it with Keil but I didn't find any example for my board. All examples are for other nucleo boards. I ...
-1
votes
1answer
643 views

osdelay function stm32

I still work with stm32f407 and I have a question. When I write osDelay function for 2 seconds , it works 5 seconds. How can I fix this extra delay ? This osDelay function in cmsis_os.h library.
-1
votes
2answers
1k views

STM32F407VG board won't boot

I have an STM32F407VG on my board. I am able to bring it to the dfu mode. Then I am able to flash it using DfuSe, which also correctly recognizes the dfu device (http://www.st.com/web/en/catalog/tools/...
-1
votes
1answer
366 views

STM32F205 - can i use a timer to generate a low pulse of specified length

I want a pin to be high by default and then generate two 125-250 µs pulses with 0.1 µs resolution using a command. I was thinking about using TIM1 in one-pulse mode but I don't see a way to invert the ...
-1
votes
1answer
2k views

LWiP Web Server: Running website using html files

Is there any way to run web server site on lwip library without conversion html to hex, but directly using html files?
-1
votes
1answer
748 views

USB Serial Communication for STM32F401C-Discovery using Keil uVision5

I have developed a STM32f401c-disco board using Keil, and next I would want to be able to send data out (say just a "hello" string) via the serial link USB-ed back to my PC and show it (I have ...
-1
votes
1answer
574 views

Hy28B display with STM32

I'm trying to get this Hy28b display work with my stm32f103 MCU. Somehow the display doesn't respond. I've found out I cannot communicate with it, my SPI setup is the following: ...
-1
votes
2answers
2k views

Delay on STM32F4 Discovery not working

I am trying to make a 10 seconds delay function using STM32F4 Discovery board. Unfortunately, it is not working and I don't know why. I have been two days on this problem. Can anyone help me please? ...
-1
votes
1answer
2k views

ADC with STM32F3

I want to convert 4 analog input in the same time, I chose the stm32f3 discovery because it contains 4 ADCs. The problems is that I don't know how to get them working together. I have read that only ...
-1
votes
2answers
66 views

How to connect STM32F103C8t6 to computer when using USART? [closed]

I'm an electrical engineering student and I've just started to learn microcontrollers.I want to know is there any way to connect my board(I uploaded its picture)to computer when I'm using USART ...
-1
votes
1answer
46 views

STM32F7_Discovery_Boards Digital Pin

Do any of the pins on CN9 or CN13 on the STM32F7 Discovery Board have a constant 3.3 or 5V output?
-1
votes
1answer
117 views

STM32 interrupt from Matlab Code

I'm using the STM32 MAT plugin and embedded coder for Simulink to generate C-Code out of my models to compile them onto an STM32F4. As IDE I use TrueStudio and for my MCU Configuration I use CubeMX. ...
-1
votes
1answer
93 views

Weird character from UART. STM32L100RC

I'm having problems communicating with UART on my STM32L100RC discovery board. I get character such as xþ when I'm sending the letter 'F'. I'm using Hercule to receive data. Hercule's configuration is ...
-1
votes
3answers
2k views

“Can not connect to target!” using STM32F0 discovery board as ST-Link [closed]

(first posting here so bear with!) Hi, I'm a very novice embedded programmer and have hit a wall trying to use an STM32 discovery board as an ST-Link programmer to an external STM32F051K8T. I know ...
-1
votes
1answer
168 views

STM32F4 USART CONFIG [duplicate]

The following two statements are true about AVR microcontroller's USART Receiver and Transmitter but im curious about that are these also work on stm32F4 ? When the Transmitter is enabled, the ...
-1
votes
1answer
683 views

STM32L0 GPIO Interrupt problem

I am trying to blink the led(PA5) when PC13 Button is clicked. But it doesnot work. main.c ...
-1
votes
1answer
367 views

Stm32F4-Discovery starting problem

I'm using CoIDE and the CMSIS library. The problem is that my programs start up normally only immediately after flashing the board. By disconnecting and reconnecting the board to the usb( just for ...
-1
votes
2answers
379 views

Set up two clock sources with an STM32F103?

As above really. I'd like to set up two clock signals on my STM32F103 for external circuits, one at 4 MHz and the other at 2 MHz. Here's what I've tried so far, but I'm not measuring any signal at ...
-1
votes
1answer
97 views

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 ...
-1
votes
1answer
124 views

STM32F4 OC Clock Jitter Problem [duplicate]

I am using STM32CubeMX to configure an STM32F4 to output a clock signal using Timer 3, Channel 4 on PC9. I have read in the datasheet PLL section that jitter shouldn't be more than 15ps RMS but I am ...
-1
votes
1answer
154 views

R305 fingerprint sensor with Stm32fo discovery kit

i am trying to interface a fingerprint sensor(r305) with my stm32f0 discovery kit. I was able to interface and make it work with my arduino and PC using the library and Companion software given in the ...
-1
votes
1answer
114 views

Measuring very High Frequency with STM32F10x

with which software package I can measure the frequency of an external signal with very high frequency? and is there any especial hardware for this goal in STM32F10x micros? Thanks;
-1
votes
1answer
1k views

Most carefull way to concatenate strings in C

My firmware in one cycle per 10 second is moving string to the output (csv file on SD card). The problem is that string sometimes in non-deterministic way is changing adding values that shouldn't be ...
-1
votes
0answers
234 views

STM32 and embedded linux? [duplicate]

Possible Duplicate: Linux on ARM Cortex-M3 series Friends, Any ideas on how to use embedded linux into STM32 system ? Any shares or experiences will be very appreciated, Thanks
-1
votes
3answers
613 views

STM32F103C8T6 3.3v pin max output [closed]

Im using STM32F103C8T6 with sl4432 as small radio beacon. It's working fine, but range much shorter than suppose to be. Sl4432 require max 85 mAh for 20dbm transmit, but how much STM32F103C8T6 3.3v ...
-1
votes
2answers
465 views

STM32F103 memory addressing

I have written my code for STM32F103C8T6 board in Keil using the adequate startup files. I wrote directly to the memory addresses using information from the datasheet but the ST-Link upload seems to ...