Skip to content
This repository has been archived by the owner on Apr 1, 2024. It is now read-only.

SPI and I2C

Phil Schatzmann edited this page May 15, 2022 · 23 revisions

It seems that most people are not familiar with their boards.

I2C

In the latest version, I2C channel 1 is now used by default to communicate with the audio chip. This allows you to use the Wire object w/o impacting the AudioKit.

This can be changed - if needed - with the help of AUDIOKIT_WIRE in AudioKitSettings.h.

SPI

SPI (using VSPI) is used by default to communicate with the SD Drive. This can be configured with the help of AUDIOKIT_SD_SPI in AudioKitSettings.h. Please note that you don't need SPI if you access the drive via SDMMC. In this case you can deactivate it by setting AUDIOKIT_SETUP_SD 0.

Clone this wiki locally