I'm tying to use MCP3008 to read the ADC signal from sensors.
But I need to transfer the data through the LoRa module.
Which is also the SPI interdace. The example of ping pong has been done.
But is that ok to use both SPI interfaces ?
As long as the devices are on different SPI channels that is okay.
The Pi main SPI device has two channels (spidev0.0 and spidev0.1).
The Pi auxiliary SPI device has three channels (spidev1.0, spidev1.1, and spidev1.2).