How do I transfer input capture values from TIM1 to the DAC1 output via DMA?
I'm new to STM parts and toolchain and I need to send input capture values from TIM1 to the DAC output via DMA. Cube doesn't support peripheral to peripheral DMA, but its been suggested I can accomplish it with a peripheral to memory DMA transfer, triggered by TIM1\CH4 if I supply the address of the DHR12RD register as a destination address. The user guide says this register is not memory mapped, but I can see what address is from the generated code. What happens if I attempt this? Is there another way to do it?
Also, the DAC is 12 bit and TIM1 is 16 bit, so I'm hoping the top four bits are simply ignored. Since the above method is non-standard, I'm not sure if this could make things not work. Under normal functioning, the capture registers will not record values above 4096, so overflows are not anticipated.
