DMA - from SPI to DAC - 16 bit
Hi,
I use DMA for transfer data from external flash memory to DAC for playing sounds - in 8 bits mode like that:
1) TIM6 gives impulses to DMA_1 - which transmit dummy byte to external flash in 8 khz intervals (Fsampling of sound). External flash always response with new sample of sound.
2) Second DMA_2 transfers rx bytes from external mem to DAC (from SPI->DR to DAC->DHR12R1).
All works well, but now I would like to transfer not 8 bits, but 16 (12) bits sounds to DAC.
Is it even possible? MAybe the second DMA had to be set like LL_DMA_PDATAALIGN_BYTE (SPI->DR) from source and LL_DMA_PDATAALIGN_HAL_WORD for destiantion (DAC-DHR12R1)?
