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
1answer
55 views

How can the Vss or Vdd pins of a MCU handle sink or source current?

Today I was seeing the datasheet of STM32F103 MCUs and I came across with an interesting thing. assume I have an STM32F103RET6. it's a 64pin MCU of STM32 series. the pinout is this: It has 4 ...
0
votes
1answer
26 views

lwIP webserver download

I'm using a STM32F4 with lwIP to host a website, and I also have an SD card which I save csv type files to using FatFS. Just wondering how I would allow users to download files directly from the SD ...
0
votes
0answers
28 views

Nested Vector Interrupt between USB interrupt and pin interrupt scheduling

I am making a software SPI for a sensor with stm32f072 microcontroller. I have to display it in PC and am using USB protocol for this. While sending data from sensor to USB is completely alright. But ...
0
votes
1answer
54 views

lwIP - Best way to send data from microcontroller

Currently, I am using Server Side Includes to transfer data from my microcontroller to my webpage. The issue with this approach is that if I want to graph the data I have to store the SSI value in a ...
0
votes
0answers
20 views

STM23 and TLK105 Ethernet acts strange

I am conntecting STM32F107 and TLK105 from Texas Instruments and it works fine most of the time. The problem is a very strange behavior such as: - TLK software reset is not done correctly - Reading ...
1
vote
1answer
103 views

Minimal circuit for ARM STM32F411

I'm trying to determine what a "minimal" circuit is to get an STM32F411 processor running and able to blink an LED. I wish to use the internal PLL and no external crystal at this point. I've looked ...
2
votes
1answer
51 views

Is printf debugging over USB with STM32 possible?

I've been doing a lot of searching to try find some examples for printf debugging over USB for the STM32 (specifically stm32f1x). I have found a few examples for UART/USART however I can't find any ...
2
votes
1answer
78 views

ARM CPU burning hot within 30s after voltage regulator failure

I have an STM32F3 DISCOVERY board (3V CPU, http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/PF254044), and I accidentally dropped a 25V lead on a wire that I didn't think was connected to the ...
0
votes
2answers
53 views

Current taken from USB by STM32F3 Discovery board?

I am trying to find out what the board draws from the USB supply at max MHz. I really don't want to cut cables if this info is available somewhere already
0
votes
1answer
80 views

What free IDE does everyone use for the stm32?

I'm currently using Atmel SAM series. The choice was easy: IDE is Atmel Studio which is very good, free and I used it for developing AVR before. The debugger I have is the Atmel ICE which I also used ...
3
votes
1answer
67 views

STM32F0 Interrupt Debugging

Issue: I'm having an impossible time debugging why one of my interrupts isn't working. I'm trying to setup a hardware interrupt on PA3, but as soon as I initialize it, the interrupt triggers and then ...
3
votes
2answers
159 views

STM32 - Problem debugging using openocd and st-link

