Hi to all
i success to run TSIP example (TSIP_evmc6678_c66exampleProject from pdk_c667x_2_0_0) on c6678 EVM and receive correct data in TSIP receive buffer (in linear mode) but when i try to using A-law hardware Companding , receive only 0 and 0x80 .
config change from linear mode to A-law :
in TSConfig_Enable() function:
ctl->compand = CSL_TSIP_TIMESLOT_ALAW;
//EA: CSL_TSIP_TIMESLOT_LINEAR -> CSL_TSIP_TIMESLOT_ALAW
in tsipConfig() function
sizeCfg->wordSize = 16;//EA: 8 -> 16
in tsip_cfg.h
* @def TSIP_ELEMENT_BUF_SIZE * The number of bytes allocated for each timeslot in the dma buffer. * Set to 1 unless hardware companding is used */ #define TSIP_ELEMENT_BUF_SIZE 2 //EA:for A-law 1->2
i can't find example or sufficient API document about this feature. anybody can guide me how to use hardware compading in TSIP ?
thanks
Ebi