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

stm32L5 write flash problem

Hi. I am testing flash read and write operations.In the main function, when I write 1 to address 0x08006000, I can correctly read back 1. However, when using FreeRTOS and performing the same operation within a task, I read back  garbled values (such ...

tonbaebae by Associate II
  • 1186 Views
  • 1 replies
  • 0 kudos

Resolved! STM32L562 hard fault in SPI_WaitFifoStateUntilTimeout

I am using MX25 NOR flash memory 256Mbit (https://www.mxic.com.tw/en-us/products/NOR-Flash/Serial-NOR-Flash/Pages/spec.aspx?p=MX25L25645G&m=Serial%20NOR%20Flash&n=PM2075#Technical-Documents) and I am mounting a littleFS file system on it. The memory ...

Lyap94 by Associate III
  • 3944 Views
  • 7 replies
  • 4 kudos

Resolved! STM32G0B and USB Custom HID

Hello guys!I'm using USB custom HID on STM32G0B for an application alike the mouse demo on "STM32G0C1E-EV" HAL package. But instead a button sending the Report, a PC software sends a 64 bytes Report to get another 64 bytes as answer.In fact, this sam...

Peaga by Senior
  • 1828 Views
  • 2 replies
  • 0 kudos

Resolved! TIM1 in Encoder Mode but TIM1->CNT does not change

Hi, I'm interested in using Timer 1 on my STM32F439ZI to decode the quadrature signal from an encoder but TIM1->CNT doesn't appear to change. I'm not sure what is missing, the TIM1 config looks like: static void MX_TIM1_Init(void) { /* USER CODE BE...

debug_0-1711431610771.png
debug by Associate III
  • 1793 Views
  • 1 replies
  • 1 kudos

Resolved! Incorrect CRC value from software and harware SPI CRC

Hi, In my application, I'm using SPI (SPI1, a full feature set instance) with CRC enabled, on STM32H563ZI, with the configuration as:I have a CRC implemented based on CCIT standard, which I call 'software CRC'I see different CRC values for the same b...

WCarey_0-1713170183201.png WCarey_2-1713170893568.png WCarey_3-1713170932398.png WCarey_1-1713170240836.png
WCarey by Associate III
  • 3661 Views
  • 7 replies
  • 0 kudos

Timer runtime config issue

Hi guys,I have a simple timer config, which I want to change based on some conditions. I set GPIO high and when OPM timer INT happens, GPIO is set low. Default timer setup 50ms, which is changed to 500ms  in the while() loop.Problem: the first pulse ...

Lex by Associate III
  • 3953 Views
  • 7 replies
  • 0 kudos

Resolved! flash write versus erase cycles

Hi,when I write 8byte block sequentially 256 times in 2kB page and then erase and start over what is the total number of writes I can do?Datasheet describes 10000 write/erase cycles, but I do not erase after every write.If the damage is cause by eras...

PR.10 by Senior
  • 2956 Views
  • 3 replies
  • 2 kudos

Resolved! STM32C011 unable to configure PF2 nRST as GPIO and multiplex to PA0

Hi everyone, Recently started working on STM32C011J4M3. I'm trying to set PF2-NRST pin as a GPIO and I want Pin 4  to multiplexed  to PA0 USART TX pin. At first i tried  multiplexed the Pin 4 to PA0  using the following API                        " L...

Yuvaraj by Associate II
  • 3600 Views
  • 2 replies
  • 1 kudos

Resolved! Suddenly stopped working

I've connected an STM32F103RBT6 Nucleo-64 to my computer and it worked fine for sometime, and then suddenly it lost connection. What is weird is that with the same cable, another identical board can connect without any issues. Does anyone have soluti...

IMG_20240422_135023.jpg
Kenno by Associate II
  • 2236 Views
  • 4 replies
  • 0 kudos

"After system reset, the bootloader cannot find the app."

Hi everyone,My bootloader is located at address 0x08000000,MEMORY{RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 8KROM (rx) : ORIGIN = 0x08000000, LENGTH = 32K}#define VECT_TAB_OFFSET 0x00000000Uand the app is at 0x08008000.MEMORY{RAM (xrw) : ORIGIN = 0x2...

tonbaebae by Associate II
  • 2262 Views
  • 6 replies
  • 0 kudos