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

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

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

1,177件の閲覧回数
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 件の賞賛
返信
3 返答(返信)

1,045件の閲覧回数
DavidS
NXP Employee
NXP Employee

Hi Yaran,

Please review the following post:

How to add AD IOs in the LWADC example?

Regards,

David

0 件の賞賛
返信

1,045件の閲覧回数
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 件の賞賛
返信

1,045件の閲覧回数
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 件の賞賛
返信