How to ADC1_DM1 (Pot) from MQX with twr-k60

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

How to ADC1_DM1 (Pot) from MQX with twr-k60

534 Views
yarannan
Contributor III

On wtr-k60d100m, potentio meter is connected to ADC1_DM1. I dont know how to configure this channel on MQX.

The driver only has configuration example of regular ADC channel (eg. ADC0_IN_USE 23u).

My questions will be:

1. What is DMA and DMP?
2. How to configure this channle/pin to just read ADC values from the connect pot on KSDK/MQX?

Thanks,

Yaran

0 Kudos
3 Replies

402 Views
DavidS
NXP Employee
NXP Employee

Hi Yaran,

Please review the following post:

How to add AD IOs in the LWADC example?

Regards,

David

0 Kudos

402 Views
yarannan
Contributor III

Hi David,

So where is LWADC example? I am currently use KSDK1.1.0 and KDS2.0. I didnt find any demo is LWADC.

Regards,

Yaran

0 Kudos

402 Views
DavidS
NXP Employee
NXP Employee

Hi Yaran,

The lwadc example has not been ported into the KSDK_1.1.0 but it is in the MQX_4.1.1 and KDS can be used with it.

Regards,

David

0 Kudos