hello all,
I want to execute an atomic transaction in serial rapid io, so please can someone help me to do it
thanks,
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
hello all,
I want to execute an atomic transaction in serial rapid io, so please can someone help me to do it
thanks,
Please look through the SRIO User's Guide, sprug23, searching for the keyword "atomic". You will find a section describing the Atomic operations and tables showing the use of the Atomic operation types in place of other transaction types, like NREAD.
I have not seen example code for doing Atomic operations, although I am sure someone has done it before.
But the descriptions in the User's Guide should provide you with the information you need to change an NREAD SRIO command into an Atomic Set command, for example.
My recommendation is to search for the CSL or DIOlib examples for doing an NREAD, then modify that to change it to an Atomic operation. If you search the Wiki and these forum pages, you will find some example code or links to them.
Thank you very much for you ansewer,
Just i want to inform you that i have work with the CSL library, now i will do my communication betwen two DSPs with DIO library (i saw the atomic transaction inside it), and i dont have exactly the idea to insert this library instead the CSL library.
Cordially.
Please search the Wiki and these forum pages for "DIOlib" and "DIO library". You will find discussions on use of this helpful library, high-level descriptions of the components of this library, and the link to download this library. Within the DIOlib download are test modules which you can use as starting projects.
Have you found the DIOlib and have you been able to use the examples to transfer data?
In the Training section of TI.com, there is a training video set for the C6474. It may be helpful for you to review some of the modules even though they are tailored to the C6474. But in particular, the SRIO Module will apply to your current questions. You can find the complete video set at http://focus.ti.com/docs/training/catalog/events/event.jhtml?sku=OLT110002 .
yes thank you very much, i found the library, i found what i want, and i work as the above
thanks