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