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.

TMS570LS1224: TI-FEE driver Read function sync or async?

Part Number: TMS570LS1224
Other Parts Discussed in Thread: HALCOGEN

Hi,

The information on FEE read function is ambiguous. In the TI FEE user guide you write that it is a synchronous function and in Halcogen you have the following information:

TI_Fee_Read():  This function performs the Read operation on the Block.It initializes the pointers.Complete read of the block will happen in TI_Fee_MainFunction. 

There is also a TI_Fee_ReadSync() function which is supposed to be the real sync function.

Please clarify this issue as I am totally confused.

  • Hello,

    Asynchronous read will initiate a read job and exits it.TI_Fee_MainFunction() should be called to complete the asynchronous read.
    Synchronous Read API when called will complete the requested read job before exiting ( you don't need to call TI_Fee_MainFunction() ).

    You can use either of them in your application.

  • Hi Miro,

    So there is an error in the TI FEE User Guide in chapter 4.10.1.4 "Read Function (TI_Fee_Read)" where it is written that it is a synchronous function.

    What is the main advantage in having both sync and async versions? Is the read operation so time consuming that one may want to do other things in the meantime?

    Best Regards,

    R.

  • Hello,

    Fee_WriteSync does not require extra calls. It stays until complete and other operations on the device will be on hold. The advantage of one over the other is that while an Async write is ongoing the device and perform other tasks as well where the sync takes up the primary CPU operating time to fully complete the task upon request (i.e., no background operation).

    May be you are looking at older revision. You can find TI FEE Driver user guide under HALCoGen docs folder.

  • Thank you for the hint on documentation location. I was referring to the following one:

    http://processors.wiki.ti.com/images/8/88/TI_FEE_User_Guide.pdf

    The version in the Docs folder of Halcogen is indeed saying that TI_Fee_Read function is asynchronous.

    Best regards,

    Ritchie