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

Resolved! Flash Memory access when >512k

Hi to everybody.I'm struggling to figure out this issue: I got a "NMI_Handler" error...uint32_t *p = (uint32_t*)0x08080000UL; uint32_t val = *p; //here jump to NMI_HandlerIf I put the addr to 0x08070000UL (e.g.) no probelm.I'm using a STM32H562RGTX ...

TheRaprus by Associate III
  • 5368 Views
  • 7 replies
  • 6 kudos

Resolved! Random hardfault on STM32F4

Hello,I have been struggling to make this post because I wanted to post a very clear question after I had found the source of the problem. However, I have been working on this problem nightly for two weeks now and even still I can't pinpoint precisel...

Resolved! G431 SPI - bits are not set.

First time i set up SPI, not using HAL.In the debug, i see that not a single bit is set.What am i doing wrong?  SPI_HandleTypeDef spiHandle; spiHandle.Instance = SPI2; // SPI_CR1_CPOL SET_BIT(spiHandle.Instance->CR1, SPI_BAUDRATEPRESCALER_256...

Tobe by Senior III
  • 2528 Views
  • 4 replies
  • 0 kudos

NVIC_PriorityGroupConfig() Undefined

Posted on February 26, 2016 at 03:02The processor is an STM32F373VC using STM32CubeMX generated code with the FREERTOS option enabled. I have attempted to add the code: NVIC_PriorityGroupConfig( NVIC_PRIORITYGROUP_4 ); to the code in main.c as instr...

spflanze by Associate II
  • 3116 Views
  • 4 replies
  • 1 kudos

STM32F411RE6: Analog input on PB5 and PB6 is always 0

Hi, I'm working with a STM32F411RE6 on a pcb and i've noticed that trying to read an input from PB5 and PB6  just returns 0. I've tried fiddling with the registers eg. setting them to analog input mode, pullup, pulldown and left floating but none of ...

Screenshot from 2024-03-30 09-31-46.png
Vandi by Associate
  • 1552 Views
  • 2 replies
  • 1 kudos

The MCU cannot be restarted after the NRST pin is pulled low

Hi guys,I am using the stm32f103rct6 microcontroller, and there is a hardware watchdog in the peripheral circuit to monitor the operation of the program, but after my program runs away, the watchdog will pull down the nrst pin flat, and sometimes the...

Tayloor by Associate II
  • 9907 Views
  • 13 replies
  • 6 kudos

Generate PWM output based on input capture

Hi, I am trying to sense a signal through TIM1 channel 1 by configuring as Input capture and Measure the signal frequency and Pulse width. Now I want to generate a signal with a phase delay after the falling edge of the input capture pulse. It should...

VGani.1 by Associate III
  • 1032 Views
  • 0 replies
  • 0 kudos

Communicating with I2C DMA Without Interrupt

Hi, I am trying to communicate with i2c DMA without interrupt. My MCU is STM32G474RET6.I've read that it is possible but can't find how to do it. How can i communicate in slave mode with i2c dma? Since my interrupts disabled, can't use the callback f...

gunccc by Associate II
  • 6200 Views
  • 6 replies
  • 0 kudos

Resolved! STM32L452 LSE & PC13 Errata

Hi We use an STM32L452 with an external LSE (32.786 kHz) oscillator. We would like to use PC13 as a GPIO input with interrupt. In the errata sheet for the STM32L452 (ES0388 Rev9) I find the following entry:“2.2.12 PC13 signal transitions disturb LSED...

MMeie.3 by Associate III
  • 6604 Views
  • 10 replies
  • 0 kudos
Announcement

We’re moving the ST Community to a new platform to give you a better and more reliable community experience.