Quantcast
Viewing all articles
Browse latest Browse all 5462

Interfacing (DSI, CSI, I2C, etc.) • Re: MCP3008 with spidev.h doesn't bring CE/CS low

The core message of this post - that you have to manage the CS line yourself because spidev won't - is wrong. I don't know why you have not been successful, but after removing all the gpio code from this example I still see the CS, SCLK and MOSI lines changing.

1. How are you enabling SPI?
2. What does "pinctrl 7-11" show?
3. With the gpio additions to your test code disabled, what does "pinctrl poll 8" show if left running while the test is run in another shell or process?

Statistics: Posted by PhilE — Tue Apr 09, 2024 9:29 am



Viewing all articles
Browse latest Browse all 5462

Trending Articles