-
Notifications
You must be signed in to change notification settings - Fork 93
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
feat(MiscDrivers): Add N01S830HA Drivers for MAX78000FTHR Board #802
Merged
Jake-Carter
merged 26 commits into
analogdevicesinc:main
from
Jake-Carter:dev/N01S830HA-drivers
Dec 22, 2023
Merged
feat(MiscDrivers): Add N01S830HA Drivers for MAX78000FTHR Board #802
Jake-Carter
merged 26 commits into
analogdevicesinc:main
from
Jake-Carter:dev/N01S830HA-drivers
Dec 22, 2023
Conversation
This file contains 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
- Modularize transport layer - Set burst mode for drivers to fix transactions across page boundaries - Increase SPI speed to 25Mhz - Simplify example
Jake-Carter
requested review from
Jacob-Scheiffler,
EdwinFairchild and
EricB-ADI
November 21, 2023 01:47
Jacob-Scheiffler
previously requested changes
Nov 28, 2023
printf("(Benchmark) Wrote %i bytes to internal SRAM in %ius\n", TEST_SIZE, elapsed); | ||
|
||
// Initialize test pattern | ||
for (int i = 0; i < TEST_SIZE; i++) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Initialize buffers before benchmark test and validate the test.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you clarify? I just timed a single memset
on the tx buffer as my benchmark
sihyung-maxim
approved these changes
Dec 20, 2023
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.
Pull Request Template
Description
Closes #616
Adds drivers for the N01S830HA on-board the MAX78000FTHR to
Libraries/MiscDrivers/SRAM
.The SPI transport layer is separated from the drivers, and the current implementation uses a register-level "fastspi" implementation. The "fastspi" implementation imports a "fastspi_config.h" that can be ported to different boards.
There is still some minor future work when additional SRAM drivers are added, but this one has been in the back log forever and is a good foundation.
Checklist Before Requesting Review