Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
You need to post your code and schematic.
You can't just send data out with SPI, you have to receive it as well, after you send a byte you have to wait until a byte is received (BF=1) and then read SSPBUFF. Microchip have a good document explaining it.
Mike.
datasheet said:The status of the internal conversion
is the SDO/RDY pin and is available with CS low.
A High state on SDO/RDY means the device is busy
converting, while a Low state means the conversion is
finished and data is ready for transfer using SCK.
SDO/RDY remains in a high-impedance state when
CS is held high. CS must be low when clocking out the
data using SCK and SDO/RDY.
First let me say that I have just started working with SPI and only with the MCP41XXX.
I understand why you are saying the above. But some of the Microchip SPI enabled chips do not conform. For example the MCP41XXX digital pot does not have an SO pin. It is a send and pray transfer. The dual version MCP42XXX has an SO pin but it is used to dasiy chain these devices and does not connect to the master SI pin.
The MCP3550 has no SI pin. It is a read only device execpt that the CS line is used to start a conversion.
Hi 3V0,
I have tried to get the data by making CS low, but i couldnt get any data through SDO... Can u help me in this regard....?