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

Resolved! Example for ADC in multimode with dual DMA?

Hi, I want to use the simulataneous ADC reading with 2 DMA channels, in order to avoid overrun errors (which I'm having).I'm using the HAL and I'm having a hard time understanding when is the DMA buffer of the slave channel assigned. When multimode i...

mur by Associate III
  • 5789 Views
  • 4 replies
  • 0 kudos

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
  • 379 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
  • 957 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
  • 662 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_...