I need to interface with a micro SD card in SPI mode, and the datasheet says that the serial clock speed should be between 100 and 400 kHz. So I connected it to the 23rd pin but I can not find any library that makes me set such a frequency on that pin.
Maybe I could connect the SCLK pin on the SD controller to the PWM pin on Raspberry?
I'm looking forward on using pigpio library in C, which seems the best for what I'm working on...