LPC1768 Speex Codec Example

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LPC1768 Speex Codec Example

798 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by ChuckSherman on Wed Sep 21 10:50:30 MST 2011
NXP provides App Note AN11085.  When I run the code on the Code Red
RDB1768v2r3 board the audio which is recorded does not properly play back.

Has anyone had success with this demo application?  Is the UDA1380 codec
functional in this example?

Here is the link to the NXP site:

http://ics.nxp.com/support/documents/microcontrollers/zip/an11085.zip

Thanks!
0 Kudos
Reply
2 Replies

702 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CLD on Wed Sep 28 14:10:34 MST 2011
Some news?
0 Kudos
Reply

702 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CLD on Fri Sep 23 06:02:41 MST 2011
Hi Chuck.

Are you facing a lot of noise?
It seems there's a problem with microphone capturing. When I configure UDA1380 to capture audio from LINE IN it works fine.
I faced the same problem with the example 'Audio Meter' provided by code_red. In this example LINE IN is used, but when I change to microphone the same issue appears.
My changes in Audio Meter are the following:
         // Power control - enable LNA
         vF_I2C_ClearBuffer();
         I2CWriteLength = 4;
         I2CReadLength = 0;
         I2CMasterBuffer[0] = UDA1380_ADDR;
         I2CMasterBuffer[1] = UDA1380_PWRCTL_02;
         temp = (1 << 13) | (1 << 10) | ( 1 << 8) | (1 << 7) | (1 << 6) | (1 << 4)
  | (1<<2) | (1 << 1) | (1<<0);
         I2CMasterBuffer[2] = (uint8_t) ((temp >> 8) & 0xff);
         I2CMasterBuffer[3] =(uint8_t)(temp & 0xff);
         I2CEngine();
   
         // ADC settings - switch decimator filter to MIC_IN, by seting SEL_LNA and
  SEL_MIC
         vF_I2C_ClearBuffer();
         I2CWriteLength = 4;
         I2CReadLength = 0;
         I2CMasterBuffer[0] = UDA1380_ADDR;
         I2CMasterBuffer[1] = UDA1380_ADCSET_22;
         temp = (1<<3) | (1<<2) | (1<<1) | (7<<8) | (1<<12);
         I2CMasterBuffer[2] = (uint8_t) ((temp >> 8) & 0xff);
         I2CMasterBuffer[3] =(uint8_t)(temp & 0xff);;
         I2CEngine();


I can't see any error im my configuration to microphone. I don't know with my board has a problem (I doubt it) or I couldn't set mic capturing properly.
Please, can you try this changes in AudioMeter ??
0 Kudos
Reply