Questions tagged [stm32]

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. The STM32 is based on the ARM Cortex-M family of cores.

Filter by
Sorted by
Tagged with
0
votes
1answer
2k 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 ...
0
votes
1answer
126 views

crypto benchmarks STM32L4

Can someone give me an indication on the performance (time) of ECDH executed on the STM32F4 board. The STM32F4 has hardware acceleration for ECC (http://www.st.com/st-web-ui/static/active/cn/resource/...
0
votes
1answer
1k views

Stop blinking LD1 on STM32F4 Discovery

I have a system I built using a ADS1263 32-bit ADC that is measuring tiny biopotentials without much amplification (for a variety of reasons not under discussion) -- one very low noise instrumentation ...
0
votes
1answer
2k views

Bits are high on disabled pins(STM32)

For some reason I have many bits with value 1, even if they are supposed to be turned off. I tried to debug it with some LEDs and Keil uVision debugger. uC is STM32F103 The situation is: I have 2 pins ...
0
votes
1answer
2k views

STM32F7 Discovery Board STemWin examples

I've tried compiling the included ticker example with the STemWin_HelloWorld project included in STM32CubeF7. Functionally, it works OK but the draws seem to be corrupted. Take a look at the video I'...
0
votes
1answer
1k views

stm32L0 - can I use LSE clock for 1ms tick and use HSI for systick?

I am using STM32L051, our task has two requirements for clock management: Need to be running under 16Mhz or higher frequency (thus we use the MSI/HSI for Systick) for fast task processing. Need a ...
0
votes
1answer
3k views

STM32 Repetition Counter

what is the max value of the Repetition Counter register? Because i am trying to use a TIM1 as PWM output. Period = 50kHz Clock = 72Mhz 72Mhz/50kHz = 1440Hz -> PWM freq So if I set Repetition ...
0
votes
1answer
792 views

stm32f373vb produces a short circuit after some time

I designed a custom board with stm32f373vb lqfp 100. I made the soldering from the 4-th attempt. It was easy, when you know the technique and have a microscope. Anyway I checked the pins with the ...
0
votes
0answers
246 views

Bit definition error - IAR Workbench

I am a beginner with embedded programming and am using the IAR workbench for a project of mine using STM32F4Discovery. I am trying to compile an existing code and ...
0
votes
1answer
439 views

Cannot get code to run on prototype board STM32F303x

... but it runs on Discovery F3 board (exact same MCU). BOOT0=Lo, NRST=Hi The logfile generated when I try to upload code is as follows: Thu Apr 23, 2015 09:56:23: Loaded macro file: C:\Program ...
0
votes
1answer
211 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 ...
0
votes
1answer
279 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 ...
0
votes
0answers
1k 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 ...
0
votes
1answer
602 views

STM32F example for opamp follower mode

Does anyone have an STM32F example for opamp follower mode (ideally STM32F3 Discovery)? I can get the PGA working but cannot find out how to connect it in simple follower mode.
0
votes
1answer
849 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
434 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 ...
0
votes
1answer
2k views

How to properly connect to a RN-171 Roving Network's WiFly module?

I have this WiFly device and I can't seem to make it work correctly. I've connected both available interfaces (UART and SPI) to my microcontroller (STM32F107). For now, just the UART interface would ...
0
votes
1answer
78 views

PWM logic level issue

I am facing new problems everyday at embedded system. I have designed D-SMPS and put an stm32f103 to drive mosfets.I have tested micro controller and it works well while giving outputs as GPIO.It is ...
0
votes
2answers
155 views

STM32F4 and SIM800L logic level

I am currently using an STM32F401RE that I have to interface with a SIM800L GSM module via UART. In a first "toy example" I used Arduino and found no problems, but passing to the STM MCU I am unable ...
0
votes
1answer
3k views

STM32F072C8 - USB communication issue

I am trying to use the built-it USB to implement a simple HID device in STM32F072. Of course, it is not working. This is my first experience with USB, so I needed some help in figuring out what could ...
0
votes
1answer
1k views

Laptop does not detect Stm32f4 discovery board

I am newbie here , if i posted wrong site i am sorry :) I have bought discovery board to learn arm programing , but when i plug board to laptop via usb, there is no sign of 'device plugged' even on ...
0
votes
1answer
1k views

how to set up SPI communication between a STM32F746ZG and a MCP2515

