2008-09-23 04:37:19     How to enhance BF531/BF33 G729a encodeing efficiency?

Document created by Aaronwu Employee on Aug 7, 2013
Version 1Show Document
  • View in full screen mode

2008-09-23 04:37:19     How to enhance BF531/BF33 G729a encodeing efficiency?

Bill Xie (CHINA)

Message: 62543   

 

I use BF531/BF533+ulinux libbfgdots 729a to encode Voice data.It take

2.1ms(measured by oscillograph ) to encode PCM voice data(20ms,length 160 short

) .If I want to run 8 channels(8*2.1ms), processor is not enough resoure to

deal with other programs.

How to enhance BF531/BF33 G729a encodeing efficiency?

QuoteReplyEditDelete

 

 

2008-09-23 06:49:38     Re: How to enhance BF531/BF33 G729a encodeing efficiency?

Robin Getz (UNITED STATES)

Message: 62550   

 

Bill:

 

Which chip are you testing on? 531 or 533?

 

The tests we have done say it is easy to run 8 channels (while Asterisk is running) on a 533 (putting some critical data into L1 SRAM

 

-Robin

QuoteReplyEditDelete

 

 

2008-09-23 21:44:56     Re: How to enhance BF531/BF33 G729a encodeing efficiency?

Bill Xie (CHINA)

Message: 62590   

 

Robin:

 

    Thank you very much.we test both 531 and 533.My project use 531 chip.How to put data or text into L1 sram in 531.I test very simple program  from doc bf uclinux

 

   

 

#include <stdio.h>

 

__attribute__ ((l1_text))

void foo ()

{

    return;

}

 

int a __attribute__ ((l1_data_A));

 

int main(int argc, char *argv[])

{

    /* Due to FDPIC ELF, the address of foo is the address of the FDPIC entry

     * rather than the address of foo itself.

     */

    printf("foo=%p a=%p\n", ((int*)foo)[0], &a);

    return 0;

}

 

It cann't run in bf531 prompting not enough ram,but it is ok  runing in bf533 .In bf531  /proc/sram,Blackfin Scratchpad data SRAM: 4 KB, Blackfin Instruction SRAM: 16 KB (8 KB free).

QuoteReplyEditDelete

 

 

2008-09-23 23:35:37     Re: How to enhance BF531/BF33 G729a encodeing efficiency?

Mike Frysinger (UNITED STATES)

Message: 62594   

 

since you decided to purchase a BF531 instead of a BF533, you should already know the difference in on-chip memories.  read the datasheet for more information.

QuoteReplyEditDelete

 

 

2008-09-24 03:43:30     Re: How to enhance BF531/BF33 G729a encodeing efficiency?

Bill Xie (CHINA)

Message: 62599   

 

  Thank you for your answer,I know the difference the two chip.But I donn't kwnow how to improve BF531 G729a encodeing efficiency in 531 by L1 sram.

QuoteReplyEditDelete

 

 

2008-09-24 09:33:32     Re: How to enhance BF531/BF33 G729a encodeing efficiency?

Robin Getz (UNITED STATES)

Message: 62629   

 

Bill:

 

BF531 has no L1 data SRAM  to use - so there really isn't any way to improve performance on that chip. See:

 

https://docs.blackfin.uclinux.org/doku.php?id=bfin:cache#differences_between_l1_sram_and_cache

 

-Robin

QuoteReplyEditDelete

 

 

2008-09-24 21:45:54     Re: How to enhance BF531/BF33 G729a encodeing efficiency?

Bill Xie (CHINA)

Message: 62675   

 

Robin:

 

    Thank you.

Attachments

    Outcomes