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
12 views

Clipped sine input for HSE clock input on STM32F303?

I am using a STM32F303 and need a very high stability clock ie around 1ppm over temperature. One of the modules I am looking at outputs what is described as "clipped sine". Can this drive the ...
7
votes
4answers
1k views

My first STM32 code - please criticize me

I have just wrote my first code on STM32 - blinking LED. It combines a fragments from different sources; please criticize me so I can learn how to write proper code and don't learn stupid habits. ...
-1
votes
1answer
40 views

STM32F205 - can i use a timer to generate a low pulse of specified length

I want a pin to be high by default and then generate two 125-250 µs pulses with 0.1 µs resolution using a command. I was thinking about using TIM1 in one-pulse mode but I don't see a way to invert the ...
3
votes
2answers
174 views

STM32 Understanding GPIO Settings

In STM32 Standard Peripheral library, we need to configure the GPIO. But there are 3 functions which I not sure how to configure them; GPIO_InitStructure.GPIO_Speed GPIO_InitStructure.GPIO_OType ...
0
votes
1answer
44 views

How float to binary conversion works

I was looking for solution how convert float value to binary in STM32 and I found this: float foo = 1.23; uint32_t bar; bar = *((uint32_t *)&foo); My ...
0
votes
1answer
52 views

STM32F411 Nucleo board - what the ferrite bead is used for?

I'm trying to design my own pcb for the stm32f411 and when i saw the datasheet of the stm32f411 ( http://www.st.com/st-web-ui/static/active/en/resource/technical/document/datasheet/DM00115249.pdf ) ...
2
votes
0answers
91 views

STM32 SPI Peripheral bug?

I'm using STM32F051R8T6 on STM32F0-Discovery board and M25P80 flash IC as a peripheral. I've got the SPI configured in 3-line (+ 1 software chip select line), full-duplex mode and I'm using polling to ...
1
vote
1answer
61 views

Why is it necessary to halt program execution for the breakpoint to be effective?

When I'm following this procedure, program execution is successfully stopped when the payload program is run: Setting breakpoint to beginning of program which is gets loaded by the bootloader ...
0
votes
1answer
53 views

LWiP Web Server: Running website using html files

Is there any way to run web server site on lwip library without conversion html to hex, but directly using html files?
0
votes
2answers
109 views

STM32F103RB ADC (pics included) strange values for temperature sensor (LM35)

I've connected one battery/2 batteries (GND and A0) and the measuremet displayed on the com26 port is ok. I've connected the LM35 (The LM35 has 1 celsius degree for 10mV measured value) on the VCC and ...
0
votes
0answers
41 views

STM32 J-Link connection

I have this JTAG connection diagram: According to this, I'm connecting only the pins 1, 2, 3, 5, 7, 9, 13 and 15 to the target, with the 10K pull-up resistors shown. Question is, other than these ...
3
votes
1answer
51 views

STM32 Semihosting - SIGTRAP received when printf called

Have followed this guide here (http://www.wolinlabs.com/blog/stm32f4.semihosting.html) to get semihosting on the STM32F103 working. Basically my goal is to get printf working over JTAG (ST-Link/v2). ...
0
votes
1answer
63 views

STM32F4 - DMA with bigger steps

I'm programming an STM32F4 Discovery board to push a sequence of 12 bit values into the DAC data register. This works well using timer interrupts: inside my IRQ handler, I have code that looks like: ...
2
votes
1answer
76 views

Printf style debugging via SWD

Is it possible to send arbitrary messages (as with printf()) via SWD for debugging?
0
votes
1answer
50 views

STM32 memory page size

I can't find the size of a page of memory in an STM32L0 (specifically STM32L053R8, see DocID 025844). I don't see a referenced as to the size of a page of memory. Note: This is also in reference to ...
0
votes
1answer
80 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
35 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
35 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
75 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
36 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
145 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
95 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
92 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
79 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
1
vote
1answer
135 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
105 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
540 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
179 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
242 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
114 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
64 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
46 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
63 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
96 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
57 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
97 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
71 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
126 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
52 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
168 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
77 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
186 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
65 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
315 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
44 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
576 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
3answers
174 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
183 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
181 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
117 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 ...