Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is a work in progress and am opening for visibility and help.
This PR aims to add a example for the nrf24 via SPI and essentially is a port of https://github.com/rtxm/rust-nrf24l01 that avoids
std
and uses thech32-hal
types.WARNING: I really don't know what I'm doing so please excuse any silly mistakes***
Status
Currently I can build and flash the device but do not get the expected functionality.
When emitting I often get the following error
NrfError::MaxRetries
and when listening the values do not seem to be realistic.At the moment I am not sure how to best proceed and determine where the issue is, any insight from other CH32/embedded devs would be super helpful!
Please let me know if I can provide any more information.
commands to build/flash
cargo build --release --bin spi-nrf24 && wlink -v flash --enable-sdi-print --watch-serial target/riscv32ec-unknown-none-elf/release/spi-nrf24
Refs