joan2937 / pigpio

pigpio is a C library for the Raspberry which allows control of the General Purpose Input Outputs (GPIO).
The Unlicense
1.43k stars 403 forks source link

SPI6 mode 3 #606

Open SimonSvis opened 3 weeks ago

SimonSvis commented 3 weeks ago

Hi, for a project I'm trying to use SPI on a Compute Module 4. I'd like to use mode 3 SPI, but I noticed SPI1(which is an auxilliary) doesn't support mode 3. Since SPI6 and SPI1 overlap I thought it may support mode 3. Can anyone confirm whether SPI6 support mode 3 and if it does, how could I use it in C?

Kind regards,

Simon

guymcswain commented 1 week ago

I don't know about CM in general. This library did not extend support to the additional SPI peripherals found on the Pi4 chip. You only have access to the original (two) peripherals.