i've simplified code like this,
other than the clk, miso, mosi, chip select pins,
all other config are the same.
so if i just build kernel with spidev0.0, it works.
if the kernel just has spidev1.0, the chip select signal always stay active low.
Here spidev1.0 means the slave 0 of the 2nd SPI,
CptTitanic wrote:
Things are always a lot easier to troubleshoot when details of the OS, and pin/peripheral configuration code is provided for review.
Configuring things is half the battle, the other is to watch for external pin conflicts.