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?
Thanks and best regards,
Nick.
SPI Decode error/ out of sync?
-
- Posts: 8
- http://meble-kuchenne.info.pl
- Joined: Tue May 11, 2021 10:53 pm
- Has thanked: 3 times
- Been thanked: 1 time
-
- 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?
Hello,
Please can you post your project file and I'll take a look for you.
Please can you post your project file and I'll take a look for you.
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Re: SPI Decode error/ out of sync?
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.
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.
-
- 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?
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.
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.
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel