Sign in

username:

password:



Not a member?

Search motoroladsp



Search tips

Subscribe to motoroladsp



motoroladsp by Keywords

56303 | 563xx | 5680 | 56805 | 5680x | 56F80 | 56F800DEMO | 56F805 | 56f807 | 56F830 | ADC | Bootloader | Codec | CodeWarrior | CW5 | CW6 | Debugger | DSP56303 | DSP56303EVM | DSP563xx | DSP5680 | DSP56800 | DSP56807 | DSP56858 | DSP56858EVM | DSP56F803 | DSP56F805 | DSP56F807 | DSP56F80x | DSP56F826 | DSP56F827 | DSP56F8xx | EVM | FFT | Flash_over_jtag | GPIO | Interrupt | Interrupts | JTAG | LCD | Linker | MCF5307 | Metrowerks | Modulus | MSCAN | PCMaster | PWM | Quad | Rif | RTOS | SDK | SPI

Ads

Discussion Groups

Discussion Groups | Freescale DSPs | SSI interface to codec on 56F827 EVM board

Technical discussions about Freescale (Motorola) DSPs (including the DSP56000, DSP56300, DSP56600, 56800 DSPs).

  

Post a new Thread

SSI interface to codec on 56F827 EVM board - Lee - Jan 29 21:16:00 2004



Hi. I have 2 questions regarding using the I2S protocol with the SSI
for the 827 EVM board. First, does anyone have any sample code for
configuring and running the SSI port and the CS4218 codec in I2S
mode? I'd appreciate a look at anything similar anyone's done.

Secondly, I want to run the port at a 48khz frame rate. The data book
seems to indicate I have to set the clock rate to some unusual value.
Does anyone know if there's a way to do this running at 80MHz (40MHz
IP-Bus)?

Thanks,

Lee





(You need to be a member of motoroladsp -- send a blank email to motoroladsp-subscribe@yahoogroups.com )

Re: SSI interface to codec on 56F827 EVM board - Kenneth Ciszewski - Jan 29 22:50:00 2004

I did a similar thing with a 56009 a few years ago.  One way to get to 48 KHZ is to use a low frequency input clock (12 MHz as an example--there are other possible values), then multiply it up for the 80 MHZ and also divide it down for the 48 KHZ.
 
One caution--if there is a phase lock loop mulitplier involved in the DSP and the CODEC IC you are using requires both a serial clock and a state machine clock to drive it, you probably should not use the DSP to generate the serial clock internally, as it will likely be out of phase with any externally derived state machine clock.  Some CODECs shut off their audio outputs if the two clocks are not in sync, because, if  they are not, the audio is not decoded properly and would come out as high intensity white noise, which might damage amplifiers, speakers , and the ears of listeners (imagine ocean surf at 120 dB!!).  All clocks for a codec should be derived from a single high frequency source and divided down by a divider (like HC4040) to get in-phase inputs.

Lee <l...@bigfoot.com> wrote:
Hi. I have 2 questions regarding using the I2S protocol with the SSI
for the 827 EVM board. First, does anyone have any sample code for
configuring and running the SSI port and the CS4218 codec in I2S
mode? I'd appreciate a look at anything similar anyone's done.

Secondly, I want to run the port at a 48khz frame rate. The data book
seems to indicate I have to set the clock rate to some unusual value.
Does anyone know if there's a way to do this running at 80MHz (40MHz
IP-Bus)?

Thanks,

Lee



_____________________________________
/groups.php3


Yahoo! Groups Links
  • To





(You need to be a member of motoroladsp -- send a blank email to motoroladsp-subscribe@yahoogroups.com )