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.

Using DAVINCI_AUDIO_WORD_8 mode

Hi Pavel,

In our project,we need use DAVINCI_AUDIO_WORD_8 mode.Also I set timeslot to 32,one tx and one rx.

And I use internel clock(bclk 2.048MHz,fsclk 8KHz).

 Debugging process:(set tx and rx loopback)

1.send data 0x00 to 0x1f,but can not receive all the data.

send :

receive:

2 modify the code:

In function davinci_config_channel_size():

 switch (channel_size) {
 case DAVINCI_AUDIO_WORD_8:
  fmt = 0x03;
  rotate = 6;
 // mask = 0x000000ff;
  txmask=0x00ff0000;
  rxmask=0x000000ff;

  break;

In this case,we can recieve data,but the data is not same as we send.

send :

 

receive:

We can see for the figure,0C,0D,1C and 1D are missing.

I have tried many times,but all failed.

would you give me some suggestions?

Thank you very much.

BR

Bob