Getting ADC to read 3 channels

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Getting ADC to read 3 channels

1,618 Views
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 Kudos
Reply
1 Reply

1,107 Views
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 Kudos
Reply