I am trying to follow this guide "Installing a toolchain for Cortex-M3/STM32 on GNU/Linux" (available: https://www.olimex.com/Products/ARM/ST/STM32-H103/) with the STM32-H103 development board from ...
4
votes
1answer
134 views

What is relation between ARM libraries

What is relation between CMSIS libs released by ARM.com, libraries provided by manufacture and GCC ARM libraries ? What is the exact purpose of each? Which of them Should I use?
1
vote
3answers
205 views

Which ARM MCU family is better for beginners? [closed]

Which ARM MCU family is better for beginners? I mean which family: Is straightforward and easier to learn Has more/better learning and development resources available Has bigger and better ...
1
vote
0answers
101 views

STM32F407 TIM8 complementary

I can't figure out why my code doesn't work! I've worked with TIM1 and everything works fine but when I change to TIM8, PC6 and PC7 are always on and the complementaries always off. Please help me out ...
0
votes
0answers
56 views

STM32L1 Bootloading from USART

I am trying to move an application from the STM32L1 discovery board (which has the STM32L152 chip) onto a PCB containing the STM32L151RC. On the discovery board, I was able to follow the application ...
1
vote
0answers
32 views

Cannot change DMA configuration after first transfer

I'm using a stm32f10x microcontroller and I'm trying to program its DMA module for normal mode transfers. The first transfer works perfectly, but after it's over, I try to change the source, ...
0
votes
1answer
58 views

Real time tasks with CooOs

i am using CooOs with 4 tasks.the problem is that only the first task run (indefinetly).What i want to do is to toggle each task 3 seconds then switch to the other.I know that i can do that with ...
1
vote
2answers
69 views

How to configure Coide to use DSP library for STM32f3?

I am struggling to use the DSP library provided by ST for my STM32f3 discovery board. I am using Coide. I started by including arm_math.h since all the DSP library files refer to it. I am getting ...
0
votes
0answers
48 views

USB Busy when transmiting data

WHat should I do when I am sending data using USB, when the callback in my firmware gives me USB BUSY? Once, I received USB Busy state, I could no longer send data to my host from my firmware, but my ...
0
votes
2answers
65 views

STM VCP USB_BUSY?

I am using STM32 VCP firmware, and I am sending data to my PC application If i did not open my serial port in PC, and my firmware keep on sending the data it will cause USB_BUSY to happen, (i think ...
0
votes
1answer
48 views

STM32F4xx - Can EXTI_GenerateSWInterrupt() Wake Up Processor from Stop Mode

As the title states, can the function EXTI_GenerateSWInterrupt() wake up the processor after it is put into a low-power mode using the PWR_EnterSTOPMode() function? The documentation says that an ...
0
votes
1answer
93 views

CAN bus acknowledgment error

I am using an STM32F429 CAN bus program with TJA1041A as the CAN transceiver. The problem is that the messages are not getting acknowledged, and herewith I am attaching the code for further reference. ...
1
vote
1answer
44 views

What is the difference between write and flash

My apologies for my very naive question. I am trying to get some understanding of the STM32 bootloader, specifically I am looking at stm32flash where I read: write to flash/ram read from ...
0
votes
1answer
114 views

Update STM32 firmware via Android [closed]

Sorry for the very open question, but I really know nothing about EE. I am an Android developer, I have been asked to create an Android application to update the firmware of a STM32 microcontroller. ...
0
votes
0answers
54 views

stm32f0 USB keyboard LED controlling with DataOut or RxReady0 with endpoint 0

I am making a USB keyboard using stm32F0RBT6 micro-controller. I want to receive data from PC for Caps Lock and Scroll Lock leds. Do I need to initiate a callback funtion like those ones? ...
1
vote
1answer
128 views

STM32F429 / STM32F439 read-while-write from two memory banks. Prevents stalling CPU?

I have been reading up on the STM32F429 flash memory (2MB version). From the STM32F4 reference manual I found out that it has two memory banks and supports read-while-write (RWW), which means it can ...
0
votes
1answer
54 views

Flash memory range on STM32F429II

I am reading the STM32F429II data sheet and looking at page 84, which shows the memory mapping. The chip has 2MB of internal flash memory, but the data sheet is general for all STM32F427xx/STM32F429xx ...
2
votes
2answers
206 views

STM32F4 FSMC 8-bit data width with 10+ bit addressing

I'm planning to interface an FPGA to a STM32F29/439 via the FSMC (Flexible Static Memory Controller). To save pins I would like to use the address/data multiplexing feature. Thus according to the ...
0
votes
1answer
43 views

How to attach/interface an ARM Cortex SoC with an stm32 processor

I'm trying to work out the best way to attach / interface an stm32f processor with a Linux based ARM SoC? Is it possible for the stm32 to communicate with the ARM SoC via I2C ...are there any ...
2
votes
0answers
367 views

STM32F4 NAND flash via FSMC, difference between bytes written and read back

I have a Waveshare Open407V-D development board, basically a "motherboard" in which an STM32F4DISCOVERY kit is fitted (this kit, for those not familiar with it, is made by ST itself and based on the ...
1
vote
1answer
116 views

Guitar Pre-Amp stage/filtering and STM32F4

I am currently involved in an academic project which the topic is to design a Digital Tuner for Electric Guitars. My knowledge of electronic is very basic, so here I am. I need to pre-process the ...
1
vote
0answers
150 views

STM32 ADC: Multiple channels with different sampling rates

I am trying to figure out how the STM32 multiple channels ADC conversion works (regular group). Lets say I want to convert on two channels, channel 1 and channel 2, on ADC1 and the sampling rates are ...
2
votes
0answers
145 views

STM32 - Multiple channel PWM input

I am using an STM32F405 based board , (OpenPilot revo ) to receive PWM signals from a joystick receiver . i have to xapture 5 PWM signals using only two timers , the timer 8 and the timer 12 . I've ...
1
vote
0answers
92 views

STM VCP Driver .inf file

Where can I get the STM32 Virtual Com Port (VCP) Driver .inf file? I want to configure the driver to change the Latency Timer and Receive/Transmit buffer size, but I cant find it. I also cannot ...
10
votes
2answers
312 views

Why does ST recommend 100nF decoupling caps for a 72MHz MCU? (And not 10nF)

I've been reading about decoupling caps, and I can't seem to understand why ST recommends 100nF decoupling caps on a 72MHz arm mcu. Usually 100nF decoupling caps are only effective up to about ...
3
votes
0answers
135 views

USB termination on STM32F437xx

I'm about to layout the USB connection on our boards and wondering whether the termination resistors and pull-up on D+ are necessary when using the STM32F437xx. The datasheet tells: ...
0
votes
1answer
350 views

Why use STM32 HSE?

Why do we use an external oscillator for STM32??? Why not just use the microchip oscillator? I am using STM32F2xx it clocks at 120Mhz But, an external oscillator of 12Mhz is latch into the ...
1
vote
2answers
266 views

Weird oscilloscope readings with a digital signal (ws2812)

Pretty new to oscilloscopes. I'm trying to learn stm32, so one of the projects I'm working on is getting ws2812 LEDS working on stm32. It does work for most strips, however, there are few strips ...
1
vote
1answer
335 views

STM32F4 Timer accuracy

I'm working with an STM32F4 Discovery board and I've come across a bit of unusual behavior that I'm hoping someone can explain the cause of to me. My goal is to configure a timer to trigger an ...
2
votes
1answer
227 views

STM32 USB: detecting connection and disconnection

Using STM32F4 USB Mass Storage Controller example in Device Mode, how do you detect connections and disconnections with a host controller? I tried polling the VBUS pin state yet it could be high from ...
1
vote
1answer
70 views

What does the “OPT” build target stand for?

When exploring the example projects, I've noticed that the regular Blinky project has 3 targets. I think I understand what Flash and RAM stand for (it's all a bit confusing), but I haven't seen ...
0
votes
1answer
117 views

What does ADCXX_INYY represent? Configuring ADC on certain pins from STM32F207ZG Board

I have a STM32F207ZG-SK board, and I want to configure pin B0 and A6 to read analog values from another board. Did I do the setup for pin B0 and A6 correctly? I checked to see if it has ADC and it ...
0
votes
1answer
135 views

STM32 PWM only works correctly when I leave in two unused variables: StartUpCounter and HSEStatus

I'm using the stm32f3discovery board to try and generate the signal for a ws2812 light strip. I've got src/system_stm32f30x.c, which I copied from the StdPeriph ...
0
votes
1answer
84 views

LPC43xx External Static Memory - Multiplexing of Address/Data lines

We would like to tightly-couple a FPGA with a µC by means of the external static memory memory controller, thereby effectively mapping the FPGA registers into main memory of the µC with maximum ...
2
votes
1answer
545 views

STM32 USART with DMA — which interrupts to use?

I'm working on firmware for an STM32F103 which is communicating over RS232 at 115200 baud with a motor controller. The motor controller (a Copley Xenus XTL) operates on a "speak when spoken to" ...
2
votes
2answers
376 views

STM32 SPI half duplex (1-wire Bidirectional) problem

Update: see my answer for fix. I'm trying to read 4 byte from a SPI-compatible slave (MAX31855) in 1-wire bidirectonal SPI half-duplex. Here is my code [SW Controlled SS] [SO->MOSI] ...
2
votes
1answer
143 views

SPI Interrupt Handler delay in STM32F303?

I'm working with an STM32F303 microcontroller configured in slave mode running at 72 MHz, and I've come across some strange behavior that I'm trying to track the origin of. The master first sends ...
1
vote
1answer
228 views

How to flash protected STM8/STM32 MCU?

I would like to flash a new firmware on my STM8L15xC8. I have ST Visual Programmer (STVP) installed and can successfully flash the MCU of the STM8 Discovery board. Now, I setup the STM8 Discovery ...
1
vote
1answer
123 views

STM32F2xx: Data from SPI Slave to Master

I have a STM32F2xx connected to a FTDI UM232H using SPI, STM32F2xx will be configured as SLAVE and FTDI will be configured as MASTER My scenario is this, I am getting data in STM32F2xx, and when I ...