STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

sizeof() function

Posted on April 08, 2016 at 21:21Hello.I would like to get a size of a struct in bytes. Members of a struct are different - concretely I have 6 WORDS and 1 array of 6 BYTES. Then, the size of a struct would be 30 BYTES. If I use function sizeof(stru...

matic by Associate III
  • 1899 Views
  • 7 replies
  • 0 kudos

Wrong clock frequency after IWDG reset [STM32F405]

Posted on April 09, 2016 at 12:42Hi all,I'm experiencing a strange problem on STM32F405When a IWDG reset happens, the uC restarts with a wrong clock frequency, I think it's running from HSI instead of HSE.  Same problem happens even if I call NVIC_S...

luigi23 by Associate
  • 404 Views
  • 1 replies
  • 0 kudos

Using SWD pin as as conventional IO?

Posted on April 08, 2016 at 23:55Can I, used SWD pin, for example on STM32F0, as SWD when debugging and flashing MCU and as little used IO , during normaloperation? If yes, how?

astrid by Associate II
  • 439 Views
  • 2 replies
  • 0 kudos

Startup: why is .data alignment = 8

Posted on April 08, 2016 at 15:11Hello,while writing a bootloader, I had the need for a few bytes (4) that retain the content during a software reset. I�ve read that is true for the first bytes of the SRAM. So I�ve added a new section at the beginni...

torsten2 by Associate II
  • 1483 Views
  • 3 replies
  • 0 kudos

Manual DMA event triggering

Posted on April 08, 2016 at 09:51On the STM32F303 I have a timer with an OC that triggers DMA events to write byte values onto GPIO. The DMA is set up with a cyclical byte buffer that is populated by the core via interrupt. For technical reasons I n...

luke2 by Associate II
  • 496 Views
  • 1 replies
  • 0 kudos

Read RTC wakeup timer register on STM32L151

Posted on January 08, 2014 at 14:30Hi Everybody,I am using the RTC WakeUp Timer while in Stop mode. The MCU can either leave the Stop mode at the end of the timer, or on an external IRQ. At this level, everything is working perfectly.However, when t...

gcristian by Associate II
  • 1199 Views
  • 6 replies
  • 0 kudos

STM32F429 - CAN stop IT stops firing randomly

Posted on February 08, 2016 at 21:56 Hi, I'm using a STM32F429 disco board. I used the CubeMX to gen my HAL. Everything works pretty great, except for after a while my CAN IT stops firing. Here is my code below. In the HAL_CAN_RxCp...

Just Matt by Associate III
  • 948 Views
  • 7 replies
  • 0 kudos

Setting Timer Channels Priority

Posted on April 07, 2016 at 12:13Is it possible to assign the priority to Timer channels.I am suing timer1 channels 1,2,3,4 where time period of channel 1,3 and 2 and 4 are multiple of each other so thier respective interrupts comes at the same time...

darla14 by Senior
  • 457 Views
  • 3 replies
  • 0 kudos