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.

TMS320C6746: Using the VOLIB ECU module

Part Number: TMS320C6746

Hi

I am trying to activate the ECU module on the C6746 DSP, I use VOLIB 2.1.0.1.

after reading the ECU.pdf doc, and some of the post on e2e I still have some questions:

1. Do you have a simple code example that I can use to configure this module. in the ecu directory there is the test simulator code but it will be more helpful to have the main function call: getSize,new,open,sendIn.

2. In the simulation code and in code that I saw in e2e posts, there is a call to ecuGetSizes, allocating the memory buffer and calling new. but in all those example code buffer 1-6 and 14 are not allocated according to the ecu get size result. can i use the information from ecuGetSizes to allocate the buffers for buffers 1-6 and 14 or not. does the ecuGetSizes return byte size buffer or size according to buffer type for example size*sizeof(Fract)

3. I run the code and I didnt see any change sendIn buffer and out buffer are the same- the EC is not working. after reading the version using ecuGetPerformance I can see that for ecu library the compression is active, and for ecu16 library the compression is disable but the wide band 16khz is activated. we use linear sample 8k sample/sec in the receive in buffer, can I compile the code to use linear pcm if so how?.

4. If the compilation of this module is not possible, do i need to give the ecuSendIn function an alaw/u-law samples in the receiveIn buffer?

Best Regards

Ilan 

  • Ilan,

    This library is in maintenance mode currently as the last release for the software was done in 2013. All of the examples and software documentation for this library is part of the installer and archived in the links provided here:
    processors.wiki.ti.com/.../Software_libraries

    the only new development that I am aware of using this library is in the beam forming speech demo described below: (doesn`t use ECU module)
    processors.wiki.ti.com/.../Processor_SDK_RTOS_Audio_Pre-Processing

    I can try to reach out to the developers and ask them to comment on your query but the response is likely to be slow.

    Regards,
    Rahul
  • Hi
    I Activated the ECU module :
    - I allocated memory according to the ecuGetSize returned size in bytes
    - I use muaTblAlawCmpr to compresses the linear receiveIn to a-low and use it for the ecuSendIn function
    the echo was removed but after some times returned again (several seconds to several minutes after activation)
    I notes that the only flag that enable or disabled echo was the ecu_ENABLE_NLP flag.
    when I activated the ECU with ecu_ENABLE_ECHO_CANCELLER and ecu_ENABLE_NLP flag only, the echo was removed correctly (all the time)
    If I understand correctly, it seems that the filter update of the echo cancelling do not work correctly, only the NLP filter work correctly and remove completely the echo in my system. So currently I use the NLP only as it solve my problem.
    I advice to you to check that the the main echo cancelling parts (filter updates) work as well. I have seen another post with similar description in:

    e2e.ti.com/.../1386860

    Best regards
    Ilan