Hello, i have to make a Sinus Generator can you please give me any hint or a gide how to start ?
Think I've previously demonstrated a TIM+DMA+DAC example feeding a sine wave table to the DAC at a defined pace.
Circular DMA on buffer
Triggered via a TIM at frequency X table length
DMA copies to DAC->DR
Hello again SIr,
Can you please send me a link with this example ?
Thank you verry much
Really can't provide assistance with HAL code, you'd want to avoid placing blocking code in the IRQ Handler.
You might be better using a memory transfer to the SPI->DR in 16-bit mode using DMA triggered by a TIM on the same APB. ie not use a direct SPI+DMA linkage where SR.TXE drives the DMA service.
Retrieving data ...