Technical discussions about the TI C28x DSPs (including the C2810, C2811, C2812, F2801, F2806, F2808, F2810,, F2811, F2812, R2811 and R2812).
Hi,
I am using TI's TMS320F2812 DSP controller.
When I tried McBSP in Digital Loopback mode without compression, it is
working fine.
But the problem arises when I am trying to compand the data. For that I am
doing the following settings.
***********************************************************************************************
************************************
SPCR1 = 0x8000 //digital loopback mode enabled
RWDLEN2=000b //corresponding to Wordlength of bits
RWDLEN1=000b //corresponding to Wordlength of bits
XWDLEN2=000b //corresponding to Wordlength of bits
XWDLEN1=000b //corresponding to Wordlength of bits
XCOMPAND=10b //Selects the u-Law companding at Transmitting side
RCOMPAND=10b //Selects the u-Law companding at Receiving side
***********************************************************************************************
************************************
I am not able to get the data that I am transmitting. Is there anything else
that I am missing out somewhere?
--
With Regards,
OST
You can post a message or access and search the archives of this group on DSPRelated.com:
http://www.dsprelated.com/groups/c28x/1.php
_____________________________________