Skip to content

SD not working on 1-bit mode #56

@MarianoDesivo

Description

@MarianoDesivo

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions