HI,D!
First of all, find a PDF file for your ADC and read it carefully.
Pay attention on timing diagrams!!!
Picture u have sent I suppose has wrong connection between PIC and ADC - Din (ADC) goes to Dout (MCU) and Din (MCU) goes to Dout (ADC).
HI,D!
First of all, find a PDF file for your ADC and read it carefully.
Pay attention on timing diagrams!!!
Picture u have sent I suppose has wrong connection between PIC and ADC - Din (ADC) goes to Dout (MCU) and Din (MCU) goes to Dout (ADC).
Hi Sonic, thanks for the reply.
turns out i had an incorrect mode set for my shiftout statement. everything seems to work fine now. Looks like the clock pin for the ADC can be connected to the OSC2 pin of the PIC after all.
Bookmarks