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

Double Data Rate on Cube Red with W25 DDR capable External Flash #27574

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

bugobliterator
Copy link
Member

  • Adds support for w25-dtr external flash in Double Data Rate mode.

Gives us 60% increase from 100MHz to 160MHz transfer rate

@tridge
Copy link
Contributor

tridge commented Jul 17, 2024

looks like this change will impact the YJUAV_A6SE and the SPRacingH7
@andyp1per can you test SPRacingH7?
@peterbarker can we test this PR on your plane?

note it will likely need SPI clock dropped to 80MHz, and SPEED_HIGH on the GPIO lines

@tridge tridge requested a review from andyp1per July 17, 2024 08:25
@tridge tridge removed the DevCallEU label Jul 17, 2024
@andyp1per
Copy link
Collaborator

andyp1per commented Jul 17, 2024 via email

Copy link
Collaborator

@andyp1per andyp1per left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to not affect existing boards

{"w25q-dtr", 0xEF, 0x70, SupportedDeviceType::QuadSPI},
{"mt25q", 0x20, 0xBA, SupportedDeviceType::QuadSPI, 0}, // https://www.mouser.in/datasheet/2/671/mict_s_a0003959700_1-2290909.pdf
{"w25q", 0xEF, 0x40, SupportedDeviceType::QuadSPI, 0},
{"w25q-dtr", 0xEF, 0x70, SupportedDeviceType::QuadSPIDTR, 0xED},
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you need to use a new name here so that the existing boards are unaffected

@bugobliterator
Copy link
Member Author

Made changes so there's a selection to turn the DTR feature on or off.

@tridge
Copy link
Contributor

tridge commented Jul 24, 2024

marked a DelayMerge pending some performance testing that shows a real improvement

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants