Getting ADC to read 3 channels

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

Getting ADC to read 3 channels

1,658件の閲覧回数
kaslewis
Contributor III

I'm trying to use 3 ADC channels and then pass that information to a PC via UART at set intervals using the FTM. As I have not spent a lot of time with the KEA64 I'm having issues with the ADC. If someone can look over my code and explain why everything up to the ADC is working that would be much appreciated. I have made two slightly different attempts. The first one spits out data from one ADC channel but not the others. The second attempt does not spit out any data. Ant help is much appreciated.

 

Thanks

Kas

Original Attachment has been moved to: TRK-KEA64_Lab1-1.zip

Original Attachment has been moved to: TRK-KEA64_Lab1.zip

0 件の賞賛
返信
1 返信

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

Hi,

KEA64 is using the same ADC module with Kinetis E series product.

I would recommend customer to refer Kinetis E sample code, which includes ADC module example working in FIFO mode.

The Kinetis E product sample code could be downloaded from below link:

KE02-SC  : FRDM-KE02Z Sample Code Package.

Wish it helps.


Have a great day,
best regards,

Ma Hui

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

0 件の賞賛
返信