SPI maximum message length

Discussion related to "under the hood" OpenMV topics.
User avatar
kwiley
Posts: 82
Joined: Fri Dec 21, 2018 5:22 pm

SPI maximum message length

Postby kwiley » Sun Jan 20, 2019 3:38 am

This is a pretty low-level question. I'm not sure anyone will know the answer, but is there an upper-limit on the length of a message sent over a single SPI transfer? I'm seeing dropouts and they appear to occur close to the very suspicious message length of 512 bytes. I'm not yet sure if the error is on the OpenMV's sending side or the other device's receiving side, so I'm inquiring with both relevant project owners.

Thank you.
User avatar
kwagyeman
Posts: 2713
Joined: Sun May 24, 2015 2:10 pm

Re: SPI maximum message length

Postby kwagyeman » Sun Jan 20, 2019 12:57 pm

Hi, there was a bug that capped the length at 64k but that has been fixed and it's 2^32 bytes now. This is definitely fixed. It was discovered by a customer using a 320x240 LCD.
Nyamekye,
User avatar
kwiley
Posts: 82
Joined: Fri Dec 21, 2018 5:22 pm

Re: SPI maximum message length

Postby kwiley » Sun Jan 20, 2019 5:08 pm

Hmmm, but even 64k is huge compared to the problem I'm having. Okay, I'll assume it isn't originating on the OpenMV side of the connection then. Thanks.

Return to “Technical Discussion”

Who is online

Users browsing this forum: Google [Bot] and 3 guests