Multiple ADC channel readings

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

Multiple ADC channel readings

1,179件の閲覧回数
sreejithmenon
Contributor I

I am using a MK22FN512 processor ( k22f family). My application requires me to monitor lot of sensors and I need to keep track of about 10 channels.But I guess K22 has 2 ADC modules with two channels each ( A and B) and only two sets of SC1 and Result registers.So if I use PDB to trigger ther modules max I can do is 4 channels. After that I will have to change the adc channels which are mapped by using channelconfig API before the next trigger to get the read the next set of sensores?

Is there a better way of doing it.In short I need to read about 10 ADC channels using k22f.I have some wiggle room for the rate at which these sensors are updated.( mostly used for monitoring and not control)

ラベル(2)
タグ(3)
0 件の賞賛
返信
1 返信

908件の閲覧回数
Robin_Shen
NXP TechSupport
NXP TechSupport

There is an application note AN4590 using DMA to emulate ADC flexible scan mode and AN4590SW is the related software.

Wish it helps!

Figure 2. Example process flow.PNG

Best Regards,

Robin

 

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信