This was supposed to be a short devlog.
(9 hours of coding time later….)
Unfortunately, not that much actual progress has been made. It’s just how things go sometimes in embedded development. Here’s what happened:
-
My SPI implementation for my mouse sensor decided to stop working randomly. Therefore, I had to spend a couple hours to figure out what caused it and to replace it with an entire new SPI implementation.
(My current best theory on what happened was that I was trying to run my sensor’s 3 wire SPI using Zephyr’s 4 wire SPI library, which led to problems whenever I increased the frequency.) -
Right after I fixed this, all my old PREVIOUSLY WORKING mouse code suddenly stopped working. I then spent another several hours fixing this as well. I eventually narrowed it down to some kind of problem with the bootloader, but I still have no idea what it is. I’m just using some workarounds for now.
So that’s how i spent 9 hours (+ more unlogged time bc my logging and stuff isn’t actually on VSCode) getting back to where I was last devlog. I LOVE EMBEDDED! YIPPEEEE
also here’s a video of the mouse movement actually working
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.