Skip to content

Conversation

@bjoernQ
Copy link
Contributor

@bjoernQ bjoernQ commented Aug 29, 2023

This adds RX functionality to the PARL_IO driver, follow-up on #733

The examples are quite basic but I also tested somewhat more complex scenarios. I haven't really understood the pulse-enable mode or it's not fully working - but it's implemented according to the TRM so we probably need to wait until ESP-IDF implements this to see if we have something wrong or if I just don't understand how it's supposed to work. Everything else however works as expected.

Closes #719

Copy link
Member

@jessebraham jessebraham left a comment

Choose a reason for hiding this comment

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

Thanks for this! This is a fairly complex peripheral so there's a lot to take in here, but seems reasonable enough to me.

I left one small comment, however if you don't feel like addressing it just feel free to merge this as-is.

esp-backtrace = { version = "0.7.0", features = ["esp32h2", "panic-handler", "exception-handler", "print-uart"] }
esp-hal-smartled = { version = "0.4.0", features = ["esp32h2"], path = "../esp-hal-smartled" }
esp-println = { version = "0.5.0", features = ["esp32h2"] }
esp-println = { version = "0.5.0", features = ["esp32h2", "log"] }
Copy link
Member

@jessebraham jessebraham Aug 29, 2023

Choose a reason for hiding this comment

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

Not a big deal, but I see the log feature is enabled and the logger is initialized in the example, however no logging seems to actually take place (println! is used).

I assume this was for debugging? The same is done for the ESP32-C6.

Copy link
Contributor

@JurajSadel JurajSadel left a comment

Choose a reason for hiding this comment

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

LGTM, examples work fine for me.

@bjoernQ bjoernQ merged commit 9a89487 into esp-rs:main Aug 29, 2023
playfulFence pushed a commit to playfulFence/esp-hal that referenced this pull request Sep 26, 2023
* PARL_IO RX for ESP32-C6 / H2

* Add PARL_IO RX to README.md

* Remove logger-init from PARL_IO_RX examples
@bjoernQ bjoernQ deleted the feature/parl_io_rx branch November 26, 2024 08:43
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.

ESP32-C6 / ESP32-H2: Implement PARL_IO

3 participants