LPC15xx - Pull-up disable when configured as ADC

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

LPC15xx - Pull-up disable when configured as ADC

1,363件の閲覧回数
jonathon_generac
Contributor II

From LPC15xx device user manual (UM10736):

From Section 7.4.5:

When using a pin in analog mode, disable the pull-up and pull-down resistors.

From Section 7.5.1

If any of the pins is connected to an analog function through the switch matrix
PINENABLE registers, the digital portion of the pin is disconnected.

These two statements appear to contradict each other.

Do the pull-up resistors remain connected when the pin is configured as an ADC pin?  If not, please confirm that the pull-up resistor need not be disabled, as suggested above, when configuring as an ADC.

Thanks,

Jonathon

 

ラベル(1)
0 件の賞賛
返信
1 返信

1,352件の閲覧回数
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi, Jonathon,

Regarding your question, pls refer to section 7.4.1 pin configuration in UM10736.pdf, you can see that the week pull-up and pull-down circuit is an independent circuit, belongs to IOCON module, you have to disable the both weak pull-up and pull-down so that the ADC sample is not effected by the pull-up and pull-down circuit.

Hope it can help you

BR

XiangJun Rong

xiangjun_rong_1-1642726322446.png

 

 

xiangjun_rong_0-1642725988134.png