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

SD not working on 1-bit mode #56

Open
MarianoDesivo opened this issue Aug 4, 2021 · 0 comments
Open

SD not working on 1-bit mode #56

MarianoDesivo opened this issue Aug 4, 2021 · 0 comments

Comments

@MarianoDesivo
Copy link

On my breadboard I have connected only d0 (not d1,d2,d3) to use the 1-bit mode

I downloaded the dev branch

I checked the genlib_daysi.h to be in 1-bit mode

void sdcard_init() {
			daisy::SdmmcHandler::Config sdconfig;
			sdconfig.Defaults(); // 4-bit, 50MHz
			// sdconfig.clock_powersave = false;
			// sdconfig.speed           = daisy::SdmmcHandler::Speed::FAST;
			sdconfig.width           = daisy::SdmmcHandler::BusWidth::BITS_1;
			handler.Init(sdconfig);
			dsy_fatfs_init();
			f_mount(&SDFatFS, SDPath, 1);
		}

On that folder, I opened oopsy-dev\examples\sdcard-minimal.maxpat

I copied the drumloop.wav on my SD

I run it on my daysi but does not work

I checked with C++ (WavPlayer.cpp with 1-bit mode) and it works, playing drumloop.wav on my daisy

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