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

-3
votes
0answers
43 views

Hardware requirement for STM32f407

I am planning to build my own board for stm32f407, I wanted to know the basic requirements for this chip. and any other specific topics which i need to consider. The dev board is good, but i need to ...
0
votes
1answer
59 views

Parameters to compare microcontrollers for low power consumption?

How do I select a microcontroller with low power consumption? -for MSP430 series we can compare using \$\mu\$A/MHz at active state. Similarly how to compare this with other MCU's like PIC and STM ...
1
vote
3answers
82 views

Remote-debugging stm32f4

I'm rather unexperienced on the field of microcontrollers, I come from a Java background so the question might seem a bit noob but I didn't find much information on this. So is it possible to debug ...
1
vote
2answers
80 views

STM32F4 (Discovery board) universal delay (milisecs) function

On the net, I have found following function for delay in miliseconds for STM32F4 (Discovery board MCU): ...
0
votes
0answers
34 views

Cannot communicate with LIS3DSH MEMS accelerometer

I have STM32F4DISCOVERY board version with LIS3DSH MEMS accelerometerand I am writing comm library for it. Here is main.c file: ...
0
votes
0answers
94 views

STM32F407 Acquiring SPI data at the rate of 42MHz

1. STM32F407 claims that it SPI1 is up to 42MHz capable. However, I wasn't able to achieve that with any different kinds of settings. It takes APB2 bus which is 84MHz. With prescale_2, ...
1
vote
2answers
79 views

What book or website should i refer for stm32f0 development from scratch (Ihave worked on AVR microcontrollers ) [closed]

What book or website should I refer to for STM32F0 development from scratch (I have worked on AVR microcontrollers)? I am searching on net for good resources but unable to do either they are very ...
4
votes
0answers
69 views

What happens on the STM32 when two pins are configured to have the same alternate function?

Reading through the STM32 manual, it looks like it's possible to configure the same alternate function on two pins; for example, you could have multiple USART1_TX pins at the same time. Or for example ...
1
vote
1answer
111 views

Making a high speed USB communication from STM32F4 and Java on Linux PC

I have a STM32F4Discovery board and I try to communicate between a c program(with no OS)on the board and a Java program on ubuntu pc. I have found many tutorials like this about USB but they all try ...
0
votes
2answers
86 views

STM32F4 pulse generator

With STM32-H407 (STM32F407ZG), I am trying to make rectangular waveform output like; ---_ _ ---_ _ _ _ _ --- _ _ ---_ _ _ _ _ --- _ _ ---_ _ _ _ _ _ With numbers ---_ _ ---_ _ _ _ _ _ is 125us ...
1
vote
0answers
65 views

LIS302DL Accelerometer WHO_AM_I command

I've setup the behaviour of LIS302DL accelerometer IC using following code: ...
0
votes
0answers
44 views

Olimex STM32-H407 + ST-LINK + OpenOCD debugger. Can OpenOCD a debugger?

I am using STM32-H407, ST-LINK as JTAG and OpenOCD as a tool because STM32-H407 is open source hardware. With ST-LINK, can OpenOCD be a debugger?? Olimex did not answer to that question because ...
3
votes
2answers
112 views

Why did the datasheet mention this interface?

I have a ST32F103RET6 MCU. I got the datasheet(and refrence manual). When i saw in the datasheet(and refrence manual), i saw this part: i have several questions now: I don't know, why did the ...
1
vote
1answer
73 views

Is it normal to brick the STM32F0 with certain software pin configurations?

I've flashed the following code to my shiny new STM32F0DISCOVERY board. The comments explain what I thought it would do. ...
1
vote
0answers
20 views

STM32-H407 and ST-LINK not compatible?

Without knowing how I should approach to STM32 development board, I purchased Olimex STM32-H407 which would work with OpenOCD. and I purchased ST-LINK/V2 hoping that any JTAG cable would work. My PC ...
0
votes
0answers
73 views

How to reduce the data rate?(OV7670 + AL422B(FIFO) Camera Module)

i bought this module: OV7670 + AL422B(FIFO) Camera Module and i want to send the live video of the camera by this NRF24L01 but i have a problem. I don't know is the RF module suitable(NRF24L01) for ...
0
votes
3answers
108 views

