SPI Decode error/ out of sync?

For general Flowcode discussion that does not belong in the other sections.
Post Reply
Nake350
Posts: 8
http://meble-kuchenne.info.pl
Joined: Tue May 11, 2021 10:53 pm
Has thanked: 3 times
Been thanked: 1 time

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 2341 times
Thanks and best regards,

Nick.

BenR
Matrix Staff
Posts: 1895
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 491 times
Been thanked: 664 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: 8
Joined: Tue May 11, 2021 10:53 pm
Has thanked: 3 times
Been thanked: 1 time

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: 1895
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 491 times
Been thanked: 664 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