I just put the question straight here: how linux know which pin goes to spi5, which pin is cs0? I would like remove the famous ADS7951 from the image and use MCP2515 instead. I could not figure out how could linux know which pin to talk to.
A CLEAR answer will be highly appreciated.
We really appreciate your patience.
We investigated a lot about this case, and this is what we found: Accessing to the CS0 for the SPI interface is technically possible, but it would require a significant amount of effort to unload the ADC module and modify the kernel configurations before one could access CS0 from user space. Unfortunately these modifications are out of our support.
Anyways, I already informed this to the proper team to consider it as part of any of the future releases.
We normally recommend to the users to use this conceptual workaround that uses a GPIO as the chip select, accepting the delay for two SPI transaction while the GPIOs are toggled.
And you can also find more suggestions and information in this thread: https://communities.intel.com/thread/59106 https://communities.intel.com/thread/59106