Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [stm32f4-discovery]

The tag has no usage guidance.

-1
votes
2answers
51 views

STM32F407 discovery board jumpers

What is the usage of Jumper1(JP1), Jumper2(JP2) and Jumper3(JP3) on the STM32F407 discovery board?
0
votes
1answer
69 views

STM32F4-Discovery board RTC

RTC Crystal place is exposed on the STM32F4-Discovery board. So which kind of 32.768 KHz SMD Crystals is proper for that place? Could you give a part number or a link to buy?
1
vote
1answer
46 views

STM Studio C++ array content visibility

I have been writing software for the MCU STM32F417. I have been using the STM Studio for debugging purposes. Unfortunately I have found that I am not able to observe content of an byte array. I am ...
-2
votes
2answers
97 views

What purpose is to place pins at bottom on STM32 discovery boards [closed]

What is purpose to have pins (pin header) on STM32 development board places at bottom? Arduino and similar have pins at top so you see the top of board and connect external peripherals by connectors ...
0
votes
0answers
48 views

No response from ESP8266-01 during communication with STM32F429 discovery

I am currently working on project that requires usage of UART to communicate between STM32F429 Discovery Kit and ESP 8266-01. I am programming in Keil uVison 5 and CubeMx using standard HAL-library ...
0
votes
3answers
355 views

STM32F4 How are Preemption Priorities and Sub-Priorities used?

I have started working with ARM-based microcontrollers. I not understand subpriority and preeemptionpriority. For example: NVIC_InitStructure.NVIC_IRQChannelPreemptionPriority = 0x00; ...
0
votes
0answers
43 views

formatted chip on stm32f407vg

