Sign in

username:

password:



Not a member?

Search c3x



Search tips

Subscribe to c3x



c3x by Keywords

Boot | C31 | TMS320VC33 | VC33

Ads

Discussion Groups

Discussion Groups | TMS320C3x | SHARC serial port dai interferance

Technical discussions about the TI C3x DSPs (including the C31, C32 and C33 DSPs).

  

Post a new Thread

SHARC serial port dai interferance - omal...@gmail.com - Mar 10 5:45:00 2006



Hey,

Im working with an ADSP-21364 SHARC processor and EZKIT.

I have a problem when trying to integrate two programs that use the serial ports.

My first program is based on the "Block based talkthrough" example, SPORT0 is used to
take audio input from the ADC and SPORT2 is used to output the
processed audio to a DAC.  This stand-alone program functions correctly.

My second program implements a UART receive on serial port 3B, this is
based on the Eng-to-Eng note EE-191.  Bytes are received through DAI pin 5 and stored in a
buffer. This stand-alone program also functions correctly.

My problem comes when combining the two programs.     As the programs
use different
serial ports and different DAI pins I didn\\\\\\\\\\\\\\\'t think there would be a problem.

However when I combined the programs the audio processing works but the
UART receiver does not. (Some random data received, no correct data).
Through debugging I have traced the problem down to this line in the SRU config:

SRU(DAI_PB_07_O, DAI_PB_13_I);

When this line is commented out the UART receiver functions correctly
but the audio processing program stops outputting audio.

I understand that this SRU config statement is connecting the ADC clk
directly to the DAC clk, why would this interfere with my UART receive program?

Many Thanks,

Ronan O\\\\\\\\\\\\\\\'Malley
	


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