ADC mux on K20

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

ADC mux on K20

2,111件の閲覧回数
kevinmc
Contributor II

Hi All,

I have a K20DX512 device configured and reading accurately from ADC0.

However, I would like to read multiple channels at once, or a group of channels (i.e. x4) and interupt only when the four ADCs have succesful conversions in place.

I am guessing this is done by assigning the required ADC channels to a ADC MUX function? I am struggling to source much documentation on this, the data sheet seems only to refer to the MUXSEL bit.

Can anybody point me in the direction of assigning a channel 'set' to a ADC MUX mapping and how to configure for this process. Any links to documentation, etc would be gerat.

Thanks in advance,

K

ラベル(1)
0 件の賞賛
返信
2 返答(返信)

1,379件の閲覧回数
Hui_Ma
NXP TechSupport
NXP TechSupport

Kinetis ADC module can only do a channel conversion at one time, not multiple channels simultaneously.

There is an application note AN4590 about using DMA to Emulate ADC Flexible Scan Mode on Kinetis K Series.

More detailed info, please check below link:

http://cache.freescale.com/files/32bit/doc/app_note/AN4590.pdf

http://cache.freescale.com/files/32bit/doc/app_note/AN4590SW.zip

Wish it helps.

0 件の賞賛
返信

1,379件の閲覧回数
kevinmc
Contributor II

I think my understanding of the MUXSEL bit  is incorrect, correct operation and usage is covered here:

ADC on FRDM problem.

I can write something to sequence the ADC measurements, however it would be nice to set away multiple conversions at the same time - if anyone has info on initiating this please give me a heads-up.

Cheers,

0 件の賞賛
返信