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

STM32L4: ADC3 stops when dual ADC mode selected.

Hi,I am using STM32L476VGT3. When ADC1, ADC2 and ADC3 are configured independently, everything works fine. As soon as I write into the DUAL[4:0] bits of register ADC_CCR (common control register) to set ADC1 and ADC2 in dual mode, ADC3 stops. The dua...

MGard.2 by Associate II
  • 375 Views
  • 0 replies
  • 0 kudos

When is going malloc() / dynamic allocation to be fixed?

Edit: It seems there's a bug that will randomly delete sysmem.c and syscalls.c.If it happens, cubeMX won't regenerate them.Also no warnings at compile time, so you won't suspect anything was deleted.So the solution is to make a new empty project and...

Data in the RAM of STM32

I use IAR to program STM32,the map file shows that :the RAM is divided to​ 1.data Section;2.CSTACK and HEAP section;3.bss section;4.Unassigned part of the RAM。What I want to know is ​that:The Unassigned part of the RAM is used to do what? Because I w...

0693W00000AMb31QAD.png
Pzhu.1 by Associate II
  • 953 Views
  • 2 replies
  • 0 kudos

Resolved! TIM DMA Burst works in incorrect sequence,

I use tim dma burst to update CCRx(x=1\2\3\4),my code works,but the CCRx value not assigned in correct sequence. My purpose is to let CCR1= 360�?CCR2= 720�?CCR3=1080.But the result are random.TIM and DMA config codesvoid tim_config(){ uint32_t addres...

0693W00000AMamoQAD.png
xzi.1 by Associate
  • 659 Views
  • 2 replies
  • 1 kudos

Resolved! What is the name of the Timer 6 count register? TIM6_CNT is what the documentation says but that is an unknown variable to the compiler.

I need a blocking very short time delay.So I set up Timer 6 to run at 90 MHz, with no interrupts.I need delays from 0.5 to 30 microseconds for an interface I have to bit-bang.I was hoping for a simple delay routine like this:void Timer6_delay(uint16_...

STM32CubeProgrammer UART Verification Fails on STM32H7

Hello,I am using stm32cubeprogrammer 2.7.0 for Mac ( I am on Big Sir)When programming a STM32H7 using UART I get the following error: I don't seem to get the error on my stm32f4. Any Ideas/Fixes that would enable this to work? I am embedding the CLI ...

0693W00000AMZIdQAP.png
TCash.1 by Associate III
  • 388 Views
  • 0 replies
  • 0 kudos