Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ES8388 LyraT Fixes #39

Merged
merged 7 commits into from
May 23, 2023
Merged

Conversation

troyhacks
Copy link
Collaborator

Optional mic at compile time (set in code)

Fixes to a small volume drop on pass-thru on the LyraT on one stereo channel. Unknown as to why this happens in the hardware.

Moved all registry numbers to decimal and all settings to binary format to make it easier to cross-reference the manuals which all shows decimal and binary. Tried to document all settings in-line as best as I can.

Added some more docs to the comments as hints for those who might want to do further hacking. :)


// #define use_es8388_mic

#ifdef use_es8388_mic
Copy link
Collaborator

@netmindz netmindz May 4, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The convention is normally to use block caps for build flags

@@ -551,6 +598,10 @@ class ES8388Source : public I2SSource {

void initialize(int8_t sdaPin, int8_t sclPin, int8_t i2swsPin, int8_t i2ssdPin, int8_t i2sckPin, int8_t mclkPin) {

// BUG: "use global I2C pins" are valid as -1, and -1 is seen as invalid here.
// Workaround: Set I2C pins here, which will also set them globally.
// Bug also exists in ES7243.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Worth logging a bug so we keep track to come back and fix both?

@netmindz
Copy link
Collaborator

netmindz commented May 8, 2023

Just tested and pass-thru working (at least to some extent, not verified left/right balance etc)

Just the naming that build flag and I'd say good to merge

@netmindz netmindz merged commit dcebced into MoonModules:mdev May 23, 2023
softhack007 pushed a commit that referenced this pull request May 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants