Community
cancel
Showing results for 
Search instead for 
Did you mean: 
YYS_S
New Contributor I
1,559 Views

how to control pin mux in edison

Hi there,

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.

best,

0 Kudos
3 Replies
idata
Community Manager
40 Views

Hi AnteaterS,

Thank you for contacting us.

Let us investigate more about it, I will let you know if we have updates.

Thank you for your patience.

Regards,

 

-Leonardo
YYS_S
New Contributor I
40 Views

Any updates?

idata
Community Manager
40 Views

Hi AnteaterS,

 

 

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

 

 

Regards,

 

Leonardo R.
Reply