Re: Configuring Port A, Pin 4 as a general I/O pin in the PIC18F442




<novak.arthur@xxxxxxxxx> wrote in message
news:1172688692.909688.103610@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hello World,

I'm using the PIC18F442 and I can't seem to configure Pin 4 of Port A
to be a normal I/O Pin.

I've tried to disable the T0CON register that also has functionality
on that pin and I still can't use the pin as a general I/O pin.

I need it for a project and I have already made the PCB board so that
pin has to work. Can anyone help me?

Thanks a million.


Port A pin 4 is an open drain pin. It can be used as a general purpose
input, but as an output it can only pull low. If you need it as an output,
high, then you need a pull-up.


.



Relevant Pages

  • Re: [patch -mm 20/20 RFC] chardev: GPIO for SCx200 & PC-8736x: add sysfs-GPIO interf
    ... We need a standard rep for GPIO in sysfs, ... GPIO hardware design appears to have 2 top-level factors; ... change will also exhibit in the port attr too. ... if a pin is output only, it shouldnt have an _output_enabled attr. ...
    (Linux-Kernel)
  • Re: OT: DOS programming EPP
    ... There seems to be *no* specifications or equivalent circuits for the parallel port as implemented on the ASICs used in modern PCs. ... it is completely unknown as to the maximum safe sink current to a logic low pin or the maximum source current from a logic high pin. ... The EPP page assumes you did. ... CONTROL bit 5 defaults low. ...
    (sci.electronics.design)
  • Re: Any Plug and Play device shuts down PC
    ... Where 'X' represents each pin on the USB header. ... The only other thing that can be done is to adopt the way the rear port on ... if you used a wire ...
    (microsoft.public.windowsxp.hardware)
  • Re: GA4 4-computer Chip .. most advanced ??
    ... from a port with a pin wake-up a data read was required. ... So, the latest intellasys series does not include this (sorry, it is ... Because reading a missing neighbor to access the pin ...
    (comp.lang.forth)
  • Re: bike computer to PC interface
    ... I have a pic of a basic circuit I found but don't know how it works ... Basically it has a connection to pin ... When the com port is opened, ... When the wheel contact was made, ...
    (sci.electronics.basics)