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

Create a "spi settings" type thing (in same vein as the SDRAM settings) #48

Open
mithro opened this issue Dec 20, 2016 · 2 comments
Open
Assignees

Comments

@mithro
Copy link
Contributor

mithro commented Dec 20, 2016

It would be nice to have a "spi settings" thing for different SPI flash chips following the same vian at https://github.com/m-labs/misoc/blob/master/misoc/cores/sdram_settings.py#L60 for the SDRAM ICs.

@mithro
Copy link
Contributor Author

mithro commented Dec 20, 2016

These seem to be the settings needed?

    spiflash_read_dummy_bits = 8
    spiflash_clock_div = 4
    spiflash_total_size = int((16/8)*1024*1024) # 16Mbit
    spiflash_page_size = 256
    spiflash_sector_size = 0x10000

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