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

PCM1802 FSYNC #264

Open
pr8x opened this issue Jan 15, 2023 · 3 comments
Open

PCM1802 FSYNC #264

pr8x opened this issue Jan 15, 2023 · 3 comments
Labels
enhancement New feature or request wontfix This will not be worked on

Comments

@pr8x
Copy link

pr8x commented Jan 15, 2023

I am trying to make the PCM1802 work with WLED-SR, but I am not sure what to do with the FSYNC pin. According to the datasheet:

FSYNC enables the BCK signal, and the device can shift out the converted data while FSYNC is HIGH

Does the "Generic I2S with MCLK" driver support this somehow? If not, it seems to quite easy to implement.

@pr8x pr8x added the enhancement New feature or request label Jan 15, 2023
@softhack007
Copy link
Collaborator

softhack007 commented Jan 15, 2023

Actually the espressif I2S driver that we use has no support for an additional "fsync" pin, so no idea how that could be easily implemented.

A user on discord has reported that he connected a PCM1808 with success, maybe you find some helpful information in this message: https://discord.com/channels/700041398778331156/853969074311659570/1037034721101750334


Join our Discord to discuss sound reactive WLED, and get help and support from the community:

Screenshot_20230115-234948_Discord

@softhack007
Copy link
Collaborator

Hi again, I just stumbled over this website: https://www.pjrc.com/pcm1802-breakout-board-needs-hack/

It seems that "FSYNC" is only relevant in TDM mode (an extension of I2S for multiple microphones). So maybe you just need to connect FSY to 3.3V.

The FSY pin (connected to FSYNC) is also a bit unusual.  PCM1802 expects it to be logic high while you transmit data, so just connect to 3.3V.  In the other modes, it sends a signal on this pin which is high during data bits and low during the zero padding bits.  But it does not require that signal as input.  FSYNC just connects to 3.3V to use PCM1802 with Teensy.

@pr8x
Copy link
Author

pr8x commented May 1, 2023

@softhack007 I ended up just using the PCM1808.

@softhack007 softhack007 added the wontfix This will not be worked on label Jun 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants