Beagle SPI driver update
Niteesh G. S.
niteesh.gs at gmail.com
Wed Oct 14 17:09:03 UTC 2020
Update: I got the condition in the while loop wrong. After fixing this it
I'll try to post a working patch of the SPI driver as soon as possible.
On Wed, Oct 14, 2020 at 12:39 PM Niteesh G. S. <niteesh.gs at gmail.com> wrote:
> First of all really sorry for the long delay, I am preparing for a
> robotics competition
> and it eats up most of my free time.
> I finally got a logic analyzer and tested the SPI driver using it. And as
> expected the
> waveforms weren't right. To understand the device better and also to
> narrow down
> the problem I decided to write a simple polled driver. This driver can be
> This way I was able to get my first byte pushed but the succeeding bytes
> time out. I
> added the time out to make sure the pushed data is transferred before
> getting overwritten
> by the succeeding bytes. I also checked other drivers to make sure adding
> a timeout is
> On removing the timeout I was able to get all my bytes pushed successfully.
> This was verified using the logic analyzer. But on using the timeout I
> face the mentioned
> problem. I even tried decreasing the time but still, I face the same issue.
> What could be causing the problem? Is there any other way to debug this?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the devel