STM32 MCUs Products

Ask questions, find answers, and share insights on STM32 products and their technical features.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Hello! I am currently working on STM32F205 using Keil uvision. I have been getting an INVPC hard fault repeatedly. So I increased the stack size from 0x400 to 0x800 and set the stack alignment bit in CCR register at power on. This removed the INVPC hard

fault but instead I got Precise Bus Fault with following stack frame :R0 = 28000134 R1 = 1 R2 = 40000000 R3 = 1 R12 = ae60cd5 LR = 80015b9 PC = 80015be PSR = 2100002c- FSR/FAR: CFSR = 8200 HFSR = 40000000 DFSR = 0 AFSR = 0 BFAR = 28000130By disassemb...

TBhil.1 by Associate II
  • 917 Views
  • 3 replies
  • 1 kudos

I am getting the wrong values while interfacing MPU6050 Accelerometer with STM32F446RE. For Example for value of X, Y, Z axis as 0 , 0, 1 i am getting 0, 3.16, 1 for 0 ,1, 0 i am getting 3.16, 3.16, 0 and so on i am continuously getting this 3.16.

For MPU6050 i am using accelerometer range of +/-2g with sensitivity of 16384.For STM32F446RE board i am using I2C1 to interface with MPU6050 in standard mode with duty cycle as 50%. i am using PB6 as SCL and PB7 as SDA.Help me in getting my values i...

GAgar.1 by Associate
  • 990 Views
  • 1 replies
  • 0 kudos

Resolved! Flash program and flash erase on micro STM32F746ZGT7

Hi everyone... I received a source code from another microcontroller STM32F401RBT6 where another developer was flashing and erasing the flash in this way .. int16_t FlashEraseApp(void) { HAL_StatusTypeDef res; FLASH_EraseInitTypeDef erase_init; ...

SGasp.1 by Senior
  • 2090 Views
  • 5 replies
  • 0 kudos

Resolved! Firmware upgrade with USB stick for microcontroller STM32F7 with quadspi for storing images in external memory

Hi folks... I did a bootloader for STM32F7 able to load an hex file from USB stick .. erase the previous flash memory starting at address 0x0810000 (the starting address of the app to delete) and update correctly the new app. The problem is that the ...

0693W00000CztNjQAJ.jpg
SGasp.1 by Senior
  • 947 Views
  • 3 replies
  • 0 kudos

SPI with DMA: Add delay between bytes

Hi all,I am working with a peripheral using SPI at 25MHz.I would like to use DMA to send a continuous stream of data but the problem is that peripheral requires a 125ns delay between bytes. Is there any way to achieve that with DMA?I guess if i use D...

JSmit.11 by Associate II
  • 4528 Views
  • 12 replies
  • 0 kudos

Resolved! STM32 Inaccurate PWM Freq

I have the Nucleo - STM32F446RE board and have been trying to work with the PWM (using CubeMX) on it for Motor Control. But for some reason I was getting 32.8Khz whenever I set it for 32Khz (while SYSCLK was 180Mhz). I checked my calculations but to ...

0693W00000BbSjCQAV.png

Resolved! Incorrect time elapsed using SysTick

Hi, I'm currently using STM32F401RE Nucleo-64 Board. My purpose of this project is to configure ISM330DLC Accelerometer, taking reference from STEVAL-BFA001V1B sample code on Vibration Analysis. As a summary:After enabling the accelerometer FIFO FULL...

ZTan.2 by Associate II
  • 1579 Views
  • 4 replies
  • 0 kudos