Replies: 2 comments 1 reply
|
Thanks for raising this discussion @sapfeer0k.
I was able to implement transmit in the requisite PIO space.
Thank you for code, which handles the transmit side quite well. And indeed I may add a separate implementation to do transmit in PIO.
One question, I don't see in your code where you detect the ACK from the target. |
|
Hi @gkoh , I also have faced the same problem with the PIO instruction length limitation. And I had to split reception / transmission PIO code. (Although I don't use reception, but it is almost the same) Your observation about the missing ACK detection is correct. I simply ignored that part , because I was unable to make it work reliably. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hi, I have implemented a similar project a year ago , and I used PIO for bitbanging. I am going to share the code (although it's micropython) , may be you will port it to c .
Let me know your opinion. Thanks
All reactions