I am attempting to verify the SPI serial link between my test equipment and TI AFE5801. I am unable to see SCLK. Help would be greatly appreciated.
First. are CPOL (Clock Polarity)= 0 & CPHA (Clock Phase)= 1 for TI AFE5801? Refer pg. 25 (read), pg. 20 (write) of AFE5801 datasheet
I can't see the SCLK. Would incorrect value for CPOL & CPHA prevent me from viewing SCLK in the Oscilloscope? My sequence is to set the power supply, set the RESET low, and then set CS low. I used the delays shown on pg. 19 (Fig 35) of AFE5801 datasheet.
We do not have a TSW1250EVM. AFE5801 is designed in on our Motherboard. I have been able to generate a 40 MHz square wave with FPGA on my Motherboard (different program, to verify hardware and cabling)
Second, assuming the code is written correctly- could you please tell me the critical pins that could disable SCLK when their logic is set incorrectly ? (e.g. will I see SCLK if RESET, SEN pins have logic 1)
Third, can SCLK work at 5 MHz? (pg. 19 of AFE5801 datasheet)
Pointers on how one should go about troubleshooting no SCLK are most welcome.
Thanks,
Mohit Kapur