Search found 8 matches

by Nake350
Sun Apr 14, 2024 1:21 pm
Forum: Projects - Embedded
Topic: SPI_ Master SendByteArray only sending once in loop
Replies: 5
Views: 149

Re: SPI_ Master SendByteArray only sending once in loop

Thank you for your responses.
It turns out I should have set the array as a constant.
Once set as a constant it sends to SPI every time as needed.

Best regards..
by Nake350
Thu Apr 11, 2024 10:15 pm
Forum: Projects - Embedded
Topic: SPI_ Master SendByteArray only sending once in loop
Replies: 5
Views: 149

Re: SPI_ Master SendByteArray only sending once in loop

Hi, and thank you both for your replys and info. What you are saying makes sense, but as far as I can see I am sending a variable every loop, so I was expecting the send buffer will be updated my variable every loop? My 1 second loop simply contains; SPI MASTER 1:Enable_CS() SPI MASTER SendByteArray...
by Nake350
Tue Apr 09, 2024 10:03 pm
Forum: Projects - Embedded
Topic: SPI_ Master SendByteArray only sending once in loop
Replies: 5
Views: 149

SPI_ Master SendByteArray only sending once in loop

Im using FC10 and trying to send an 8 Byte Array every second using a loop, but its only sending the array contents correctly on the first loop with all following sends being zeros, i.e an empty array. What am I doing wrong?

Thank you
by Nake350
Thu Nov 25, 2021 10:13 pm
Forum: General
Topic: SPI Decode error/ out of sync?
Replies: 3
Views: 1685

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 s...
by Nake350
Tue Nov 16, 2021 9:02 pm
Forum: General
Topic: SPI Decode error/ out of sync?
Replies: 3
Views: 1685

SPI Decode error/ out of sync?

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

Nick.
by Nake350
Sat Nov 06, 2021 9:22 pm
Forum: General
Topic: SPI read difficulty
Replies: 2
Views: 1418

SPI read difficulty

I'm trying to read status of an Si4455 wireless module using SPI, but getting no response. I suspect it's to do with my SPI clock stopping after the request for info is sent on the MOSI line (0x44), but the Slave appears to need the clock kept running whilst it sends back an answer? SPI out SPI_Capt...
by Nake350
Sun Oct 31, 2021 10:01 pm
Forum: General
Topic: How to send array of hex to SPI MOSI?
Replies: 3
Views: 1587

Re: How to send array of hex to SPI MOSI?

Many thanks for your help Martin, Yes, I'm using FC9, but without sounding too dumb, what feature do you mean to create an array and enter values in please? I am trying with 'SendByteArray' macro, with data BYTE being a variable with values added as you stated (which is now being accepted without sy...
by Nake350
Sun Oct 31, 2021 9:03 pm
Forum: General
Topic: How to send array of hex to SPI MOSI?
Replies: 3
Views: 1587

How to send array of hex to SPI MOSI?

I need to send configuartion info to a SiLabs wireless transiever by SPI, but not sure how to send such an array of numbers in a sequential stream. I am using the SPI macro in other parts of the project for simple variables with good results. The C code created by the Wireless transiever configurati...