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.

learn more… | top users | synonyms

0
votes
0answers
50 views

Changing the STM32 USB CDC Virtual Com Port Example for Custom Boards Not Eval Boards [on hold]

I've downloaded USB CDC Virtual Com Port example from st website (http://www.st.com/web/en/catalog/tools/PF258157). There are some configuration for eval boards but if I want to use a custom designed ...
-3
votes
2answers
85 views

Generating 8 analog signals from microcontroller [on hold]

I want to generate 8 analog independent signals from a microcontroller, such as a BeagleBone or STM32. In my research, I found that I can use an external multi-channel DAC and interface it with the ...
0
votes
1answer
41 views

hse external oscilator on stm32f030

According to ST AN2867 Oscillator design guide for STM32, the oscillator circuit requires a Rext resistor There are minimal boards with stm32f030f4p6 on ebay, aliexpress... It looks that rext is ...
1
vote
3answers
65 views

Hardware for IP Camera Project

I intend building a custom IP camera for home use, project goals are: Videos are stored remotely in real time (storage somewhere else in home or cloud server) Live steaming from internet Video data ...
1
vote
1answer
83 views

Unable to send data to Thingspeak using ESP8266 and STM32 Nucleo

I am using ARM's mbed compiler to program my STM32 Nucleo. I am also using an ESP8266 as my WiFi module. My connections are as such: Rx of the ESP8266 is connected to D8 on the Nucleo. Tx of the ...
0
votes
1answer
47 views

How to use ST-LINK Utility

Could someone be kind to explain some features inside ST-Link Utility. What is the unit of measurement for size, how it works? What does represent data width? Changing data width presents ...
3
votes
0answers
60 views

SPI loopback with DMA

Am using STM32F4 discovery board and I am attempting to get SPI loopback with DMA. I have succesfully get an "SPI-only" loopback running, but now i want use DMA in addition with the SPI, here are the ...
2
votes
3answers
92 views

What happens on STM32 when multiple (UART) Interrupts are triggered at the same time? is there an interrupt stack?

I'm implementing a uart daisy-chain communication scheme with a Cortex M4. When a node receives a byte over one UART, an interrupt is generated (RXNE) and the byte ...
0
votes
0answers
76 views

STM32 if-statement timing

I'm working on a porject where I need to communicate with an USB PHY chip. I am using a STM32 microcontoller. (stm32f446ret6, ...
3
votes
2answers
321 views

Is this power supply circuit ok?

I am using a STM32F105FBT6 to create a CANbus analyser. I plan to have a simple PC application that displays the CAN messages and lets the user put messages onto the Bus. I also what to be able to ...
0
votes
0answers
52 views

STM32F4 VCP CDC characters missing in terminal

I'm trying to use my STM32F4-Discovery to communicate with the ESP8266 via Virtual COM port. When I send commands, they are transmitted to the ESP8266 without problems. However when the response is ...
0
votes
1answer
37 views

mdot Analog in: how to connect Grove temperature sensor?

I am starting with multitech mdot product. I am confused about how can I use the mdot pin PB_1 (linked to A0 in UDK) to read my Grove temperature sensor value. Is it enough to simply connect it to ...
2
votes
1answer
64 views

Regarding STM32f103 bootloader

It is given in STM32 system memory boot mode APP note that bootloader stored in the internal boot system memory is programmed by ST during production. Does this mean that if I buy a new STM32 ...
3
votes
2answers
173 views

Is this STM32F based circuit ok?

So this is my first time moving away from Arduino based projects and I am now planning a project using the STM32F105RBT6. It has a USB port and I plan to have a simple PC program that displays the ...
0
votes
0answers
48 views

STM32 Getting incorrect data from SDRAM through DMA2D

I have an 800x600 pixels RGB565 image stored in the SDRAM of my STM32F7-discovery board starting at memory address 0xC0390000. What I want to do is saving this image to an SD card. The code for this ...
0
votes
1answer
77 views

ST-Link debugger/programmer failed to find STM32L152 MCU on designed PCB

I'm using STM32L152 MCU on my own project. The project was started on a STM32 Discrovery board. Now I would like to have my own board by designing a PCB with the MCU. An external ST-Linkv2 will be ...
0
votes
0answers
75 views

STM32, simulating SPI/I2S with GPIO

I'm trying to simulate SPI with GPIO on STM32F4. The task is to read PDM microphone data. I tried to do this by: Generate 1 MHz clock, using STM32 TIM14, on GPIO PF9, as SCLK in SPI protocol When ...
-1
votes
1answer
128 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, ...
0
votes
2answers
113 views

STM32F407ZET6 and nordic nrf24l01+ communication with interrupt driven SPI

Currently working on STM32F407ZET6 MCU. I am trying to generate an interrupt based SPI communication with nordic nrf24l01+ chipset. The MCU is in Master mode. I am able to establish an SPI ...
0
votes
0answers
56 views

STM32 read PDM data with GPIO

I want to build a microphone array with MP45DT02, which outputs PDM signal. It seems that SPI/I2S is usually used to read PDM data, but my MCU (STM32F407ZGT6) has only 2 I2S's and can only support 4 ...
0
votes
0answers
150 views

STM32 USB OTG HOST Library hangs trying to create file with FatFs

I am using STM32F407 discovery board, and I am trying to create a file with FatFs on USB flash, but my f_open call trying to read boot sector for first time file ...
0
votes
1answer
103 views

Using a Mosfet Gate driver to directly drive a small stepper motor?

I need to control some small, low current stepper motors from a 3V ARM micro controller. The motors typically require 5-12V at 400mA (30 ohm 41mH windings). What occurred to me is to use a Mosfet ...
3
votes
1answer
336 views

Interfacing USB with a microcontroller

I am designing a development board for STM32F103 microcontroller. I plan to implement an on-board USB for interfacing with the uC. I referred a few designs online and have always found some pull up ...
4
votes
2answers
217 views

STM32F7 gets stuck in external interrupt callback function

i am working on a project to connect a camera to an STM32F7 Discovery board using the DCMI interface. The camera part works fine, but i have a strange problem with external interrupts from the ...
0
votes
1answer
70 views

STM32F429 I2C problem

is it possible to connect two I2C busses on one board, one at master mode and the other in slave. I am just trying to learn some I2C stuff, but I have only one board.
3
votes
4answers
493 views

Debugging an ARM (STM32) Microcontroller using Qt Creator

I have been working with STM32 series ARM microcontrollers on IAR Embedded Workbench for a while. For some reasons, now I need to move my works to Qt-Creator (both on Windows and Linux). In IAR EWARM, ...
1
vote
2answers
51 views

WS2812B 16 Channel Drive with STM32 problem

I am working with this library. This library uses DMA1 channel 2,5,7 but these channels are required by USART. So I have changed the channels and corresponding to timers ( totimer2 and to timer4). ...
0
votes
2answers
83 views

Disable interrupt in ISR on STM32F4

Is is possible to disable an interruption during its service routine to prevent it from happening again for some time? For example: ...
7
votes
3answers
326 views

STM32F0x1 comparator (COMP) and ADC on same pin simultaneously?

I am putting together a project that takes advantage of the comparator peripheral on the STM32F051 microcontroller. I have read in the documentation that for the comparator to work the input pin needs ...
3
votes
3answers
188 views

Why float data type is not accurate on a STM32?

I'm using STM32F103C8T6 and my compiler is KEIL 5. I have written a simple program to check something but I found out an interesting point. When I download the program to the MCU, ...
0
votes
0answers
35 views

Giving Input values to the IAR code using Terminal I/O feature of C-SPY

I am using IAR to program a microcontroller and wanted to test my code by giving test values to my application.Test values are to be read from the text file placed on my PC(as it is too large ~>2Mb).I ...
0
votes
1answer
97 views

Output 48MHz system clock on a GPIO pin other than MCO pin on STM32F030

I want to output the max 48MHz clock signal of STM32F030 to drive another subcircuit. The problem is the chip STM32F030F4P6 (TSSOP-20 package) I prefer to use a GPIO because the MCU doesn't have the ...
1
vote
1answer
121 views

Writing STM32F7 code without external files?

How to start coding for STM32F7 platform without any external files despite of assembler startup file. Is there a header file with memory mapped registers which does not include any other header files ...
0
votes
0answers
73 views

Initialisation of the LCD HY28B (ILI9325C)

