Terry,
Let's start with the basics. You may have covered this before but it doesn't hurt to go over it again.
Since it was (apparently) working before, I'd start looking for what changed:First check all the connections for bad or intermittent solder joints or wires.
Second, what were doing to/with this device shortly before it stopped working? In particular, were you modifying the software or exposing the device to something in the environment (hot/cold, wet, spark)?If you were modifying the software, have you tried reverting to previous version?If it was environmental, it's possible that the device may be damaged. Have you checked the data sheet for the limits?Speaking of damage. Does it get hot when you plug it in? That's usually a sign of damage (especially if it wasn't hot before).
Since it's working intermittently, my first guess would be an intermittent connection. Unless you were modifying the code in which case that may be more likely that you inadvertently changed a register that you shouldn't have.
If you have an oscilloscope, you should check the SPI signals. Look for what is different between working and not. Especially look for signals with "funny" levels.