How can I disable internal pull ups in PORTA . Chip 16F88
Risto
Internal pull ups
Moderator: Benj
-
Brendan
- Posts: 243
- Joined: Tue Nov 27, 2012 12:53 pm
- Location: Cambridge, UK
- Has thanked: 140 times
- Been thanked: 118 times
- Contact:
Re: Internal pull ups
Hi.
There are no internal pull-ups on PORTA for the 16F88. They only exist on PORTB and are all off by default when you power-up. The pull-ups are only enabled when the port is configured as an input and you expressly set the applicable option register to enable them.
It sounds like something else is taking your port pins high... external pulls or driven high as outputs perhaps?
All the best,
Brendan
There are no internal pull-ups on PORTA for the 16F88. They only exist on PORTB and are all off by default when you power-up. The pull-ups are only enabled when the port is configured as an input and you expressly set the applicable option register to enable them.
It sounds like something else is taking your port pins high... external pulls or driven high as outputs perhaps?
All the best,
Brendan
LinkedIn Profile...
http://www.linkedin.com/in/brendantownsend
http://www.linkedin.com/in/brendantownsend
Re: Internal pull ups
I´ll try to say. Output states for PORTA and PORTB should be 0 and HiZ .Normally they are 0V and 5V and they both are active. I'd need 0V avtive and HiZ
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Internal pull ups
Hello,
To output a logic 0 to the port pin you can use the output icon in either port or bit mode depending on what you need to pull low.
To switch the pin to high impedance mode you can use the input icon again in port or bit mode.
To output a logic 0 to the port pin you can use the output icon in either port or bit mode depending on what you need to pull low.
To switch the pin to high impedance mode you can use the input icon again in port or bit mode.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel