Skip to content

I2C communication between a ESP32 and ESP32 Audiokit does not work #42

Answered by pschatzmann
Heute13 asked this question in Q&A
Discussion options

You must be logged in to vote

Be careful: for AudioKitEs8388V1 Wire is used with the pins 32 and 33 to communicate with the codec!
And pins 21 and 22 are used by the PA and LED

class PinsAudioKitEs8388v1Class : public DriverPins {
 public:
  PinsAudioKitEs8388v1Class() {
    // sd pins
    addSPI(ESP32PinsSD);
    // add i2c codec pins: scl, sda, port, frequency
    addI2C(PinFunction::CODEC, 32, 33);
    // add i2s pins: mclk, bck, ws,data_out, data_in ,(port)
    addI2S(PinFunction::CODEC, 0, 27, 25, 26, 35);

    // add other pins
    addPin(PinFunction::KEY, 36, PinLogic::InputActiveLow, 1);
    addPin(PinFunction::KEY, 13, PinLogic::InputActiveLow, 2);
    addPin(PinFunction::KEY, 19, PinLogic::InputActiveLow, 3)…

Replies: 2 comments 12 replies

Comment options

You must be logged in to vote
4 replies
@Heute13
Comment options

@Heute13
Comment options

@Heute13
Comment options

@Heute13
Comment options

Answer selected by pschatzmann
Comment options

You must be logged in to vote
8 replies
@Heute13
Comment options

@Heute13
Comment options

@pschatzmann
Comment options

@Heute13
Comment options

@pschatzmann
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants