This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Operating sensor via SPI interface

Other Parts Discussed in Thread: Z-STACK, CC2530

Good Morning ,

I have been facing this problem with the SPI interface in the Z-stack module.

I want to interface motion sensor via SPI interface in the Z-stack on CC2530 MCU. Apart from that I also have light sensor on board which is I2C interfaced ,the light sensor is working fine .As can be seen in the below JPEG file output 2.

but as I add the functions for motion sensor 

MOSI:P0.3

MISO:P0.2

SSN:P0.4

SCK:P0.5

and Acc Output :P0.7 ,since I am not using LCD so I have already removed its file so that pin can be used for motion sensor.I got the following output .Motion sensor is connected at .

I am getting only junk values and nothing else.I am unable to sort out the problem.

Thanks and Regards

Ravindra Kant