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.

CC1110-CC1111: Two way link between two cc1110 one as master and slave

Part Number: CC1110-CC1111


 I am trying to connect two CC1110 via a two way audio link ,my packet size is 80 Bytes audio data and the total packet size transmitted is 113 Bytes.I sample at 8khz rate and the TX frequency is 100 Hz.I am using a Realtek chip as the audio codec via I2S interface .I have a problem of syncing the Master and Slave devices. I have read the "Application Note AN082"  and still i can't figure out what is wrong with my setup.When I manually correct the frametime using hardware buttons activating both   I2SCLKF1 = 0x57 and  I2SCLKF1 = 0x59 respectively  it works perfectly fine .

Using the working examples of the two way audio link code i got  these lines of code ;

if ((frametime > 0x80) && (frametime < 0x9C)) // if in the so called 'bad zone'

{I2SCLKF1 = 0x57; // speed up the I2S bit clock}

if ((frametime > 0x10) && (frametime < 0x5F)) // if in the so called 'good zone' 
{I2SCLKF1 = 0x59;}

How will I be able to find the values of the "frametime " for my specific packet size and data rate is there any mathematical formula for generating the values and i'm using the same master slave architecture as the Two way audio link example code that you provide .Any help will be greatly appreciated please help me..

  • Jack,

    I am not sure we are going to be able to help here, this appnote is very old and the folks that wrote it are not longer with the company. The only thing I remember when talking with them is that the system is sensitive to clock spreading between the transmitter and the receiver.

    Regards,
    /TA
  • How can I overcome the issues with the spreading clock between master and slave ?,In my case 50ms speed up (I2SCLKF1 = 0x57) would bring the speech quality .I can't figure out when to speed up the i2s clock and when to be at normal is speed.How will I be able to sync both clocks?