STM32-H407 write program with USB mini cable (USB-OTG)

I have Olimex STM32-H407. Manual says you require JTAG/SWD cable. Until I get JTAG/SWD cable, I am trying to write program on the board with USB mini cable. Is it possible? My PC or IDE ...
0
votes
0answers
56 views

Color sensor tcs3200 configure with stm32f3 to obtain frequency

I'm having a project on color sensor and using stm32f103rbt6 with TCS3200. I'm trying to use External interrupts to obtain pulses from the color sensor and then measuring the frequency for different ...
2
votes
1answer
101 views

What is the purpose of STM32's noise-wave generation function?

if you see in ST32f103ret6 unser manual or datasheet, you can to see a feature of DAC unit with this name: noise-wave generation. now i have several question about this feature: What's the usage ...
4
votes
1answer
145 views

What is the difference between an injected and regular STM32 ADC channel?

The STM32F1's reference manual describes "regular" and "injected" ADC channels but is not clear on the difference. What is the difference between the two types and when might you use one or the other? ...
0
votes
0answers
74 views

STM32-E407 - FSMC

Have anyone any experience of the FSMC of a STM32 E407 chip ? Write speeds, DMA, etc ? I have an application that needs upto (worst case) 20 MB (thats bytes) / Sec sustained transfer rate from the ...
0
votes
0answers
99 views

ADC with STM32F3

In the RM0316 reference manual of STM32F302xx, STM32F303xx and STM32F313xx advanced ARM-based 32-bit MCUs i found in the paragraph 12.8 - Dual ADC modes In devices with two ADCs or more, dual ADC ...
0
votes
1answer
113 views

What's the usage of the three boot mode of STM32f103?

If you see in refrence manual of STM32f103, you can see three boot mode for it. well, What's the usage of the three boot mode? please say to me by example for each mode.
2
votes
1answer
87 views

Help for find Camera Datasheet or interface to st32f103

I want to use of S302's Camera(the S302 is a mobile phone with a good camera) and interface it st32f103 but, unfortunately I can't find any datasheet for it. Also, I can find the schematic of Phone ...
6
votes
1answer
125 views

What's mean these microcontroller pin input/output modes?

I bought an stm32f103ret6. When I saw the reference manual, I saw that it has several I/O modes. For input: floating, pull-up, pull-down For output: analog, open-drain, push-pull I have already ...
2
votes
1answer
522 views

STM32 GPIO Configuration

I am trying to figure out some online resource to figure out how to configure the GPIO Registers on an STM32F4 Cortex M4 board. I only have examples for the Cortex M4 ...
0
votes
1answer
119 views

How to overwrite flash memory on STM32L series

I am trying to write a known pattern (ie 0xFFFFFFFF or 0x00000000) on top of already written flash memory, to invalidate portions of it for a primitive file system. But it doesn't work for me on the ...
0
votes
2answers
220 views

STM32 crashing to Default_Handler

My STM32F4 Discovery is crashing when I try to run the sin or sinf function with the FPU enabled and with the FPU disabled. ...
0
votes
0answers
616 views

STM32F4 : USB and Virtual Com Port

I tried to use the VCP example from ST's sources. So, I installed the last version of the Virtual Com Port from ST website. I compile the project on CooCox, no error, no warning. I target the ...
2
votes
1answer
257 views

STM32F103 low power mode (stop)

I've got a project where I'm trying to get the power consumption down as low as possible (on an STM32F103RCT6). I looked at ST's document on getting the STM32F2 power consumption down as low as ...
0
votes
0answers
296 views

ADC STM32F4 : Funky Values

I am confronted to a problem : I test the output ADC's values. I send to PC0 (GPIO_PIN_0 and ADC3 with Channel 10) an signal between 0 and 1 volt -don't consider impedance issue, and it is not a ...
0
votes
1answer
384 views

STM32 F4 - ADC in Dual Mode Simultaneously

I am stuying the example from STM32 libraries (ADC_DualModeRegulSimu). I understand how the whole program works but I need some information and I have few questions about this code confronting to my ...
2
votes
1answer
543 views

STM32 Interrupt Priority (preemption) Problems

