STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! 255 as response to eeprom

Hi,I'm trying to write and read to/from M24512-R EEPROM.Seems that everything is fine writing and reading because HAL return is HAL_OK, but allways I've reading 255 value.My code:int main(void) { /* USER CODE BEGIN 1 */   /* USER CODE END 1 */   ...

0693W00000CzlwvQAB.png 0693W00000Czlx0QAB.png

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
  • 757 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
  • 811 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
  • 1809 Views
  • 5 replies
  • 0 kudos