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

Demonstrate basic LPSPI peripheral functions #159

Merged
merged 2 commits into from
Jun 7, 2024
Merged

Conversation

mciantyre
Copy link
Member

@mciantyre mciantyre commented May 27, 2024

Use set_peripheral_enable to transition the LPSPI driver from a controller into a peripheral. You can then use the lower-level LPSPI interface to coordinate I/O.

The PR includes two examples that you can run on physically-connected boards. See the example documentation for more info. I tested the LPSPI device behavior by running the _peripheral example on a 1010EVK and the _controller example on a 1170EVK. I'm eagerly updating the pin configurations for other boards.

Inspired by discussions here.

@mciantyre mciantyre marked this pull request as ready for review May 27, 2024 23:08
@mciantyre mciantyre changed the title Demonstrate basic LPSPI device support Demonstrate basic LPSPI peripheral functions Jun 6, 2024
mciantyre added 2 commits June 7, 2024 10:48
Users can directly control the clock configurations, if they prefer.
They can also read and update the configurations already decided by
`set_clock_hz`.
Use `set_peripheral_enable` to transition the LPSPI driver from a
controller into a peripheral. You can then use the lower-level LPSPI
interface to coordinate I/O.

The commit includes two examples that you can run on
physically-connected boards. See the example documentation for more
info. I tested the LPSPI device behavior by running the `_peripheral`
example on a 1010EVK and the `_controller` example on a 1170EVK. I'm
eagerly updating the pin configurations for other boards.
@mciantyre mciantyre merged commit 3017adf into main Jun 7, 2024
63 checks passed
@mciantyre mciantyre deleted the lpspi-device branch June 7, 2024 14:55
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.

1 participant