Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4151

Interfacing (DSI, CSI, I2C, etc.) • Re: AD7606 SPI 6.1 Probe Failed With Error -16 (EBUSY)

$
0
0
The SPI protocol doesn't provide any confirmation that there is a device at other end - you need to look at the returned data to see if it makes sense. Enabling kernel tracing for SPI traffic may teach us something about the problem:

Code:

$ echo 1 | sudo tee /sys/kernel/debug/tracing/events/spi/enable
After running the test, retrieve the tracing:

Code:

$ sudo cat /sys/kernel/debug/tracing/trace
To clear the tracing before the next test:

Code:

$ echo -n | sudo tee /sys/kernel/debug/tracing/trace

Statistics: Posted by PhilE — Mon Nov 11, 2024 10:38 am



Viewing all articles
Browse latest Browse all 4151

Trending Articles