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 doing I2C project with [MPU6050][1] using [STM32F4DISCOVERY][2] board. The ADDR bit in SR1 register is clearing in one instruction execution without reading SR2 register. Because of clearing ADDR bit, I can't do acknowledge disable is made during EV6

The datasheet states:>ADDR: Address sent (master mode)/matched (slave mode) This bit is cleared by software reading SR1 register followed reading SR2.In case a single byte has to be received, the Acknowledge disable is made during EV6 (before ADDR fl...

HI ALL. In Our project with STM32F103 we're using FLASH as EEPROM. with reffering to "AN2594 Application note EEPROM emulation in STM32F10x microcontrollers".

in some cases that we encountered, 2 types of failure occur. 1- when powering up, ALL sectors of flash, are Erased. we guess ESD makes all sectors erased. with additional protection in power circuit, this problem solved.2- after powering up, we reali...

MSm by Associate II
  • 397 Views
  • 1 replies
  • 0 kudos

Porting code from STM32L151ZD to STM32L151ZE

Hi,I had to port to STM32L151ZE from STM32L151ZD  because of a RAM limitation. The code seems to work as it is, however I am facing issues in SPI communication when the SEGGER J-Link debugger is kept connected to the board. I tried probing the clock ...

measurement of currents using ACS172 on STM32f407VG

Hai , my name is Dattu i am working on a project which involves measurement of current using ADC on STM32f407VG to achieve this i am using a 30A ACS712 sensor i have interfaced the sensor but when i am running the program i am getting a const...

STM32L063x8 - Errata: 2.1.11 "Unexpected system reset when waking up from Stop mode with regulator in low-power mode" problem really fixed?

We have a problem like "2.1.11 Unexpected system reset when waking up from Stop mode withregulator in low-power mode", with chip revision Z, but with revision X too. This error occurs sometimes, even with workaround. Ist this topic completely solved...

Resolved! STM32L4 CRITICAL SECTION

I use the following code to create critical section. Is it correct?I use the __get_PRIMASK() and __set_PRIMASK(primask_bit) from exemple codes. Why are they needed? Why disable is not sufficient?Must I enable the IRQ after or is it done in the __set_...

Mich1 by Associate III
  • 4609 Views
  • 2 replies
  • 0 kudos

STM32G47x Flash layout (dual vs. single bank)

Hello,I'm hoping to get clarification on the dual-bank flash availability in STM32G47x parts with fewer than 512K of FLASH. The datasheets (DS12288 & DS12712) cover the B, C and E flash sizes. The first page refers to "up to 512KB Flash", yet there...

Problem STM32L162RD with STMTOUCH_DRIVER

Hello all, i have a problem with the STMTOUCH_DRIVER to manage a touch button and a slider. I have integrated the library into my code and if i manage only one bank and the touch button all works. In Touch.c and .h there is the init and main function...

ypkdani by Associate
  • 775 Views
  • 0 replies
  • 0 kudos

Simple ADC STM32L475

I'm trying to get the ADC set up on the IoT discovery board. I did this successfully on the F411 so I thought it would be easy to move the code over, but I can't get it working.I'm trying to use PC0. The conversion is always returning 334 or 335, reg...

DSabo by Associate III
  • 595 Views
  • 2 replies
  • 0 kudos