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

[Feature] Flash Memory #15

Open
mtthw-meyer opened this issue Mar 31, 2021 · 2 comments
Open

[Feature] Flash Memory #15

mtthw-meyer opened this issue Mar 31, 2021 · 2 comments

Comments

@mtthw-meyer
Copy link
Owner

Implement QSPI for flash memory access.

@mtthw-meyer
Copy link
Owner Author

Pulling this out of the system file and leaving it here for future reference.

// TODO - QSPI
// info!("Setting up QSPI...");
/*
    dsy_gpio_pin *pin_group;
    qspi_handle.device = DSY_QSPI_DEVICE_IS25LP064A;
    qspi_handle.mode   = DSY_QSPI_MODE_DSY_MEMORY_MAPPED;
    pin_group          = qspi_handle.pin_config;

    pin_group[DSY_QSPI_PIN_IO0] = dsy_pin(DSY_GPIOF, 8);
    pin_group[DSY_QSPI_PIN_IO1] = dsy_pin(DSY_GPIOF, 9);
    pin_group[DSY_QSPI_PIN_IO2] = dsy_pin(DSY_GPIOF, 7);
    pin_group[DSY_QSPI_PIN_IO3] = dsy_pin(DSY_GPIOF, 6);
    pin_group[DSY_QSPI_PIN_CLK] = dsy_pin(DSY_GPIOF, 10);
    pin_group[DSY_QSPI_PIN_NCS] =
    dsy_pin(DSY_GPIOG, 6);
*/

@x37v
Copy link
Collaborator

x37v commented Jul 12, 2021

work in progress here: https://github.com/x37v/libdaisy-rust/blob/xnor/is25lp/src/flash.rs

It requires a branched version of the HAL.

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

2 participants