Questions tagged [stm32f4]

STM32 F4 controllers are entry-level ARM Cortex-M4 MCUs from ST Microelectronics.

The STM32F4xx series is an ARM Cortex-M4 based 32-bit microcontroller. Its datasheet can be found here.

533 questions
-1
votes
1 answer

Flashing STM32f401CCU6 with binary file with Raspberry PI

I have STM32 which is gathering data from different sensors and reporting that data to Raspberry PI over Serial connection. On Raspberry PI is a service which is reporting that data to a server over the internet. The problem i have is updating the…
-1
votes
1 answer

How do we enable thumb mode in stm32f series when we use embedded c to drive it?Can you explain it in detail as i am a beginner

I want to enable thumb mode in stm32f401re board. the code i had written for it is in embedded c. How do we enable thumb mode in embedded c language. Do we use -mthumb command for it, do we have to add any library prior using that command. Or is…
-1
votes
1 answer

why not only one datasheet for STM microcontrollers

I know it's not a coding question , but I am struggling with something around my head for a little bit, for example stm32f446re : why it doesn't have only one datasheet , why so many datasheet for only one microcontroller , also my question is : how…
abdo Salm
  • 1,678
  • 4
  • 12
  • 22
-1
votes
1 answer

Putty on linux not showing received data from stm32F407VG

I am new in microcontroller and I was trying to send data from stm32F407VG to usb serial port connected to st-link using usart2 and HAL. I tried to print the data received on PuTTy . On PuTTyI set my port which is /dev/ttyACM0 and selected the baud…
DextroLaev
  • 106
  • 6
-1
votes
1 answer

Stm32 hardfault exception at Rtos

task_create tasks rtos_config debug I am new at RTOS , created two tasks on stm32cubeide but i counter HardFault_Handler exception on debug . why could it be ? I have the need for your help . all of the file --> link thanks....
Asaemon
  • 1
  • 2
-1
votes
1 answer

C:/Users/firmware/Desktop/uc4/New Folder/Inc/ff.h:28:10: fatal error: integer.h: No such file or directory

i m working on a project in which i am using stm32f411 nucleo board. in which i face error Description Resource Path Location Type fatal error: ff.h: No such file or directory fatfs.h /New Folder/Inc line 56 C/C++ Problem In file…
-1
votes
1 answer

DMA1 Does not Work With USART1 in stm32f103c8?

I'm Trying to enable DMA1 with USART1 in stm32f103c8 but it does not work . i enabled the usart to work as transmitter . and then enabled the DMA1 and make this configuration to it 1-enable the DMA1 clock from RCC. 2-disabled the DMA1 Channel…
-1
votes
1 answer

Why USART2 Send a Garbage Value?

Hello i'm using stm32f103c8 and i'm trying to use usart2 but it does not work . when i'm using USART1 with the same configuration of USART2 it works with me well . but USART2 send garbage to the PC terminal can someone help me to solve the problem…
-1
votes
2 answers

trying to make sense of this #define

I am trying to adapt a 16bit audio recorder application for stm32fxxx to 24bit and I have stumbled across a #define that is confusing me. I have changed 16bit DMA to 32bit DMA along with some buffers uint16_t to uint32_t etc.. no idea why uint32_t…
Ben Biles
  • 1
  • 2
-1
votes
1 answer

Touch screen panel using LVDS interface

Hi i am thinking to connect a 14 inch or bigger lcd touch screen with my discovery boards. Currently i have stm32f4 and stm32f7 discovery boards. Currently i am aware of different methods to connect them. But i am most interested in LTDC. I have…
-1
votes
1 answer

Accelerometer Reading

I am using an STM accelerometer with STM controller. While getting the readings from the accelerometer, it gives a random value. It even shows a false value, when used in a steady position. Here, somehow, I am facing problem and need some idea and…
SACHIN RAJPUT
  • 11
  • 1
  • 4
-1
votes
1 answer

finite state machine for reading password

I'm trying to read the input from a user using keypad 4x4 and compare the input using a finite state machine as shown below. When I come to case fourth my state machine does not go to Check case but to the default instead and then takes a key to go…
-1
votes
2 answers

cortex m4f havard (architecture) "programming itself" possible?

I have an STM32F446 processor (Cortex M4 with FPU, havard architecture) and I planned to build a "mini computer" (screen, keyboard) with it. Is it possible to programm assembler on the device itself and let it programm/flash itself with that code or…
Beny Benz
  • 13
  • 5
-1
votes
1 answer

How to use W25Q16 FLASH memory in STM32F4 with HAL Driver?

I want to save and restore my integer datas with my FLASH memory in STM32F407 using SPI1. I gave instructions to FLASH like this code. uint8_t txData[10] = {0xAB, 0x04, 0x06, 0xC7, 0x04, 0x90, 0x00, 0x00, 0x00, 0x00}; uint8_t rxData[10] =…
Tart L.
  • 29
  • 1
  • 4
-1
votes
2 answers

Audio Transfer Callbacks not executing with STM32F469I-Discovery

I'm new to embedded programming and I'm currently working on a project with an STM32F469I-discovery board. I'm using eclipse with the ARM tool chain and the supplied drivers. I'm getting stuck on playing a binary audio file flashed into the chip at…
1 2 3
35
36