Beagle SPI driver update

Niteesh G. S. at
Wed Oct 14 17:09:03 UTC 2020


Update: I got the condition in the while loop wrong. After fixing this it
works now.
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. < at> wrote:

> Hello,
> 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
> found
> here
> Commit:
> 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
> necessary.
> 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?
> Thanks,
> Niteesh.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the devel mailing list