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
21 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
42 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
31 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
48 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
79 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
86 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
43 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
106 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
89 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
97 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
123 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
2answers
230 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
188 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
245 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
114 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
116 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
57 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
81 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
178 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
92 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
51 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
146 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
183 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
54 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
80 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
145 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
1answer
69 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
68 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
82 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
286 views

How to cut interrupt code to minimum?

I have some interrupt let's say from UART to make a real example: ...
1
vote
2answers
207 views

Sending ADC measurements with UART

I want to measure signal with ADC and send measurements to PC to generate plots. My code: ...
1
vote
1answer
84 views

To get rid of useless redundancy--do I realy need a voltage supervisor?

I am using a voltage supervisor from MAXIAM(MAX7634A). It monitors VCC_3V3 and VCC_-3V3(I use LM358 to make it a positive one).Power supply distribution is shown below: VCC_3V3: stm32f103 EMP570T144 ...
2
votes
1answer
85 views

what is logic contention when using a voltage supervisor?

I am using a voltage supervisor from MAXIAM (MAX6734A).I am confused about design notes in page 11. so,what is logic contention? the uP that I want to monitor is STM32F103ZET6.I read its ...
1
vote
1answer
432 views

Problems with UART on STMF4 Discovery Board

I have some problems with UART comunication. My platform is STM32f4 Discovery Board with STM32f407VG. First my system setup: ...
0
votes
0answers
50 views

Using TLP280-4 with STM32F1xx MCU

This is a continuation of my previous question. Olin Lathrop explicitly explained me the previous question, but also set thinking on the exact way of connection the optocoupler to a MCU input. I ...
0
votes
1answer
124 views

Clocking scheme for LAN8720A - Cortex M4

This is regarding a design choice involving LAN8720, specific to clocking schemes. We are interfacing an ARM cortex M4 (with inbuilt MAC) to the 8720 PHY via RMII in the REFCLKO configuration. In the ...
0
votes
0answers
105 views

Problem running C++ function from STM32's SRAM in Keil microVision

I'm using Keil uVision 4.6 to write a C++ program for SMT32F103RE. I need to run one of my program functions directly from SRAM, so I devided my SRAM into two separate regions: ...
-4
votes
3answers
176 views

Using array as global variables in IAR (STM32) [closed]

I have defined a global array in main.c: __IO uint8_t data[3]={0,0,0}; then, I extern and assign vlues to this array in another c file: ...
0
votes
1answer
101 views

IAR errors about extern and global vriables

I want to get values of a global array in a c file. the print screen of code is shown below: 'data' is the global array and 'slave_buffer_rx' is another global array defined in this file to get ...
1
vote
1answer
279 views

TLP280-4 Optocoupler on 12/24V inputs

There is a STM32 device which has to detect several signals from other devices. The voltage of these signals can be 12V or 24V. Also these signals can be positive (i.e. 12/24V) or negative (connected ...
1
vote
1answer
61 views

Difference between Max Interface Clock and Max Timer Clock?

I am trying to use a timer from STM32F4 with ARM Cortex-M4 chip. I need to get the maximum frequency out of that timer for my ...
1
vote
0answers
117 views

JLNINK(SWD)+IAR can not debug stm32: communication error

guys. I am using J-link with SWD interface to debug my STM32F103VCT6 in IAR. I can enter download and debug mode but I can not use "step over" or "stop" function. Once I use one of them I will get ...
2
votes
2answers
447 views

how can a GPIO of stm32 have many alternative functions?

I am working on the assignments of pins of STM32F103ZET1. On page 31 of datasheet, it says that PA0 has many alternative functions: ...
0
votes
0answers
269 views

stm32f2xx external clock source for timer

I trying to use a timer with an external clock source on a stm32f207ZE microcontroller. But it isn't working. Here is my code: ...
4
votes
1answer
210 views

Problem with I2C EEPROM communication

I have a STM32L MCU connected to M24LR64E, an I2C EEPROM. Previously i had this setup working but then i changed some things (layout, firmware) and somehow i screwed the I2C and it is not working now. ...
9
votes
7answers
781 views

I2C slave address not acknowledged (sometimes)

I'm trying to communicate with a remotely connected FRAM (FM24C04 from Ramtron) by using I2C. This memory is embedded on a board that can be inserted and removed at any time to/from the system ...
1
vote
1answer
225 views

STM32 program not executing

I am currently trying to make my own stm32 development board. i have stm32f100c4t6 microcontroller mounted on pcb. I am using Atollic True studio free edition. i had made small blink led program ...
1
vote
1answer
171 views

Some general NAND flash questions

I have some questions about nand memories. Do we need to erase whole block to rewrite only one page? If true, what is the algorithm? Cache whole block > edit one page > erase whole block > write ...
0
votes
1answer
109 views

STM32 and GDB - Watchpoint

I'm reading the book http://www.cs.indiana.edu/~geobrown/book.pdf and I have a question regarding the Exercise 3.1.2 on page 50. It ask to set a watchpoint on i. I set a watchpoint but it never break ...
1
vote
0answers
177 views

How it's possible to determine the output frequency of STM32 without oscilloscope?

I am implementing a frequency meter on my STM32F4, but to do that I need to know exact frequency of the timer fed on GPIO pin. Is it somehow possible to determine that without using external ...