SPI Decode error/ out of sync?

For general Flowcode discussion that does not belong in the other sections.
Post Reply
Nake350
Posts: 5
http://meble-kuchenne.info.pl
Joined: Tue May 11, 2021 10:53 pm

SPI Decode error/ out of sync?

Post by Nake350 »

I'm trying to decode SPI, but can't get it to read in sync with the clock bits for the byte.
Is there a setting to adjust for this please?
SPI Decode.JPG
SPI Decode.JPG (70.89 KiB) Viewed 1602 times
Thanks and best regards,

Nick.

BenR
Matrix Staff
Posts: 1706
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 435 times
Been thanked: 598 times

Re: SPI Decode error/ out of sync?

Post by BenR »

Hello,

Please can you post your project file and I'll take a look for you.

Nake350
Posts: 5
Joined: Tue May 11, 2021 10:53 pm

Re: SPI Decode error/ out of sync?

Post by Nake350 »

Hello Ben,

I'm sorry I was not aware you had posted until speaking to Alfie today.

Not sure sharing the project will help as I am simply measuring SPI data to and from an external Silicon labs radio chip by ghost on a E-Blocks 2 board.

Measuring with an external logic analyser is fine.

Are the any settings/ pointers you can guide me too look for?

Thanks and best regards,

Nick.

BenR
Matrix Staff
Posts: 1706
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 435 times
Been thanked: 598 times

Re: SPI Decode error/ out of sync?

Post by BenR »

Hi Nick,

Try adjusting the SPI component properties, e.g. things like the clock phase, polarity and sample point will effect how the incoming data is interpreted.

Post Reply