I
I
Ivan2021-11-04 10:07:33
Arduino
Ivan, 2021-11-04 10:07:33

Connecting ADC MCP3008 and nrf24l01 to same raspberry?

Good afternoon.
The essence of the question is in the title, is it possible to connect the ADC MCP3008 and nrf24l01 at the same time?
Both modules use SPI and some pins will have 2 devices connected at the same time. Will everything work?
Thank you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Armenian Radio, 2021-11-04
@gbg

In SPI, in order to determine which device is currently being accessed (this is called "arbitration"), a separate CHIP_SELECT line is used. Thus, each device must have 3 SPI lines (common for all devices on the bus) and one "personal" CHIP_SELECT line.
If the device does not have a separate CHIP_SELECT input, this can be solved using the NAND logic element (K155LA3 or equivalent) - you need to turn off the SCK clock signal going to the device.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question