LWADC settings MQX4.2, K60 Tower

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

LWADC settings MQX4.2, K60 Tower

735件の閲覧回数
markdoxbeck
Contributor II

According to init_lwadc.c, the lwadc init structure has a Normal power setting.

However, in lwadc_kadc.c, the code has the following line

    adc_ptr->CFG1 |= ADC_CFG1_ADLPC_MASK;

This causes the ADC to use the Low power configuration.

Is there someplace that states what all the ADC settings should be, for the LWADC driver?

0 件の賞賛
返信
1 返信

649件の閲覧回数
danielchen
NXP TechSupport
NXP TechSupport

Hi Mark:

There are two types of adc driver in MQX package, one is legacy adc driver, the other is lwadc driver.

From MQX 4.1, we removed all the adc demos that based on the legacy adc driver because the legacy adc driver has some limitations.

You can get the info from the release note of MQX 4.1.0

Driver Updates

-- The LWADC driver has been ported to all supported board support packages. The support of the legacy ADC driver was discontinued.

Regards

Daniel

0 件の賞賛
返信