‎07-22-2008 01:37 PM
‎07-25-2008 11:40 AM
Hi,
I believe the behavior you are seeing is relatively expected. This example does not make an attempted to have things super synchronized. For example: inside the main VI there is a subVI called Device Single Word ReadWright. The last thing this subVI does is disable the SPI and thus it has to be enabled the next loop iteration. This example is probably not optimized to do exactly what you want. You will probably need to come up with some buffering scheme of your own. To see how the buffers are set up in this example you can open up the SPI Action.vi.
‎07-28-2008 03:10 PM
‎07-29-2008 03:50 PM
‎07-29-2008 04:01 PM
‎11-11-2008 08:38 AM
Hi Charlie M,
In a previous post on this thread, you mention that the Device Single Word ReadWrite.vi found in the SPI and UART example is not optimized at all. Do you (or does anyone else) have any example code that is optimized? I'm seeing a delay when running SPI Transactions in a loop, but when I get rid of the Enable/Disable of the SPI Device it runs faster but returns incorrect data. I've been experimenting with using the BF Device Wait Buffer.vi, but to no avail.
Thanks!
‎11-12-2008 11:58 AM
Hi jmburns,
Unfortunately, we do not the example code you are looking for. Perhaps another forum user may have optimized code that they are willing to post.
Regards,
Kevin H