From: Frank Livingston Date: Wed, 1 Mar 2017 22:17:22 +0000 (-0600) Subject: Build #38: remove GPIO debug X-Git-Url: https://git.ti.com/gitweb?p=processor-sdk%2Fperformance-audio-sr.git;a=commitdiff_plain;h=25ee15eabec9f1c4ed0ae37f0d75dd0030ce6162 Build #38: remove GPIO debug --- diff --git a/pasdk/test_arm/framework/audioStreamDecodeProc.c b/pasdk/test_arm/framework/audioStreamDecodeProc.c index 3ed8e148..12c4e8b6 100644 --- a/pasdk/test_arm/framework/audioStreamDecodeProc.c +++ b/pasdk/test_arm/framework/audioStreamDecodeProc.c @@ -754,7 +754,7 @@ Void taskAsdpFxn( } TRACE_TERSE0("Dec:cbWriteAf() complete"); -#if 1 // (***) FL: shows timing of CB write +#if 0 // (***) FL: shows timing of CB write // (***) debug // B9 { static Uint8 toggleState = 0; diff --git a/pasdk/test_dsp/framework/audioStreamInpProc.c b/pasdk/test_dsp/framework/audioStreamInpProc.c index 2f2a85ea..bf595044 100644 --- a/pasdk/test_dsp/framework/audioStreamInpProc.c +++ b/pasdk/test_dsp/framework/audioStreamInpProc.c @@ -2962,7 +2962,8 @@ PAF_ASIT_decodeInfo( capIb(pAstCfg->xInp[zMI].pInpBuf); gCapIb_cnt++; -#if 1 // (***) FL: shows timing of Input Rx SIO reclaim after decoding has started (autodet complete) +#if 0 // (***) FL: shows timing of Input Rx SIO reclaim after decoding has started (autodet complete) + // (***) debug // B5 { static Uint8 toggleState = 0; if (toggleState == 0) diff --git a/pasdk/test_dsp/framework/audioStreamOutProc.c b/pasdk/test_dsp/framework/audioStreamOutProc.c index e5357406..3cbf034f 100644 --- a/pasdk/test_dsp/framework/audioStreamOutProc.c +++ b/pasdk/test_dsp/framework/audioStreamOutProc.c @@ -1998,7 +1998,7 @@ PAF_ASOT_decodeEncode( } // TODO: use pC->xOut[z].pOutBuf in following ->encode call -#if 1 // (***) FL: shows timing of Input Rx SIO reclaim after decoding has started (autodet complete) +#if 0 // (***) FL: shows timing of Input Rx SIO reclaim after decoding has started (autodet complete) // (***) debug // B8 { static Uint8 toggleState = 0; diff --git a/pasdk/test_dsp/mib/mib.c b/pasdk/test_dsp/mib/mib.c index 7d45ac30..00e53a25 100644 --- a/pasdk/test_dsp/mib/mib.c +++ b/pasdk/test_dsp/mib/mib.c @@ -290,6 +290,9 @@ static const MdUns iecFrameLength[23] = #define min(a, b) (((a) < (b)) ? (a) : (b)) #define max(a, b) (((a) > (b)) ? (a) : (b)) +// FL: (***) debug +#include "evmc66x_gpio_dbg.h" + // ----------------------------------------------------------------------------- inline void IncrementPtr (PAF_InpBufConfig *pBufConfig, Ptr *pPtr, int numWords) @@ -976,11 +979,23 @@ Int DIB_getSync (DEV2_Handle device, PAF_InpBufConfig *pBufConfig ) if (status) return status; +#if 0 // (***) FL: shows timing of Input Rx SIO reclaim during autodet + // (***) debug // B5 + { + static Uint8 toggleState = 0; + if (toggleState == 0) + GPIOSetOutput(GPIO_PORT_0, GPIO_PIN_99); + else + GPIOClearOutput(GPIO_PORT_0, GPIO_PIN_99); + toggleState = ~(toggleState); + } +#endif + // get next block of data to scan status = DIB_FTABLE_waitForData (device, pBufConfig, syncBufSize); if (status) return status; - + // this function updates the tail pointer status = DIB_FTABLE_syncScan (device, pBufConfig, &timeout); if (status)