AnsweredAssumed Answered

ADSP-21479 Slow shutoff for SPORT SCLK

Question asked by col on May 19, 2011
Latest reply on Jun 21, 2011 by DeepV

I am switching the SPORT0 off and on at a rate of 64KHz.  When disabling the SPORT, the SPORT_SCLK has a very slow off time as shown in the attached picture. 

 

My SRU configuration for SPORT0 is as follow (as recommended in the ADSP-214xx Sharc Processor Hardware Reference Rev 0.3 Page 10.7):

SRU(SPORT0_CLK_O, DAI_PB18_I);
SRU(SPORT0_CLK_O, SPORT0_CLK_I);
SRU(SPORT0_CLK_PBEN_O,DAI_PBEN18_I);

SRU(SPORT0_FS_O, DAI_PB08_I);
SRU(SPORT0_FS_O, SPORT0_FS_I);
SRU(SPORT0_FS_PBEN_O,DAI_PBEN08_I);
 
SRU(DAI_PB04_O, SPORT0_DA_I);  // CONNECT DAI_P03 PIN (INPUT) TO SPORT1 DA
SRU(LOW,DAI_PB04_I);
SRU(LOW,DAI_PBEN04_I);        // disables DPI pin10 as input

 

The SPORT_SCLK does not exit bit the slow turn off when I configure the SRU as follow:

SRU(SPORT0_CLK_O, DAI_PB18_I);
SRU(HIGH,DAI_PBEN18_I);

SRU(SPORT0_FS_O, DAI_PB08_I);
SRU(HIGH, DPI_PBEN08_I);

 

SRU(DAI_PB04_O, SPORT0_DA_I);  // CONNECT DAI_P03 PIN (INPUT) TO SPORT1 DA
SRU(LOW,DAI_PB04_I);
SRU(LOW,DAI_PBEN04_I);        // disables DPI pin10 as input

 

However, I am getting core hang with this configuration.

 

Any advice?  Also, is it OK (no damage to the hardware) to switch the SPORTx on and off as what I am doing?  The reason I'm switching the SPORT on then off is I only want the SPORT_SCLK on during sampling the data and off otherwise.

 

Thank You,

Attachments

Outcomes