Conversation
- adds API for retrieving & setting the ephemeral key. This is a key that is erased by a power-on reset, but is preserved between deep-sleep sleep/wake cycles. It is intended for securing a lock PIN, and can be up to 192 bits long. - adds API for checking the warm boot flags, which are also stored in the backup registers.
occassionally the hardware block just goes unresponsive. the 'fix' is to reset it, and then re-initialize the interface. I suspect this has to do with the UDMA silently dropping transactions when there's too much contention on the bus.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Add:
Fix:
Suspected root cause is a similar issue to the
backpressurebug that affects the SPIM block when talking to SPI flash, but manifesting in a different form. I checked and this is using the backpressure flag, but backpressure only affects the Rx path. I seem to remember that only affected the Rx-side, but...clearly there is something else going on.