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...
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...
Can DAC conversion of two separate channels be synchronised on the STM32G474 series?
I'm working on a project to generate composite video from an STM32 using the high speed DACs.This requires 3 DAC channels for red, green, blue fed by DMA.Of course the red/green DMA conflicts with the blue, hence the blue output is delayed about 30ns...
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...
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...
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_...