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

ieee802154 esp32h2 no frames received or transmitted #1563

Closed
TobiasFeld22 opened this issue May 17, 2024 · 5 comments · Fixed by #1572
Closed

ieee802154 esp32h2 no frames received or transmitted #1563

TobiasFeld22 opened this issue May 17, 2024 · 5 comments · Fixed by #1572
Labels
bug Something isn't working

Comments

@TobiasFeld22
Copy link

Since upgrading to ESP-Hal 0.17 (from 0.16.1) the IEEE802154 implementation on the esp32-h2 seems to be broken.

When using the send_frame and receive_all_frames on the esp32-c6 the examples work great,
but on the esp32-h2 i cannot receive frames.
Frames that are sent from an esp32-h2 are also not picked up by the esp32-c6 running the receive_all_frames example.

The examples on both devices do not throw any errors

I'm using the following hardware:

  • 2x esp32-c6-devkitc-1
  • 2x esp32-h2-devkitm-1
@bjoernQ
Copy link
Contributor

bjoernQ commented May 21, 2024

I can confirm this is working in the original repository at commit 4af1c8be5e0b555035b2846b20e5fa6be177f4f9

cargo run --example=receive_all_frames --release --features=esp32h2

But on commit ef290a9a78eba203f6a6951637556ca70a5bcae2 in esp-hal this doesn't receive anything
cargo xtask run-example examples esp32h2 ieee802154_receive_all_frames

Also doesn't work with the original commit 8a1df4230990b8151cd57f2d0958644e3b150ba3

@bjoernQ
Copy link
Contributor

bjoernQ commented May 21, 2024

After testing a bit more it seems that in the old repo:
051a6a06b72ea4f840188eaf0c921b3378a7c712 last commit working on ESP32-H2

6e34b7fb7027bbcdcecb02003e2c3f33197210b4 first commit it sopped working on ESP32-H2

@bjoernQ
Copy link
Contributor

bjoernQ commented May 21, 2024

Correction - seems only receive_all_frames works in 051a6a06b72ea4f840188eaf0c921b3378a7c712

send_frame/receive_frame stopped working for me after a09fcffc1cd2766a0f7ea8874bd8301e3cdfa0f7 - even for ESP32-C6

@bjoernQ bjoernQ added the bug Something isn't working label May 21, 2024
@bjoernQ
Copy link
Contributor

bjoernQ commented May 21, 2024

Update: seems that current main's receive works with a09fcffc1cd2766a0f7ea8874bd8301e3cdfa0f7's send example - apparently, it's a problem with sending not receiving

@bjoernQ
Copy link
Contributor

bjoernQ commented May 21, 2024

For H2 there was definitely a problem, fixed here: esp-rs/esp-pacs#249

For the other things I observed: They disappeared without changing anything so maybe it was something wrong with my setup

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants