STM32F303 TIM1 to TIM15 repeater
Hi,
On the STM32F303, the TIM1 timer is running in input capture, slave mode – reset, with the trigger source set to TI1FP1 (CH1 direct rising, CH2 indirect falling) to record the incoming stream. It operates with DMA in circular mode using two buffers (separately storing the duration of the high and low states).
I want to further develop the project, and I have two use cases:
1) I want to forward this signal unchanged with minimal (or no) delay using TIM15.
2) In the DMA interrupts TIM_DMACaptureHalfCplt and TIM_DMACaptureCplt, I want to modify the original waveform and then output it through TIM15.
In general, I want the processor to act like a “repeater.”
Any hints would be greatly appreciated — maybe the solution is trivial, but advanced timers are still a bit of a mystery to me ;)
regards