I'm trying to figure out how to make my litle holliday project work. I'd like to display stuff on my HY28B, I'm using an STM32 to control it. I tried the example code given by Haoyu electronics but it ...
2
votes
3answers
127 views

Trying to flash STM32f030f4 (ARM, Cortex M0) - what is proper wiring?

I've got STM32F030F4 chips from shop, made a small breadboard adapter for it and tried to connect to its built-in bootloader via USART1. I've failed and I'm somewhat bewildered about wiring. My ...
0
votes
1answer
142 views

STM32L0 Snippets with GCC ARM Toolchain

Currently I try to use the STM32L0 microcontroller series. I found that ST offers a low-level C program collection called STM32SnippetsL0 too, parallel with their complex STM32CubeMX based HAL API. ...
2
votes
2answers
103 views

How is the bootloader and firmware uploaded during production? [closed]

If there was a product with 5 MCUs (STM32303) and a main CPU being a AM5718, how would the bootloader be uploaded to each chip? The same question about the firmware how would the firmware be uploaded ...
0
votes
1answer
74 views

Strange ADC sampling frequency / clock frequency on STM32F401 board

I use a timer to trigger ADC sampling on STM32F401, and the interrupt service routine of ADC will toggle a GPIO pin so that I can measure the ADC sampling frequency using an oscilloscope (which should ...
7
votes
3answers
320 views

How to program multiple STM32Fs on same PCB

I work in a management roll and only have a very limited electronics knowledge (enough to make simple arduino projects etc). We are working on a product at the moment which has 3 STM32F303s and 2 ...
2
votes
3answers
198 views

STM32 PCB Problem

I have been trying for almost a year to get an STM32 to work on a custom-made PCB. I have an STM32F107 and I have wired it as shown in the attached diagram (only shown components are soldered at ...
1
vote
1answer
97 views

Flashing STM32F030 via uart bootloader under linux

I'm going to evaluate STM32F030 microcontrollers (ARM) for replacement in one measuring device - and ordered a few already. Meanwhile I'm trying to collect info on how to work with them. Currently ...
0
votes
1answer
116 views

USB resistor locations

I've got a question regarding the location of the resistors used to configure USB. I'm currently designing a board with an STM32 chip, on the left of the diagram and want to have USB broken out, on ...
4
votes
2answers
467 views

How to use external ST-Link to debug/program STM32F103 MCU?

I'm using STM32F103 MCU for my own project and want to use the ST-Link of STM32F411 Nucleo board for external debugging / programming purposes. I've set the CN2 jumpers OFF and my actual question is ...
0
votes
0answers
184 views

How to write to internal STM32 Flash memory?

I am working with an ST Discovery board (STM32L152RCT6). I have been able to program the device and do all entry level things. Now I want to write to, and read from, the internal EEPROM and Flash ...
1
vote
1answer
179 views

MCU push button triggered by electrostatic discharges

In a simple project based on an STM32 microcontroller, I needed a couple of extra push buttons. So I connected each button between a pin on the STM32 and GND, configured the pins as input and ...
2
votes
1answer
86 views

USB Specifications for PCB design.

I'm designing a board with a STM32F103CBT6 chip and I've been trying to figure out how USB works so I can have that extended out. Reading some specifications online has just left me with more ...
1
vote
3answers
556 views

How do I use the printf function on STM32?

I am trying to figure out how to use the printf function to print to the serial port. My current setup is STM32CubeMX generated code and SystemWorkbench32 with the STM32F407 discovery board. I see ...
1
vote
1answer
55 views

Where are details regarding peripheral configuration for STM32 controllers in datasheets?

I have recently begun working more with STM32 processors coming from the more simple Atmel 8bit variety. The Atmel datasheets are very nicely laid out -- specifically speaking to how they provide ...
3
votes
1answer
98 views

How to reset slave timer in gated mode?

How to make automatic reset of slave timer in gated mode in STM32 mcu? Summary: I've done synchronization between 2 timers: Timer#1 is configured as a slave in gated mode, Timer#2 is configured as a ...
0
votes
0answers
52 views

How to show LwIP library debug output?

I have generated project with stm32cubemx running FreeRTOS + LwIP and trying to debug LwIP library I have enabled all the options for debugging, redirected all to ITM and created my own printf ...