STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

STM32F767 flash programming problem

Hi everyone,We are trying to program the MCU flash memory to write and save some data on it.After successfully writing to a single sector, we can't delete the sector content anymore.We are using HAL_FLASHEx_Erase to delete the sector.In particular, w...

gsaru.1 by Associate II
  • 1082 Views
  • 5 replies
  • 0 kudos

G431 - SPI brings big noise on the MISO

I have tried normal GPIO setting with pullup/down and setting AF5, but it just stays the same level, but its shape changes (see additional pictures).I have just connected the probes. (MISO is blue)    // *** SPI *** // NSS (PB12) GPIO_InitStruc...

big noise.jpg
Tobe by Senior III
  • 677 Views
  • 2 replies
  • 0 kudos

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
  • 2273 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
  • 1050 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
  • 964 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
  • 431 Views
  • 2 replies
  • 1 kudos