ı was properly working on stm32f407vg and to erase the latest program on stm32f4 I have formatted chip of stm32(now clearly it was not a good idea) ,but now flash memory discreased to 12kb(it was 1mb ...
0
votes
0answers
279 views

How to configure LCD TFT on STM32F469i-Disco with CubeMX?

I'm hopelessly trying to configure LCD TFT on the STM32F469I-Disco eval board. So far my best result is the following: What I've done so far: I used CubeMX to configure the board - I answered "yes" ...
0
votes
2answers
62 views

What is a simple method for measuring the physical vibration of a step motor (to STM32) in order to take it to a minimum?

For a university project we installed a motor that is controlled from a STM32F407G-discovery board through a step motor drive, we experimented with the number of Microsteps options in the drive, and ...
0
votes
2answers
95 views

How to get sensor data at fixed time intervals

I am using a STM (stm32l432kb) microcontroller. In my application I need to get the data from the sensor at fixed interval(based on the selected Mode). Like I have to select the Modes:- Mode 1 : which ...
0
votes
0answers
83 views

Read from data from Lis3dsh via I2C using Stm32f4

I'm working with the board STM32F4DISCOVERY from ST microcontrollers. I'm trying to read acceleration on the 3 axes from the accelerometer LIS3DSH via I2C communication.According to the Datasheet of ...
0
votes
0answers
93 views

STM32F4 timer not counting with external clock

I'm probably missing something obvious, but I just can't see it. The issue: I'm trying to get a counter on the STM32F407VG on the STM32F4 discovery board to count using a clock from an external pin, ...
-1
votes
1answer
350 views

STM32F4-Discovery GPIO Always High

I am doing some work with an STM32F4-Discovery board, and I am trying to get some simple usage out of the GPIO Pins. However there is a weird problem I am having, that I don't know how to fix. I am ...
0
votes
0answers
556 views

STM32F4-Discovery reading Serial Data

I have an STM32F4-Discovery Board with an attached STM32F4DIS-BB Base Board attached, giving me access to a Serial Port to use for the Discovery board. I am trying to program the board to read data ...
0
votes
0answers
225 views

Set Block size(CMD16) for SD card returns Illegal Command as response

I am interfacing SD card (16Gb Class 10 Micro Sd HC) to STM32F407VET using SDIO protocol. I am using Chan FatFs version 13a for this project. I am able to open an existing file(with some content in it)...
0
votes
1answer
252 views

STM32F4 Discovery AES Encryption Problem

I am trying to implement very basic AES192-CBC Mode encryption routine on STM32F407 Discovery board and I want to do that process with the onboard Cryptographic processor in STM32F407 MCU. I copied ...
1
vote
2answers
139 views

coocox suspends and hits the break-point

I am a complete beginner in the ST micro-controller programming. Intention was to evaluate the software set-up one and board functionality. So tried to blink an LED using standard code available. ST ...
0
votes
2answers
2k views

stm32f4 discovery user button debounce

I am still new to the stm32f4 discovery board. I was looking at the board's schematic to see how the user button is implemented on the board: Since C38 is not fitted, does that mean I have to resort ...
0
votes
1answer
119 views

Attempt to implement a scheduler in STM32F4

I have a question regarding scheduler implementation. I have tried to implement a scheduler according to my understanding. In this example, i have taken advantage of the Systick handler provided by ...
0
votes
1answer
359 views

Reading onboard-RTC registers of STM32F411

I am trying to read the values in the seconds register of on board RTC of the STM32f411E discovery board. I want to transmit the values to my serial port. I believe i have initialized the hardware ...
1
vote
1answer
51 views

Programming the STM32L152C8u6

I want to program the STM32L152C8u6 unit but i don't know how. Can I use the SWD interface on the STM32F4Discovery development board to program a STM32L152C8u6?
5
votes
1answer
723 views

STM32F4 How to stop triple interleaved mode?

I am using triple interleaved mode with DMA in STM32F429 and have problem stopping it. It should be stopped by HAL_ADCEx_MultiModeStop_DMA(&hadc1), but while ...
2
votes
2answers
380 views

STM32F4 ADC: Dual interleaved + Independent

Some STM32F4 microcontrollers have 3 ADCs on board, they can be configured in various modes. I wonder is it possible to configure ADC1 and ADC2 in "Dual interleaved" mode, but have ADC3 configured as ...
0
votes
0answers
61 views

How to create a CMSIS project for DiscoveryF407VG board?

I have downloaded Keil 5.24a, and Arm cortex-M legacy support, when I want to create a new project, in micro selection step, in Software Packs there is no ...
1
vote
1answer
2k views

Atollic + STM32F4 + ST-Link v2 connection problem “Unknown MCU found on target”

I currently have a problem with the connection between the debugger ST-Link V2, ARM Atollic 8.0.0 and a custom board with STM32F469. The Atollic and the ST-Link utility believe the Target is halted (...
1
vote
1answer
1k views

Interfacing HC-SR04 Ultrasonic sensor with STM32L

I'm trying to control this HC-SR4 Ultrasonic sensor by simply ON an LED when an object closer than 100cm is detected. I'm using TIM2 for the trigger signal (Pin PB10), and TIM4 to receive Echo signal (...
0
votes
0answers
270 views

STM32F407VG: Using timers to count every pulses of an external clock during a specified time

I am working on a project to count the pulses of an external signal, I am using TIM2 to count every pulses of the signal and the TIM4 to set the duration of counting. For example : I have an external ...
0
votes
1answer
807 views

Program not running on STM32F4 after disconnect it from PC

I developed a program on STM32F4 using keil uV on windows 10, it works perfectly when the target is powered by the computer even after i stop the debugging. Normally after downloading the program in ...
0
votes
2answers
563 views

Using SPI to communicate between stm 32 f4 and stm32 f3

I want to use an SPI bus to transer a message between an STM32F4 discovery and a STM32F3 Discovery, using an half-duplex channel. Master is F4, slave is F3 and the communication is MOSI type. When I ...
0
votes
1answer
1k views

How to configure Multichannel ADC properly? Currently two different values stored in same variable

I want to use Multichannel ADC using the STM32F4 so I want to read two different AC signals on two different pins/channels. One AC signal value should be stored in ADCConvertedValue[0] and the other ...
0
votes
1answer
425 views

DMA circular input

I want to copy the same value, say 0.0f, into a big block of SDRAM through DMA. For example, STM Discovery 429 uses DMA2D for fast screen clearing with the ...
2
votes
1answer
3k views

DMA triggered by Timer using STM32F4-Discovery board

I am trying to trigger the DMA peripheral by the Timer using STM32F4-Discovery board, but it doesn't seem to work. I want to get the value of a port (Port C) every 5 ms and save the value in memory ...
2
votes
2answers
2k views

Read big file from sd card with fatfs

I'm using the STM32F4DISCOVERY board and I am trying to read a file from a micro SD card, and treat the data. I'm using the following functions ...
1
vote
2answers
12k views

How to read from multiple channels of the ADC on an STM32F407?

I am working on a project wherein, I need to read the Analog outputs from 4 sources and convert them to a digital value using a single ADC module on the STM32F407 microcontroller. I want to sample the ...
0
votes
1answer
401 views

Error in programming STM32F4 Discovery with IAR?

I program STM32F4 using External Interrupt, and there is an error below: Error[Li005]: no definition for "SYSCFG_EXTILineConfig" referenced from C:\Users\AnhDoan\Desktop\STM32\IAR[GPIO ...
0
votes
2answers
610 views

RTC (real-time clock) in STM32L4 series - date and time is not updating on the debugger variable

While using the RTC (real-time clock) in the STM32L4 series, but date and time is not updating on the variable in debugger mode. But when I stop the debugging, the variable gets updated instantly and ...
0
votes
1answer
452 views

External Power STM32F4DISCOVERY [duplicate]

This question has already been asked on this link but I cannot comment there. I want to run my STM32F4DISCOVERY board from external power supply, but it does not run as it should. As specified in the ...
0
votes
0answers
306 views

Can't get GPIOH pins to work as output on STM32F4 Discovery

I'm using 4 LEDs connected to different pins on STM32F4 Discovery: PA6, PD8, PH0, PD1. All of these pins have been configured as output with same function: ...
2
votes
1answer
2k views

How to configure STM32F4s TIM1 and 8 for PWM

I have configured timer 4 for PWM with following code and connected LED to the configured pin. It is working. ...
0
votes
0answers
952 views

Factory Reset stm32f4discovery

What is the easiest way to perform a factory reset on the board STM32F4DISCOVERY ? I am working on IAR Workbench 7.70.1. Thank you all
1
vote
0answers
511 views

Constant values read from LIS3DSH Accelerometer

I'm working with the board STM32F4DISCOVERY from ST microcontrollers. I'm trying to read acceleration on the 3 axes from the accelerometer LIS3DSH via I2C communication. The code is working on one ...
0
votes
1answer
572 views

Proper way of storing a register address on ARM Cortex M4?

I am writing a program on STM32F4 Discovery where I have to store address of Timer's CCR register into a pointer and then change register via this pointer, ie ...
0
votes
1answer
429 views

Open Error on host while using VCP on STM32

I use STM32F407G-DISC1 board. I have run some examples with VCP based on STD library. Everything is OK. Then I have tried to generate code by CubeMX. And something interesting happens. If not to add ...
0
votes
0answers
501 views

STM32F429 Discovery board power issues

I seem to have accidentally bricked my STM32F429 Discovery board. By mistake, I connected the external power supply while the ST-LINK cable was connected to a PC. I have done some troubleshooting: ...
0
votes
1answer
278 views

Trouble interfacing NewHaven oled display with stm32f4

The last two days I've been trying to interface a NewHaven Dislpay with my stm32f4 discovery board with no result. The datasheet gives poor written examples as to how to initialize this display and ...
0
votes
2answers
580 views

Work with STM32F4 Timer

I'm working with STM32F411 Discovery board. I use Atollic TrueStudio and HAL Library. I'm trying to make a simple program that checks when Timer2 overflows and, when it happens, I toggle an LED. I ...
0
votes
2answers
2k views

STM32 HAL can't turn LED on

I am trying to advance my coding skills and venture into the world of high-end microcontrollers, coming mainly from a Java background (1 year of android developer as a daytime job plus a bit of C ...
0
votes
0answers
922 views

Conversion 'int' to 'float' in STM32 gives always 0.0 as result

I simply want to convert the obtained integer value in 'ADC_CV' into a float. However, I always get the result 0.0 in 'test' even though 'ADC_CV' is not 0. ...
1
vote
2answers
2k views

UART between STM32F4 and an Arduino Uno

I am able to successfully send strings and numbers between two STM32F407VG Discovery boards and between two Arduino Uno boards but I am unable to do it between an STM32F4 and an Arduino Uno. Here is ...
2
votes
1answer
738 views

STM32f4 Port to HAL : USB HID dropping packets

I am trying to port a working custom HID code from Standard peripheral to HAL.I am sending two consecutive reports in a single while loop. In Standard Peripheral code the following is called twice for ...