Stephen 🐈 🇨🇦 on Nostr: Spent all weekend tracking down a bug in the display driver I wrote. It was causing ...
Spent all weekend tracking down a bug in the display driver I wrote. It was causing my radio transceiver to go wonky (they share an SPI bus), but only when writing to the display with DMA!
Long story short, it ended up being a few bytes remaining in the RX buffer after the DMA transfer, which the radio driver would read when it was its turn with the bus. A single line of code and I am immensely satisfied right now
Published at
2024-07-07 21:12:25Event JSON
{
"id": "af595753d6a64665d1d219f298e257e5cccf88d4f68b166576eabb424eabded3",
"pubkey": "a3f3eb91b810aeecbbe80f5be42cd7f783808218c08a6f9cc774f3187307effd",
"created_at": 1720386745,
"kind": 1,
"tags": [
[
"proxy",
"https://crabsin.space/objects/20a287d9-5a87-4c29-8d99-3a03cd6768e3",
"activitypub"
]
],
"content": "Spent all weekend tracking down a bug in the display driver I wrote. It was causing my radio transceiver to go wonky (they share an SPI bus), but only when writing to the display with DMA!\n\nLong story short, it ended up being a few bytes remaining in the RX buffer after the DMA transfer, which the radio driver would read when it was its turn with the bus. A single line of code and I am immensely satisfied right now\n\nhttps://crabsin.space/media/c0d913d5-b02c-4a63-84a7-6fd83c5b31aa/20240707_180451.jpg",
"sig": "29a49426c977471ecad85f04fa4d287d3bec95a86b3821a59bb43dd370552883318c2c8ddb5c967b388e3b0b8ecb989a2173d2a8873711cbe5c613d20e23ed9c"
}