Skip to content

Enabled SPI for the TM4C129x#57

Open
tcaxle wants to merge 7 commits into
rust-embedded-community:masterfrom
tcaxle:master
Open

Enabled SPI for the TM4C129x#57
tcaxle wants to merge 7 commits into
rust-embedded-community:masterfrom
tcaxle:master

Conversation

@tcaxle
Copy link
Copy Markdown

@tcaxle tcaxle commented Mar 15, 2024

PR for #56

Code tested on the EK-TM4C1294XL with SSI0 on GPIO port A in SDIO mode.

Further testing recommended but basic functionality is confirmed.

Closes: #56

@tcaxle tcaxle mentioned this pull request Mar 15, 2024
@tcaxle
Copy link
Copy Markdown
Author

tcaxle commented Mar 15, 2024

See picoscope output for the Hello World example here:
image

Comment thread tm4c129x-hal/src/spi.rs
impl<T> MisoPin<SSI3> for PQ3<AlternateFunction<AF14, T>> where T: OutputMode {}
impl<T> MosiPin<SSI3> for PQ2<AlternateFunction<AF14, T>> where T: OutputMode {}

// SSI3 (alt)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Why are these commented out?

@thejpster
Copy link
Copy Markdown
Member

Please run cargo fmt. One query but otherwise looks great, and fantastic to see the scope screenshot - very reassuring!

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SPI on the TM4C129x

2 participants