Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Reading 24 bit Data from spi sensor?

Status
Not open for further replies.

sakender

Junior Member level 3
Joined
May 21, 2009
Messages
30
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Location
PAk
Activity points
1,507
hi
i am actully working on spi protocol sensor interface with PIC controller ,the spi sensor send us after conveted to ADC 24 bits
i have writen some code as below is that enough to get 24 bits or i have to do other thing plz help me
actully the MCP3550 ADC iC is used to convet the sensor analog input to 22 bit information link is below for MCP3550 data sheet so plz help me out

**broken link removed**

float spi(unsigned char mybyte)
{
SSPBUF=mybyte;
while(!SSPSTATbits.BF);
return SSPBUF;
}
WAITING FOR HELP???????????????????????????????????
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top