HI,
I am reading LIS2DH accelerometer sensor data to nRF51822 MCU and displaying on hyper terminal. The LIS2DH sensor gives output in the form of digital through SPI or I2c. I am configuring through SPI. The problem is whenever accelerometer reading operation has happened the CS pin becomes high and never coming back to the low state. I am attaching the code with this mail. Please help me out. SPI_UART_LIS2DH.c