7 releases (4 breaking)
new 0.5.0 | Mar 27, 2025 |
---|---|
0.4.0 | Jan 10, 2024 |
0.3.2 | Nov 13, 2023 |
0.3.0 | Oct 23, 2023 |
0.1.0 | May 11, 2023 |
#1082 in Embedded development
302 downloads per month
36KB
636 lines
W25Q32JV Flash driver
This is a generic driver for the W25Q32JV and W25Q128FV flash chip from Winbond. It probably also works with other similar variants.
It supports:
- Blocking SPI using
embedded-hal 1.0
- Async SPI using
embedded-hal-async
- Blocking
embedded-storage
- Async
embedded-storage-async
To unlock the use of async, activate the async
feature on the crate.
Default is W25Q32(32 M-bit), activate +megabits128
to support W25Q128(128 M-bit).
Defmt is also supported through the defmt
feature.
TODO
- Fast read support. So far there's only support for the normal read, so don't use a SPI speed of > 50Mhz
Changelog
Unreleased
[0.5.0] - 2025-03-27
- Rename write function so that it does not clobber the trait methods
- Add a feature flag to support 128M-bit variants
- Add marker trait for Multiwrite to ASYNC API
[0.4.0] - 2024-01-10
- Update to embedded-hal 1.0
[0.3.2] - 2023-11-13
- Added functions to use the power down mode of the W25Q32JV.
[0.3.1] - 2023-10-24
- Added readback-check feature that reads back the writes and the erases to check if they've succeeded ok
[0.3.0] - 2023-10-23
- BREAKING: Error struct is now exhaustive and a variant was added
- Write enable is now being checked
[0.1.0] - 2023-05-11
- Initial release
Dependencies
~235KB