03-02-2012 03:57 PM
I'm new to the sbRIO and trying to retarget the SPI Single Port Example for a sbRIO 9606. I am running into the following errors during the compile see attachment . I also ended up adding a lvFPgaScratchPad temporary register which I'm not quite sure how it became an option but it did allow me to compile to the errors shown.
I have the following I/O that should be connected in my design CLK = DIO15, CS = DIO13, and MOSI = DIO14 all outputs.
This is a SPI based variable resistor that is connected on the Mezzanine connector that I am able to read when and if it changes.
Any recommendations would be appreciated.
Thanks,
-SS
03-05-2012 10:06 PM - last edited on 04-15-2024 01:42 PM by Content Cleaner
Hi ShotSimon,
I have been looking into this issue and found a Discussion Forum with a similar issue.
It appears that the solution was to move all I/O operations inside of the single-cycle timed loops. Could you try implementing this and let me know how it goes.
Regards,
Josh B
03-09-2012 03:04 PM
03-12-2012 12:09 PM - last edited on 04-15-2024 01:42 PM by Content Cleaner
Hi,
I do not know what that register is being created for in your code. These registers are often used for creating look up tables or other applications where memory speed is important.
Let me know if this is useful.
Regards,
Josh Brown