Trying to use an SPI epaper display gets stuck somewhere #2754
Replies: 2 comments 2 replies
-
First, a real long shot based on an issue I currently have - how do you know it gets stuck? Because you don't see the If it's not that, then inside the init there's a |
Beta Was this translation helpful? Give feedback.
-
Doing this doesn't stop the program from hanging in the same place.
A project by another person, I've used it to try and tweak my code in some places: https://github.com/GnomedDev/epaper-simplyplural-badge/blob/0440c798289a3b36dcfb42f4938d9fc3a9111da9/src/main.rs#L92
|
Beta Was this translation helpful? Give feedback.
-
Hello, I am making a project on an esp32 (esp-wroom-32,
esp32 revision 1.0
fromespflash
) that uses a epaper display connected over SPI. It's a 2.9inch white/black/red display from weact, analogous to the similar model from waveshare.I've generated a project and set up SPI according to the examples in esp-rs documentation, but the program gets stuck somewhere in the
Epd2in9bc::new
method call fromepd-waveshare
: https://docs.rs/epd-waveshare/latest/epd_waveshare/epd2in9bc/struct.Epd2in9bc.html#method.newMy suspicion is that there's some kind of deadlock happening but I don't know why or how.
My
async_main.rs
:And these are the crate versions used:
I am using embassy because I intend to also use wifi to make a small desktop calendar. What am I doing wrong?
Asked about this on Rust Community discord and on the
epd-waveshare
repo but haven't gotten useful responses besides one project example but I couldn't see what they did that I am doing wrong.Please help me with this problem, I don't know what is going on on the inside and don't know how to debug to see the exact point the board gets stuck at.
Beta Was this translation helpful? Give feedback.
All reactions