I am using the PIC16F876 to program an AD9833. I am using the RA2 pin for FSYNC, RA3 pin for SCLK and RA4 pin for SDATA. I have used ADCON1 = 0x07 to set all the A ports as digital and PORTA = 0x00 to set all the ports as outputs.
The problem is that the RA4 pin is not responding to commands. I know this is a special pin but I think it can be used as a digital I/O.
Can someone tell me what I am missing? I assume there is another register write which enables RA4 as a standard digital I/O but I can't seem to find it.