is it possible: one PDB trigger to "change ADC channel then initiate one conversion" ?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

is it possible: one PDB trigger to "change ADC channel then initiate one conversion" ?

344 次查看
jerrylian
Contributor IV

Here is my plan:

* I want to use one PDB trigger to activate both DMA and ADC.

* And for the timing, I wish:

--- Firstly, PDB triggers DMA to move new channel to ADC-SC1[0].

--- Then with some delay (new channel should be ready)

       PDB should initiate ADC conversion from new channel.

I have tried different delay values:

* but the first ADC conversion always come from old channel.

* (following conversions do come from new channel)

So does PDB always activate DMA and ADC at the same time, no matter what delay values?

Thanks!

Jerry

0 项奖励
回复
0 回复数