Can someone explain the DMAMUX mapping on the STM32G431?
I read the ref manual several times but it is still unclear to me. I have a problem with a DMA design that is transferring TIM8_CH1 and TIM8_CH3 to memory using DMA_Channel1 and DMA_Channel2. I am getting a transfer error so am looking at what could cause this.
The timer value is uint32_t and the buffers are both 4-byte aligned. Is this okay? (I think so)
I do not understand the DMAMUX explanation in the ref manual page RM0440, page 384 Table 80. I see TIM8_CH1 is on DMA input request #49 and TIM8_CH3 is on DMA input request #51. How do these map to DMA Channel # on DMA1 and DMA2?
Can TIM8_CH1 and TIM8_CH3 be used respectively on DMA1_Channel1 and DMA1_Channel2. I can't seem to answer this from the ref manual do to my lack of understanding the explanation. The tables for the F303x and L41x are much clearer.
My understanding is a transfer error is caused by a bus fault, such as an illegal address. My destination data buffers are at 0x2000000C and 0x20000034. Are these an issue?
Thanks for any clarification you can offer, much appreciated.
BT
