I use STM32F103, DMA1->CH6
USART2 RX and TIM3 TIM3_CH1 both can use this channel.
If only USART2 RX or TIM3 TIM3_CH1 to use this channel,it is ok!
but how to multi use for two request?
thank you very much.
Couldn't you use a different channel of TIM3, mapping to different DMA channel?
TIM3_CH1 request only map to DMA channel 6.
Before I design a board schematic, I print the alternate function table and the DMA channel tables to make sure there is no conflicts. Now this is done by CubeMX to avoid challenges ahead.
Use a different timer channel or different time or a different usart, if the pinout is compatible.
Thank you, I will re-design board schematic.
Based on that picture I assume you have already occupied channel2 to channel 7.
Can't you use TIM4_CH1 or TIM2_CH3 for the DMA, maybe without redesign of the board, for example employing timer chaining in some way?
hehe, you are right. Actually, from ch1 to ch7, all be used!
Instead, use interrupt to handle request.
Retrieving data ...