STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

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
  • 862 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
  • 1411 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
  • 1441 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 Associate III
  • 1114 Views
  • 3 replies
  • 2 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
  • 921 Views
  • 4 replies
  • 0 kudos

Resolved! How to swap the SPI CRC value and then transmit it?

I enabled the SPI CRC calculation (with a length SPI_CRC_LENGTH_16BIT) in my STM32H563ZI  master application. During Tx, I want the 2 bytes of the calculated CRC to be swapped and transmitted i.e. a CRC of 0xABCD must be sent out as 0xCD 0xAB and not...

WCarey by Associate III
  • 1302 Views
  • 4 replies
  • 0 kudos

STM32U585 PWR_WKUP from STOP Mode

Hello,I am using the STM32U585 along with two sensors in a project and I need some help. I want to run my MCU in stop 3 mode primarily and have one of the sensors generate an interrupt on the PWR_WKUP pin of the MCU to return to normal mode and start...