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

Support for differential Output #28

Open
TheNitek opened this issue Apr 17, 2017 · 0 comments
Open

Support for differential Output #28

TheNitek opened this issue Apr 17, 2017 · 0 comments

Comments

@TheNitek
Copy link
Contributor

I was trying to make the differential Output work by loading the current patch for the VS1053 and using the following settings afterwards:

  // Enable Mono Output
  musicPlayer.sciWrite(VS1053_REG_WRAMADDR, 0x1e09);
  musicPlayer.sciWrite(VS1053_REG_WRAM, 0x0001);

  // Enable differential output
  uint16_t mode = VS1053_MODE_SM_DIFF | VS1053_MODE_SM_SDINEW;
  musicPlayer.sciWrite(VS1053_REG_MODE, mode);

Unfortunately this didn't work and took me quite a while to realize that startPlayingFile is doing

  // reset playback
  sciWrite(VS1053_REG_MODE, VS1053_MODE_SM_LINE1 | VS1053_MODE_SM_SDINEW);

Is there a reason for this? IMHO startPlayingFile shouldn't mess with the MODE register.

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

No branches or pull requests

1 participant