Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

RA4/T0CKI pin in PIC16F877A

Status
Not open for further replies.

xylynn

Member level 2
Joined
Nov 26, 2007
Messages
47
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,288
Activity points
1,579
t0cki

I configure all the 16F877A pins for digital I/O. adcon1, cmcon and lvp_off.
But I still cannot use RA4 as digital. Why? I think T0CKI affect is on this pin. How to turn off T0CKI?

Thank you
Best Regards
 

como funciona el ra4 del pic16f877a

Hi XYLNN


T0CKI pin is OPEN DRAIN type pin. you can use this pin as input without any modification, however if you want to use this pin as an output you need to connect a pull up resistor externally.
 

how to use ra4/t0cki

Thank you. Can you give me an example drawing?

Thank you sir.

Best Regards.
 

pic pin ra4

RA4 cannot pull up on the 16F877A (ie open collector like an NPN transistor) details in the datasheet.
This "feature" is disappearing in modern PICs such as the modern 16F887 or all 18F series PICs.
 

i studied RA4 can be source (OUTPUT) with PULLUP to drive the LED.....


Generally its input like other pins (SINK )..
 
RA4 should work fine as an open collector output with a pull-up resistor to +5v.
 
Thank you very much friends and learned people. This was troubling me for a long time.
Thank you...:-D
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top