Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

rp2: Add HSTX support.#18345

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
sfe-SparkFro wants to merge1 commit intomicropython:master
base:master
Choose a base branch
Loading
fromsparkfun:rp2_hstx

Conversation

@sfe-SparkFro
Copy link
Contributor

Summary

HSTX support for the RP2350!Resolves#17111

This implementation is similar torp2.DMA in that the control registers values are created withpack functions. The FIFO registers are accessed with special functions. It also supports the buffer protocol (write only) so DMA transfers are relatively simple.

Note that this implementation is entirely application agnostic, unlike other HSTX implementations (which often just implement DVI, and end up hogging specific resources for it).

Testing

I've created 2 demoshere. The first is a simple blink, the second is a DVI implementation.

Both tested to work with the following:

Though it should work with any RP2350 board and appropriate hardware to run the DVI example.

Trade-offs and Alternatives

On my machine, this adds 1852 bytes (+0.59%) to theRPI_PICO2 build. IMO this is worth the extra functionality for the reasons outlined in#17111.

MichaelBell, gigapod, jonnor, malcolm-sparkfun, and mattytrentini reacted with rocket emoji
Signed-off-by: Dryw Wade <dryw.wade@sparkfun.com>
@sfe-SparkFro
Copy link
ContributorAuthor

Oh also, would be good to implement this#17692 (comment) soPin.ALT_HSTX can be used!

@github-actions
Copy link

Code size report:

Reference:  lib/stm32lib: Update N6, U5 & WB. [673524f]Comparison: rp2: Add initial HSTX implementation. [merge of c24e8ef]  mpy-cross:    +0 +0.000%    bare-arm:    +0 +0.000% minimal x86:    +0 +0.000%    unix x64:    +0 +0.000% standard      stm32:    +0 +0.000% PYBV10     mimxrt:    +0 +0.000% TEENSY40        rp2:    +0 +0.000% RPI_PICO_W       samd:    +0 +0.000% ADAFRUIT_ITSYBITSY_M4_EXPRESS  qemu rv32:    +0 +0.000% VIRT_RV32

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

HSTX Support for RP2350

2 participants

@sfe-SparkFro@dpgeorge

[8]ページ先頭

©2009-2025 Movatter.jp