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

Unable to assign an address to a pointer!

Hi,I am trying to assign an address to a pointer the following way:#define FM_P_ADDR 0x0807F800uint64_t * addr = ((uint64_t *)FM_P_ADDR);However, running the line will direct the execution to the Hard Fault Handler routine.What is happening? What ...

PMach.1 by Senior
  • 975 Views
  • 4 replies
  • 0 kudos

TSC Group1 unexpected behavior STM32L552ZE

Hi,I have designed a keypad with 11 touchkey's. For this I have used TSC group 1,3,4 and 6. As FW i have used the STM32_TouchSensing_Library and I have a problem. All groups are working ok, sensing touch corectlyexcept group 1. This group has the sam...

CDan.1 by Associate II
  • 468 Views
  • 0 replies
  • 0 kudos

Resolved! Using an oscillator for LSE in battery mode?

Suppose I use an oscillator instead of the suggested resonator for LSE. Will that even work, i.e., will the internal RTC continue to function when in battery mode? I assume that I'd have to power both oszillator and STM32 (using Vbat)?

STM32F7 I2C timing not respected

Hi,It seems that in some events the I2C data setup time (Tsu;dat) is not respected by the MCU.Please let me know if I am wrong.I am using the I2C1 of an STM32F745 at 100kHz with the HAL library.The I2C setup was done using the CubeIDE.When using HAL_...

0693W000004GvbvQAC.png 0693W000004Gvc0QAC.png

STM32 receive ONLY on SPI peripheral

Hi, I've worked a bit on STM32 before (STM32F7 to be more precise), so I have little knowledge about the STM platform. I normally don't need to ask question on forum because Google is a very good professor, but this time I'm not sure to have found en...

Blue Pill: Enable ssd1306 display via i2c

Hi everyone! I'm trying to learn how to program microcontrollers with C and stuck with trivial task.I have blue pill, stlink v2 and ssd1306 oled displayI'm trying to enable all pixes on the display via i2c: https://gist.github.com/ksevelyar/5e6c0335a...

Resolved! For optimized code, BIN file does not match FLASH contents.

I'm working with STM32F405, not sure if I'm asking question in right place, or if it matters... I'm working on a self-test for CRC FLASH (can't use libraries, just basic code). I notice that, for non-optimized code, the generated BIN file matches FLA...

RGods.1 by Associate
  • 964 Views
  • 3 replies
  • 0 kudos

Alternative to digital Potentiometer?

I have to control several LED signals via PWM (up to 16), whose voltage and current can be above the max 5v tolerant and 20-25ma max current GPIO pins. These LED's can change and are not constant. Meaning they have different voltage and current requ...

Baze by Associate II
  • 1891 Views
  • 6 replies
  • 0 kudos

Resolved! STM32F107 can't correctly wakeup from standby mode

I'm trying to use the standby mode of STM32F and waking it up by WKUP (PA0) pin.Going to standby seems OK, power consumption goes to 4 uA.If I reset MCU with RESET pin, it starts normally: after 250 ms delay it goes to sleep and consumes 4 uA https:/...

ASerg.1 by Associate
  • 722 Views
  • 1 replies
  • 0 kudos