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

Interfacing (DSI, CSI, I2C, etc.) • Enable SPI 3WIRE Mode on Raspberry 5

$
0
0
Dear all,

I am trying to set the primary SPI interface using spidev_test[1] but I got an error in dmesg: spidev spi0.0: setup: unsupported mode bits 10
The error message comes from the spi.c#L3656 in following link.
https://elixir.bootlin.com/linux/v6.1/s ... pi.c#L3656

Does anyone know how to enable 3WIRE mode on Raspberry 5 and give me some hints? Thank you.

[1] https://github.com/torvalds/linux/blob/ ... dev_test.c
[2] https://elixir.bootlin.com/linux/v6.1/s ... /spi/spi.c

Statistics: Posted by ccwu — Tue Apr 02, 2024 2:55 am — Replies 0 — Views 20



Viewing all articles
Browse latest Browse all 4496

Trending Articles