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

General • Re: Problems with SPI Interface

$
0
0
Thank guys for the help. After applying the code mentioned, I am still having issues with getting the SPI working. The clock speed I have the SPI set to is the minimum for the chip as specified in its data sheet. Here's the code I added after seeing these replied.

Code:

      int length = sizeof(SPI_PORT);      memset(SPI_PORT, 0, length);      gpio_set_drive_strength(PIN_SCK, GPIO_DRIVE_STRENGTH_12MA);      gpio_set_drive_strength(PIN_MOSI, GPIO_DRIVE_STRENGTH_12MA);

Statistics: Posted by JacksonH — Thu Jul 24, 2025 2:31 pm



Viewing all articles
Browse latest Browse all 8013

Trending Articles