sakender
Junior Member level 3
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???????????????????????????????????
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???????????????????????????????????