I have another problem (High resolution system timer in STM32) which I have tracked down (mostly) to this issue, and have created a test case here for the simplest STM32 processor I could find (on the ...
1
vote
2answers
539 views

High resolution system timer in STM32

I have some software running on an STM32F103 (I'd also like to be able to use the F4) where I'd like to be able to 'timestamp' events (such as interrupts on external pins) to the nearest microsecond ...
0
votes
3answers
140 views

Problem with pointer on ARM Cortex M4

I am working on a STM32f4 board and I have a problem with passing pointer as input in a function. I have my main : float32_t var; function(&var); And ...
0
votes
0answers
240 views

ST-Link and my STM32F051 board not connecting each other

I've designed my first board for an STM32F051. When I connect the SWD pins to the ST-LINK, it doesn't connect. The STM32 ST-Link Utility says "Internal command error". I think I have all the ...
2
votes
1answer
92 views

STM32f2xx could not work with maximum frequency

I'm using default configuration (according to UM1061, RCC section) to configure an SMT32F215RG to work with 120MHZ CPU clock. here is my configurations: ...
0
votes
0answers
128 views

Run IAR Program without Debugging

I'm having a simple problem with IAR Embedded Workbench, programming an STM32 using an ST-LINK/V2 programmer. I'm trying to run a program that temporarily switches off the JTAG pins, so I can't run it ...
0
votes
3answers
353 views

How to stock variables in FLASH memory

I am working with a STM32 eval-board from STMicro which includes a ARM Cortex-M4 processor. I need a LUT for cosinus and sinus (read-only variables). I need to manage my RAM memory therefore I want to ...
1
vote
1answer
122 views

How to handle conflicts between reference manual and reference design about ADC of STM32?

On page 207 of stm32 reference manual, it says that VSSA(power supply of ADC, negative) must be tied to VREF-(analog reference, negative). But when I refer to reference design of STM32(Evaluation ...
1
vote
0answers
77 views

How start running STM32 firmware from IROM2 in Keil Microvision?

I'm developing an embedded application using Keil MicroVision 4 & STM32F103RE I've splited Flash memory of device into two areas (IROM1 & IROM2) using IDE target options panel (Target tab, ...
0
votes
1answer
252 views

STM32 I2S Interupt Usage

I was trying out a sound experiment, starting off with sample code which sent data to the Discovery F4's audio codec using I2S. The sample code used polling in the main loop and sent data when the ...
0
votes
0answers
231 views

STM32 Virtual COM Port example seeing AT+GCAP

I'm running the STM32 Virtual COM Port example from the USB device library on a STM32F103 and connecting to the device using Ubunutu. Looking at the USART port I keep seeing "AT+GCAP" over and over. ...
1
vote
0answers
76 views

stm32f2xx HSI configuration does not work correctly

I'm using below settings (in SystemInit function) to configure a STM32F215RG MCU to work at maximum speed (120MHZ) with USB support: ...
1
vote
0answers
147 views

IAR EWARM project doesn't run with STM32 startup file

I'm attempting to test out some basic programs on an STM32L151RD (Cortex-M3) using IAR's Embedded Workbench. I'm using an ST-LINK/V2 programmer. I've downloaded the Standard Peripherals Library and ...
2
votes
1answer
287 views

How to realise bidirectional ports in FSMC function of STM32?

I am using FSMC(Flexible static memory controller) function of STM32:reference manual.On page 494 of referencec manual, the data bus should be bidirectional. It is reasonable but i have no idea how to ...
1
vote
2answers
102 views

Still struggling with the STM32F051C8T6 bootloader

I've been reading the information available in ST.com about creating a bootloader for a STM32F0xxx microcontroller, and it says the following: "The bootloader is automatically activated by ...
1
vote
0answers
82 views

Burst mode data errors on I2C

I'm using burst mode to read 14 bytes from a sensor via I2C running at 400KHz. The problem is that there are periodic errors on the last byte of the packet, that come in roughly every 8 reads. The ...
0
votes
1answer
120 views

Creating a bootloader for STM32F051C8

I need to design the hardware to load my custom programs into a STM32F051C8T6 microcontroller and I'm not sure of which pins should be connected to what and I wouldn't like to do things wrong. I've ...
4
votes
3answers
375 views

How to cut interrupt code to minimum?

I have some interrupt let's say from UART to make a real example: ...