A discussion group for the PICMicro microcontroller. Also called the Microchip PIC, this list is dedicated to the use and abuse of this fine, simple, microcontroller. Close to topic posts are welcome, ie. general electronics.
Hi,
I wonder if any of you guys could help me out a bit. I am trying to hook the
PIC16F877 to AD7730 (ADC loadcell controller for Analog Dev) thru SPI.
I set the AD7730 to work in continuous conversion mode, monitoring the RDY line
once data has been updated.
I am having problem getting the PIC to communicate with AD7730. Sometimes I got
it to work but most of the time is just doesn't work.
I suspect it is the polarity of the CLK that is giving problem. I am using CKP = 0
and CKE = 0 to write to AD7730.
I am using CCS5X C Compiler (free version) to write my software.
Hope you guys can help me on this. Thanks in advance
regards,
Lai Chun Mun
Send instant messages to your online friends
http://uk.messenger.yahoo.com

(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )