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

Different ways(syntax) to write resgisters in Keil IDE

Hi all, i saw someone use a different way to write instructions in keil IDE , where they would write something similar to what i tried to do in the photo.i usually would write which workis just fine , any ideas how to write what im trying to ?

AMat.1 by Associate II
  • 542 Views
  • 1 replies
  • 0 kudos

Write data to flash when power supply drops

Hello,I am using a STM32G473VET6 on my board, and I want to save a few data bytes in Flash when the 24V power supply drops. I have more than 400ms available between the detection by the MCU and the 3.3V dropping. When the ADC triggers this event, the...

ATurp.11 by Associate II
  • 4244 Views
  • 22 replies
  • 0 kudos

Resolved! Copy input pin to output.

What would be an efficient, low latency way to reflect the state of an input pin onto an output pin?Is there anything more automated than configuring the input pin as an EXTI, then in the interrupt handler, reading it and setting the state of the out...

BCoch by Senior
  • 3426 Views
  • 12 replies
  • 0 kudos

SD Bus speed mode

Hello,as I see at the AN5200 only in DS and HS the signal level is 3.3V.Does it mean that the IO signal level in SDR50 for example will be 1.8V on the host side?The MCU has internal LDO for it ?Or the host size is always 3.3V, and the signal voltage ...

Pkats.1 by Associate II
  • 1625 Views
  • 2 replies
  • 0 kudos

ADC DMA Double / Multiple Buffer Example

Hello,I was searching in every STM32 CubeMX pack examples for ADC DMA with Double / Multiple Buffering. But I found nothing.I found in dma_ex hal file the functions like HAL_DMAEx_MultiBufferStart (or HAL_DMAEx_MultiBufferStart_IT), but they aren't u...

Does main() require an infinite loop?

This page says:"With a custom main() on Arduino, do not return from main(). As there is no operating system running on a standard Arduino, there is no where to return to. If you do return, abort() is called, then exit(). On the AVR-8 MCU ( Uno, Mega ...

The BOOM by Associate III
  • 4653 Views
  • 21 replies
  • 0 kudos

Let the LED flash 3 times without using a blocking code

The point is that when you press a button, an LED should flash three times.If you press the button again while it is flashing, the LED must flash 3 times again.The whole thing should be implemented without blocking code.I could could use a loop to ma...

FLamb.2 by Associate II
  • 768 Views
  • 1 replies
  • 0 kudos