AnsweredAssumed Answered

Issue of SCLK in AD677 while interfacing with PIC 24FV16KM202 uC

Question asked by themachinist on Apr 20, 2017
Latest reply on Apr 24, 2017 by Ryan_Curran

I'm trying to interface 16-bit serial ADC with PIC 24FV16KM202 microcontroller. I'm using SPI protocol to communicate with ADC through MC. When I provide conversion clock on its CLK pin from MC, it should generate SCLK pulses which will go to MC through its SCK pin. I've connected SDI of MC with SDATA of this ADC. I'm providing clock to ADC through a general purpose pin of MC. The major issue is ADC isn't able to generate proper clock pulses and I think because of this I'm not able to get any output

I'm attaching a scopeshot of CLK which I'm providing to ADC(in indigo color) and SCLK which it's generating(in yellow color) as well as C file of code which I've written.


SCLK-serial clock

SDI-serial data in

SDATA-serial data(ADC pin from which we get its output)