Help With audio Codec CS4218 from DSP56852EVM

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Help With audio Codec CS4218 from DSP56852EVM

1,481 次查看
Elrias
Contributor I
Hi, I'm using de DSP56852EVM and I'm trying to make a test of the audio codec CS4218 on board, to make this test I'm usin the CodeWarrior 8.2.2 using the Processor Expert to make things easy, my goal is to read input audio signal from the line in on the the board, and the same signal write it to the line Out, to test the audio codec.

I have cofigured a PLL clock to IPbus = 59.904 Mhz, well the rest of the configuration the PE did it.

The generated code from de Read method:

/*** ===================================================================**     Method      :  SAC1_Read (bean Audio_Codec_CS4218)****     Description :**         This method reads data from the SSI interface.**     Parameters  :**         NAME            - DESCRIPTION**       * pBuffer         - Pointer to the block of**                           received data**         nBytes          - Size of the block in bytes**       * Rcv             - Pointer to real number of the received**                           data**     Returns     :**         ---             - This method returns error codes from**                           ReciveBlock method of inherited**                           FreescaleSSI bean.** ===================================================================*/byte SAC1_Read(const void* pBuffer,word nBytes,word *Rcv){  byte        err;  word        Bytes;  UWord16     SamplesRead = 0;  word        NumSamplesReq = nBytes >> 1;  if(!EnUser) SAC1_Enable();  do  {    err = Inhr1_RecvBlock((word*)pBuffer+SamplesRead,                                     NumSamplesReq-SamplesRead,                                     &Bytes);    SamplesRead += Bytes;  } while(SamplesRead < NumSamplesReq);  *Rcv = SamplesRead << 1;  return err;}
 
what values i should introduce on this method?, o what do I have to do






标签 (1)
标记 (1)
0 项奖励
回复
1 回复

519 次查看
trytohelp
NXP Employee
NXP Employee
Hi,
 
I suggest you to log your request to the Freescale CRM system.
Please use Freescale on line support web page.
  - Go to following URL: http://www.freescale.com/TechSupport
  - Click on Submit a Service Request to create a new one or Manage Existing Service Request.
  - You will come to a login page.
  - You can submit your request through the web from there or view the activities of a SR.
I think the DSC hardware team could help.
 
Regards
Pascal
0 项奖励
回复