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

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
  • 1132 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
  • 2274 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
  • 1075 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
  • 4994 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
  • 1850 Views
  • 4 replies
  • 1 kudos

Resolved! External load capacity calculation

Hello All,I'm a bit stuck on the calculation of the external load capacitances on a STM32F205, regarding the LSE Oscillator for 32.768kHz.In the AN2867 there is the following formula:When assuming that CL1 and CL2 are the same, the formula could be s...

0693W00000BceheQAB.png 0693W00000Bcei3QAB.png
ame by Associate II
  • 3382 Views
  • 7 replies
  • 0 kudos