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

Compute Module • How to utilize SPI0_CS2, SPI0_CS3 on RPi CM5 modules?

$
0
0
Hi, I designed custom board around RPi CM5 - part of my design used CS lines connected to mentioned lines. How do i make it work? I see in GPIO function selection tables, that those lines are defined, but I don't see overlays named spi0-3cs or spi0-4cs.

I saw, that someone has posted pull request to kernel with 6 CS, but i'm not really confident in that implementation.
That PR: https://github.com/raspberrypi/linux/pull/6635
I also understand, that likely device tree is a bit different since addition of RP1 chip.

I believe, that to get CS2 and CS3 lines i should modify RP1 and bcm2712-rpi overlays, as well as add missing aforementioned overlays for 3cs and 4cs variants. Is there a reason that it wasn't done?

Is there any documentation around that could make my life easier?

Statistics: Posted by fricomnis — Fri Jun 06, 2025 8:54 am



Viewing all articles
Browse latest Browse all 7503

Trending Articles