my professional test setup image missing /media/kunena/emoticons/w00t.png
why didn't I try this before image missing /media/kunena/emoticons/blush.png
i am sooo stupid, well, at least i realized it at some point
now i can also increase the SPI speed and in python the looptime dropped from ~0.88ms to 0.42ms image missing /media/kunena/emoticons/shocked.png
Code:
tx (280): [116, 105, 114, 119, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 70, 5, 0, 0, 0, 0, 0]
rx: [97, 116, 97, 100, 151, 2, 0, 0, 0, 0, 0, 0, 31, 202, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
0.8819103240966797
Code:
tx (280): [116, 105, 114, 119, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 70, 5, 0, 0, 0, 0, 0]
rx: [97, 116, 97, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
0.4222393035888672
the problem was, when checking whether a new packet was received, the size was also read out, if this check happened exactly during the transmission and the packet was not yet 100% there, the size was not correct and the check failed
a second before i wanted to send this message, there was a timeout, but ok, this is running over my home network, so it can happen, but it has become extremely good now, i have to let it run isolated for a while.
thank you all, if i hadn't kept asking, i would probably have resigned myself to the esp32 solution