NOTICE: The Processors Wiki will End-of-Life on January 15, 2021. It is recommended to download any files or other content you may need that are hosted on processors.wiki.ti.com. The site is now set to read only.

DA8xx Delay Customization

From Texas Instruments Wiki
Jump to: navigation, search

Introduction[edit]

This page talks about customization of Speaker Location delay in PA/F.

Procedure[edit]

Definition of Channel Number[edit]

 PAF_LEFT            0
 PAF_RGHT            1
 PAF_CNTR(PAF_LCTR)  2
 PAF_RCTR            3
 PAF_WIDE(PAF_LWID)  4
 PAF_RWID            5
 PAF_OVER(PAF_LOVR)  6
 PAF_ROVR            7
 PAF_SURR(PAF_LSUR)  8
 PAF_RSUR            9
 PAF_BACK(PAF_LBAK) 10
 PAF_RBAK           11
 PAF_SUBW(PAF_LSUB) 12
 PAF_RSUB           13
 PAF_HEAD(PAF_LHED) 14
 PAF_RHED           15

Editing T:\pa\cust\vender\c999\d1\ipce_cus.c[edit]

  • Set initial values
 #define IPCE_DELAY_NUMCHAN 8            /* The number of delay channels */
 #define IPCE_PARAMS_STATUS_DELAY_CUS \
   0, /* unused */ \
   1, /* unit */ \
   PAF_MAXNUMCHAN, IPCE_DELAY_NUMCHAN, /* numc, nums */ \
   0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* Default valule of each delay */ \
   0, /* Default value of masterDelay */
 const IPCE_ConfigPhaseVolume IPCE_PARAMS_CONFIG_PHASE_VOLUME_CUS = {
   sizeof(IPCE_ConfigPhaseVolume),
   -2*40,      /* Default volume */
 };
 /* Here is max delay time (ms) at XkHz SF.
    ex 200ms @ 192kHz = 200*192
 */
 #define IPCE_DELAY_LEFT 250*192
 #define IPCE_DELAY_RGHT 250*192
 #define IPCE_DELAY_CNTR 250*192
 #define IPCE_DELAY_LSUR 250*192 
 #define IPCE_DELAY_RSUR 250*192
 #define IPCE_DELAY_LBAK 250*192
 #define IPCE_DELAY_RBAK 250*192
 #define IPCE_DELAY_SUBW 250*192
 #define IPCE_DELAY_TOTAL        \
 (IPCE_DELAY_LEFT + IPCE_DELAY_RGHT + IPCE_DELAY_CNTR + IPCE_DELAY_LSUR + IPCE_DELAY_RSUR + IPCE_DELAY_LBAK + IPCE_DELAY_RBAK + IPCE_DELAY_SUBW) 
 #define IPCE_DELAY_ESIZE 3     /* delay sizeofElement: packed 24 bits */ 
 #define IPCE_DELAY_FSIZE 256   /* delay sizeofFrame: 256 samples */ 
 /* Add all channels that you use */
 const PAF_DelayState IPCE_PARAMS_CONFIG_PHASE_DELAYSPEC_CUS[] = {
   0, 0, IPCE_DELAY_LEFT, 0, NULL, 0, 
   0, 0, IPCE_DELAY_RGHT, 0, NULL, 0, 
   0, 0, IPCE_DELAY_CNTR, 0, NULL, 0, 
   0, 0, IPCE_DELAY_LSUR, 0, NULL, 0, 
   0, 0, IPCE_DELAY_RSUR, 0, NULL, 0, 
   0, 0, IPCE_DELAY_LBAK, 0, NULL, 0, 
   0, 0, IPCE_DELAY_RBAK, 0, NULL, 0,
   0, 0, IPCE_DELAY_SUBW, 0, NULL, 0, 
 };
 /* Add channel masks that you use */ 
 const IPCE_ConfigPhaseDelay IPCE_PARAMS_CONFIG_PHASE_DELAY_CUS = {
   sizeof(IPCE_ConfigPhaseDelay) + IPCE_DELAY_NUMCHAN * sizeof(PAF_DelayState), 
   (1<<PAF_LEFT)|(1<<PAF_RGHT)|(1<<PAF_CNTR)|(1<<PAF_LSUR)|(1<<PAF_RSUR)|(1<<PAF_LBAK)|(1<<PAF_RBAK)|(1<<PAF_SUBW), 
   IPCE_DELAY_ESIZE,
   (PAF_DelayState *)IPCE_PARAMS_CONFIG_PHASE_DELAYSPEC_CUS,
 };

Editing T:\pa\cust\vender\c999\d1\y13\patches.c[edit]

extern const IPCE_Params IPCE_PARAMS_CUS; const PAF_ASP_LinkInit encLinkInitY13[] = {

   PAF_ASP_LINKINITPARAMS (STD, PCE, TII, &IPCE_PARAMS_CUS),
   PAF_ASP_LINKNONE,

};};

E2e.jpg {{
  1. switchcategory:MultiCore=
  • For technical support on MultiCore devices, please post your questions in the C6000 MultiCore Forum
  • For questions related to the BIOS MultiCore SDK (MCSDK), please use the BIOS Forum

Please post only comments related to the article DA8xx Delay Customization here.

Keystone=
  • For technical support on MultiCore devices, please post your questions in the C6000 MultiCore Forum
  • For questions related to the BIOS MultiCore SDK (MCSDK), please use the BIOS Forum

Please post only comments related to the article DA8xx Delay Customization here.

C2000=For technical support on the C2000 please post your questions on The C2000 Forum. Please post only comments about the article DA8xx Delay Customization here. DaVinci=For technical support on DaVincoplease post your questions on The DaVinci Forum. Please post only comments about the article DA8xx Delay Customization here. MSP430=For technical support on MSP430 please post your questions on The MSP430 Forum. Please post only comments about the article DA8xx Delay Customization here. OMAP35x=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article DA8xx Delay Customization here. OMAPL1=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article DA8xx Delay Customization here. MAVRK=For technical support on MAVRK please post your questions on The MAVRK Toolbox Forum. Please post only comments about the article DA8xx Delay Customization here. For technical support please post your questions at http://e2e.ti.com. Please post only comments about the article DA8xx Delay Customization here.

}}

Hyperlink blue.png Links

Amplifiers & Linear
Audio
Broadband RF/IF & Digital Radio
Clocks & Timers
Data Converters

DLP & MEMS
High-Reliability
Interface
Logic
Power Management

Processors

Switches & Multiplexers
Temperature Sensors & Control ICs
Wireless Connectivity