A/D channel list & Static sample groups

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

A/D channel list & Static sample groups

ソリューションへジャンプ
898件の閲覧回数
gschelotto
Contributor V

Hello,

I've configured 5 ADC channels (with ADC interrupt disabled) as shown:

Untitled.png

and defined 2 groups (1st of channel 0 and 2nd of channel 1 to 5

Untitled2.png

For the channel 0 (group 0) I'd like to start the ADC conversion and get the value into a periodic timer driven ISR. For the other ones, channels 1 to 5 (group 1) I want to get the values from the main loop. In short, what ADC method should I use to perform?

  • A single ADC conversion for the channel 0 in the ISR
  • Four ADC (auto-scan) conversion for the channels 1 to 5

regards,

gaston

0 件の賞賛
返信
1 解決策
751件の閲覧回数
gschelotto
Contributor V

I've just found this method to implement the group change:

AD1_SelectSampleGroup()

regards,

gaston

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
752件の閲覧回数
gschelotto
Contributor V

I've just found this method to implement the group change:

AD1_SelectSampleGroup()

regards,

gaston

0 件の賞賛
返信