2025-03-24 3:06 PM - last edited on 2025-03-25 9:28 AM by Andrew Neil
I have lis2dwt12 sensor and nrf24l01+ sensor.Can i connect these devices on same spi line? i will select different CS pins.
Thank you for now.
2025-03-25 1:26 AM
Yes, that is the whole point of SPI as a bus.
2025-03-25 8:49 AM
But I couldn't get it to work. I know that different models exist, and I adjusted accordingly. The common pins like SCK, MOSI, MISO are the same. I haven't been able to read the NRF24L01+ registers at all.
I had this thought: could it be that when I set the CS pin of the LIS2DWT12 sensor High, it switches to I2C and is preventing my communication with the NRF?
2025-03-25 9:27 AM
@Garslanbay wrote:I haven't been able to read the NRF24L01+ registers at all.
Can you communicate with it on its own - ie, with the LIS2DWT12 disconnected?
You can disable the I2C in the LIS2DWT12:
2025-03-25 9:31 AM
Ohh thank you so much i will try it than i will give information about this subject.