I am trying to communicate my STM32F746ZG microcontroller with a MCP2515 and am having a problem where I don't believe the MCP2515 is receiving anything I have sent via SPI. The reason I have come ...
0
votes
2answers
99 views

UART Issue - Communication stops working when board reset button is pressed

I am using a NUCLEO-F401RE board as a master and a B-L072CZ-LRWAN1 as a slave communicating over UART. Slave is configured to receive in interrupt mode using HAL_UART_Receive_IT. Master is programmed ...
0
votes
1answer
2k views

My 2.2" TFT LCD doesn't work (ILI9225 driver)(STM32F1)

Today I was working on this TFT LCD and I don't know why it doesn't work. This LCD is a 2.2" TFT with ILI9225 LCD driver and is connected to my STM32F1. Here is the datasheet of LCD driver: http://...
0
votes
1answer
821 views

STM32F401RE SPI DMA flash driver read/write not working

I am facing problem with STM32F401RE with SPI flash driver. I am able to do normal SPI operations like read,write etc... But I need to use DMA to read and write to FLASH. /*****************************...
-1
votes
2answers
139 views

STM32F4 series: what does the '->' operator? [closed]

Reading some C files related to programming an STM32F4 series Arm controller, I found the following instruction: ...
-1
votes
1answer
499 views

Whats wrong with my program?

I am trying to turn on LED on PC8 STM32VL Discovery board(Micro: STM32F100RB). I am using linker script provided by st.com (stm32_flash.ld): ...
-1
votes
1answer
133 views

May I build my own STM32 dev board? [closed]

I wanted to build my own linux dev board. To learn more about PCB design, design rules and how the process works from power to login screen in linux. I saw that the STM32 chip has free linux IDE for ...
-1
votes
2answers
84 views

how to find GSM service level of a IP-connection?

I am using a GSM modem to send data to a remote server over TCP/IP connection. I am using STM32F103 for the software. I want to connect 3 LED's with the 'F103 to indicate which connectivity and ...
-1
votes
2answers
62 views

External oscilator on stm32f030

I am not sure if I calculated R_ext right. I am planning to use this oscilator. According to the document the calculation for R_ext is: ...
-1
votes
1answer
111 views

STM32F405 code compatibility with STM32F407

I have to do a project which will be based on STM32F405VG (100 Pin) but I don't have that MCU at the moment. Instead I have STM32F4-Discovery board which has STM32F407VG (100 Pin) on board. All the ...
-1
votes
1answer
160 views

Voice encryption over TRRS headphones

-- Edit 2 --- This question is different from Connect STM32 BLUEPILL to the TRRS connector on the computer But just in case for not falling into double posting I deleted that post. (This post hes ...
-1
votes
1answer
1k views

STM32 SPI2 doesn't respond correctly

I have a problem with the SPI2 on stm32f4vg board , I have a code that is working perfectly for spi1 , but when I change the code to run on spi2, the code doesn't respond here is the original code ...
-1
votes
1answer
1k views

DAC Signal to AC?

I am producing a sine wave signal from STM32F3 through DAC. but since micro-controllers can not produce negative output so my output limits to positive half only. but in my application i need signal ...
-1
votes
1answer
274 views

STM32F Current sinking to I/O pin with 5V Vcc

I'm working with Nucleo-F411RE, which has a STM32F411RET6 uC. In the datasheet, the document says Vin for FT or TC pins will have maximum of Vdd + 4.0. Generally the uC uses Vdd = 3.3V then I ...
-1
votes
1answer
187 views

How to handle configuration changes to the project with STM32CubeMX

Just starting to use STM32CubeMX and Atollic TrueSTUDIO to code for STM32L011. One thing I noticed is that if I made any changes to the project configuration in STM32CubeMX - they will automatically ...
-1
votes
1answer
122 views

What STM32 to learn with? [closed]

I am currently learning stm32, I have very little coding background, only some arduino. What is the best device to start learning on? I currently own a neucleo-f4 and must learn to program a ...
-1
votes
2answers
505 views

How to write STM32F4 OTP Area

I am reading the reference manual page 75 that shows the flash memory organization of STM32F4 MCUs. There is an OTP area of 528 Bytes in it as shown in the image: Is it possible to write on this OTP ...
-1
votes
1answer
372 views

What is the address for sending data to micro sd card?

I am trying to send the angle calculated(floating) from an external gyroscope sensor connected to a stm32f4 discovery board to a sd card via SPI. I have the following code for initialization, ...