Anything related to the STM32F4 series of microcontrollers. STM32F4 is a series of high-performance MCUs with DSP (Digital Signal Processor) and FPU (Floating Point Unit) instructions.

learn more… | top users | synonyms

0
votes
1answer
55 views

Using CooCox as an alternative to Keil MDK-ARM - any limitations?

A very popular and advertised tool for programming ARM microcontrollers is Keil MDK-ARM. The evaluation version can be downloaded here. However there is a code-size limitation of 32kb for using the ...
0
votes
1answer
50 views

STM32F4xx input pin reads wrong state on first run but not subsequent

I am working on a program which reads the state of a pin at startup to determine an operational mode. When I run the code on first power up, it reads incorrectly, but subsequent resets without power ...
0
votes
1answer
28 views

How can use MP45DT02 and CS43L22 DAC with STM32F4?

I'm doing an application with MP45DT02 MEMS audio sensor omnidirectional digital microphone. I'd like to use a STM32F4 MCU to control it, but I don't know much about it. Can I take input from the ...
1
vote
1answer
77 views

What USB class should I implement?

I'm playing around with STM32F4 Discovery board and libopencm3. I want to send data acquired from ADC channels over usb and display some charts on the computer. After doing some research on USB class ...
0
votes
0answers
31 views

Parallel Write On External Clock on STM32

I am using 8 GPIO pins on an STM32F407 for a parallel write to an external device (FT232H). The parallel write is synchronous, ie. I have to synchronize my data to a clock provided. According to the ...
0
votes
1answer
123 views

Can not jump to Timer interrupt function in STM32F4 discoverty

I made a code to call Timer2 interrupt function like this : ...
0
votes
1answer
101 views

Set TIMER interrupt int STM32F4 Discovery

How can I know exactly address of TIMER2 in Interrupt Set-Enable Registers (NVIC registers) to set for TIMER2 interrupt. Document " cortex m4 processor manual" just gives address of interrupt set ...
0
votes
1answer
64 views

Why does `RCC_GetClocksFreq` return different results than I expect?

I have a STM32F427 MCU with a 8MHz HSE crystal. I am setting up the clock as follows: ...
0
votes
1answer
62 views

STM32 not booting without J-link

I've got a device with STM32F439 microcontroller on it. I flashed the firmware using the J-Flash utitilty (flashed and read back data is same). Then started the application from J-flash: everyting ...
1
vote
1answer
67 views

Simulate STM32F4 brownout reset using STM32F100

The STM32F4 MCU has a brownout reset feature. According to the manual, section 5.2.2, when the supply voltage VDD drops below the selected VBOR threshould, a device reset is generated. After reset, I ...
4
votes
1answer
119 views

Look up tables, Flash or SRAM?

A STM32F4 platform is used, which has 192kBytes SRAM, which is sufficient for me. I am trying to build a look up table. The LUT will be used in calculation several times. And I want to put it in SRAM ...
2
votes
1answer
261 views

Stm32 Event and interrupts

I started studying interrupts on stm32 specifically the stm32f4 discovery board. i found this example in which you have to press the button to start the interrupt and push it again to stop it. In ...
-1
votes
2answers
87 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
vote
0answers
23 views

J-Link bad data transfer for STM32F40x ARM CPU

I am programming a modem driver for an STM32F40x ARM CPU http://www.st.com/web/en/resource/technical/document/datasheet/DM00037051.pdf. I am using a Segger J-link to download the program. ...
0
votes
0answers
516 views

STM32F4 USB Device Not Recognized

I'm trying to get a very basic USB project running on the STM32F429I-Disco Board with Keil uVision 5. I used the STM32Cube application to configure and generate the code / uVision project. Everything ...
0
votes
0answers
137 views

ST nucleo and morpho pin

I have this problem, I am studying the ST NUCLEO STM32F401. I use it with Arduino shield and it works very well. Now this board has some morpho pins that I want use, but I don't know how. For ...
0
votes
0answers
105 views

How to config LAN8710A with PHY by STM32F4x7

I am using STM32F407ZGT6. FreeRTOS is running perfectly on board! I have included Ethernet files. According compilation of Windows Commander stating that it was compiled lacked free. But if one ...
0
votes
2answers
373 views

Interference on ADC reading (STM32F4)

I'm using the ADC of a STM32F4DISCOVERY to sample a signal. The sampled values are directly written to the DAC. I tested this and it worked absolutely fine, just as I would expect. Now I wanted to ...
2
votes
0answers
370 views

LIN-communication between two STM32F4 with a standard LIN-transceiver (Hello World)

I have the following circuit connecting two stm32F4 via the SN65HVDA195-Q1 LIN-transciever. simulate this circuit – ...
1
vote
0answers
182 views

What shall be changed about stm32f4x7_eth_bsp.c

I am using STM32f407ZGT6. FreeRTOS is running perfectly on Board! I have included Ethernet files. According compilation of Windows Commander stating that it was compiled lacked free. But if one ...
0
votes
1answer
61 views

Writting Joystick drivers for ARM Cortex [closed]

I need to write a driver for Xbox360 joystick controller, using its module and everything. The idea isn't just take the code, I'm really interesting in the theory behind it. Does anyone have any ...
1
vote
1answer
300 views

Minimal ARM circuit is not working

I have developed an application by using STM32F4-Discovery development kit. Now code is mature and I need to build a custom circuit. In order to test that the bare circuit (according to my ...
1
vote
2answers
507 views

STM32F4 - Digital Signal Processing ( DSP )

At this website, I have read that STM32F4 microcontrollers have DSP instructions. To quote: It also implements a full set of DSP instructions I am beginning to learn embedded C programming with ...
4
votes
3answers
763 views

STM32F4 - Floating point unit ( FPU )

I would like to know, what is the purpose of the special FPU unit, that is advertised with STM32F4 microcontrollers ? To quote this website : " The Cortex-M4 core features a Floating ...
1
vote
0answers
2k views

STM32f4 discovery audio sampling above 16kHz not working

I'm trying to use digital microphone (MP45DT02) on stm32f4 discovery and just forward data to audio DAC and amplifier (CS43L22). The problem is that at sampling frequency higher than 16kHz thing ...
0
votes
0answers
1k views

STM32F4 USB examples other than Virtual COM / HID

I am building a CAN protocol logger using STM32F4. I need to send data from my STM32F4 device to my PC via USB port. I have seen lots of example in the internet using Virtual serial port to send data ...