How DMA works when is triggered with events?
Hello guys.
Im a little confused about dma functionality.
My question is that if dma controller can start a peripheral or it just can move data from the peripheral to memory.
For example when using adc with dma:
Is it dma that start the conversion and moving data from adc to memory or when we start the conversion by software (or timer trigger for examole) its the EOC flag that start the dma transfer procedure?
In case of spi and dma if we dont want any cpu usage how would it work? In adc there is a connection between timer trigger out and adc that starts the adc by hardware but in spi i didnt see any.
Am i able to use a dma stream that is connected to timer update channel request to transfer data without cpu starting spi transmit?
