processor-sdk/performance-audio-sr.git
4 years agoUpdate maximum number of CB AF entries from 2 to 3 for DDP, per PP update
Frank Livingston [Tue, 25 Jul 2017 01:48:15 +0000 (20:48 -0500)]
Update maximum number of CB AF entries from 2 to 3 for DDP, per PP update
for PASDK-326,CID=bc77631. This fixes DDP ch0 glitches.

4 years agoPASDK-218:Update OARI submodule for 96 kHz obj-audio
Frank Livingston [Mon, 24 Jul 2017 18:12:32 +0000 (13:12 -0500)]
PASDK-218:Update OARI submodule for 96 kHz obj-audio

4 years agoUpdate Tools to Build #55 version
Frank Livingston [Sun, 23 Jul 2017 20:13:23 +0000 (15:13 -0500)]
Update Tools to Build #55 version

4 years agoUpdate PAF submodule to Build #55 version
Frank Livingston [Sun, 23 Jul 2017 20:07:11 +0000 (15:07 -0500)]
Update PAF submodule to Build #55 version

4 years agoUpdate Dolby IP submodules to Build #55 versions
Frank Livingston [Sun, 23 Jul 2017 20:05:54 +0000 (15:05 -0500)]
Update Dolby IP submodules to Build #55 versions

4 years agoPASDK-218:Update CB PCM OVR detection logic.
Frank Livingston [Sun, 23 Jul 2017 19:35:22 +0000 (14:35 -0500)]
PASDK-218:Update CB PCM OVR detection logic.

NOTE: CB write currently allocates max channels worth of data in PCM
buffer for each write. However, writer only writes active channels as
determined by AF CC stream. For THD 192 kHz, max channel count is 6, but
CB write will allocate space for 32 channels. This is gross
overallocation of memory for CB.

4 years agoPASDK-218:CB updates for THD 192 kHz
Frank Livingston [Sun, 23 Jul 2017 02:32:37 +0000 (21:32 -0500)]
PASDK-218:CB updates for THD 192 kHz

- Update CB PCM overflow handling. PCM buffer writer address wrap event
  varies based on dec sample count (PCM buffer not completely filled at
  buffer end), so checking sample count in buffer won't prevent overwrite
  of data not yet read from PCM buffer.
- Increase CB PCM buffer size for 192 kHz (increase "fudge factor") based
  on feedback from CB PCM buffer overflow detection.

4 years agoMerge remote-tracking branch 'origin/dev_pasdk_govind_pasdk218' into dev_pasdk_frank_...
Frank Livingston [Sat, 22 Jul 2017 16:08:19 +0000 (11:08 -0500)]
Merge remote-tracking branch 'origin/dev_pasdk_govind_pasdk218' into dev_pasdk_frank_pasdk218MatThdHsr

4 years agoPASDK-218: Both Stop & Start Output operations are now better managed, by starting...
Govind Jeyaram [Sat, 22 Jul 2017 05:23:28 +0000 (22:23 -0700)]
PASDK-218: Both Stop & Start Output operations are now better managed, by starting the clocks only while starting output (Vs while selecting the output device

4 years agoPASDK-218: Disabling Flush mode of MOB, thereby truncating the output by the last...
Govind Jeyaram [Sat, 22 Jul 2017 05:07:04 +0000 (22:07 -0700)]
PASDK-218: Disabling Flush mode of MOB, thereby truncating the output by the last few frames, to aid with cleaner driver-state transitions.

4 years agoPASDK-218:Update CB for THD HSR streams
Frank Livingston [Sat, 22 Jul 2017 02:40:09 +0000 (21:40 -0500)]
PASDK-218:Update CB for THD HSR streams

- Add PCM over/underflow detection
- Increase size of CB PCM buffer using THD HSR "fudge factor". Need to
  investigate proper worst case sizing of buffer.

4 years agoChange debug capture Af code to use Af sample count (true indication of samples in...
Frank Livingston [Fri, 21 Jul 2017 15:15:23 +0000 (10:15 -0500)]
Change debug capture Af code to use Af sample count (true indication of samples in frame)

4 years agoMerge remote-tracking branch 'origin/dev_pasdk_govind_pasdk218' into dev_pasdk_frank_...
Frank Livingston [Thu, 20 Jul 2017 22:36:56 +0000 (17:36 -0500)]
Merge remote-tracking branch 'origin/dev_pasdk_govind_pasdk218' into dev_pasdk_frank_pasdk218MatThdHsr

4 years agoPASDK-218:Update CB read to allow read spanning multiple CB AFs
Frank Livingston [Thu, 20 Jul 2017 22:28:37 +0000 (17:28 -0500)]
PASDK-218:Update CB read to allow read spanning multiple CB AFs

- cbReadAf() can read frame lengths not a multiple of Dec output frame
  length(s)
- cbReadAf() doesn't re-scan entire CB AF metadata array for each read
  frame
- drain complete check moved to beginning of cbReadAf() to allow for
  delayed detection of drain state and CB empty

4 years agoPASDK-218: Fixed a bug involving insufficient num of spare EDMA params used by the...
Govind Jeyaram [Thu, 20 Jul 2017 20:39:56 +0000 (13:39 -0700)]
PASDK-218: Fixed a bug involving insufficient num of spare EDMA params used by the IB. This lends stability to ASIT state-machine, when it transitions from source=unknown (auto-detection) to a known source (decode processing).

4 years agoMerge remote-tracking branch 'origin/dev_pasdk_govind_pasdk218' into dev_pasdk_frank_...
Frank Livingston [Thu, 20 Jul 2017 20:05:18 +0000 (15:05 -0500)]
Merge remote-tracking branch 'origin/dev_pasdk_govind_pasdk218' into dev_pasdk_frank_pasdk218MatThdHsr

4 years agoPASDK-218:Add missing DEF_STR_FRAME_LEN macro definition
Frank Livingston [Wed, 19 Jul 2017 16:55:07 +0000 (11:55 -0500)]
PASDK-218:Add missing DEF_STR_FRAME_LEN macro definition

4 years agoPASDK-218: Clean up the code removing deadwood.
Govind Jeyaram [Tue, 18 Jul 2017 00:37:00 +0000 (17:37 -0700)]
PASDK-218: Clean up the code removing deadwood.

4 years agoPASDK-218: Added comments to mark unused members of the device extension structure.
Govind Jeyaram [Tue, 18 Jul 2017 00:33:58 +0000 (17:33 -0700)]
PASDK-218: Added comments to mark unused members of the device extension structure.

4 years agoPASDK-218: Added debug counters + Restored start-up size to 1 Frame
Govind Jeyaram [Tue, 18 Jul 2017 00:32:08 +0000 (17:32 -0700)]
PASDK-218: Added debug counters + Restored start-up size to 1 Frame

4 years agoPASDK-218: Corrected Rx side Pinmask for HDMI + Using DIR clock source now for the...
Govind Jeyaram [Tue, 18 Jul 2017 00:30:15 +0000 (17:30 -0700)]
PASDK-218: Corrected Rx side Pinmask for HDMI + Using DIR clock source now for the first-time DAC initialization, to avoid failures.

4 years agoPASDK-218: Relocating OB buffers to L2 (temporary workaround)
Govind Jeyaram [Tue, 18 Jul 2017 00:28:59 +0000 (17:28 -0700)]
PASDK-218: Relocating OB buffers to L2 (temporary workaround)

4 years agoPASDK-218: Increased L2 Heap Mem to now account for OB buffers
Govind Jeyaram [Tue, 18 Jul 2017 00:28:02 +0000 (17:28 -0700)]
PASDK-218: Increased L2 Heap Mem to now account for OB buffers

4 years agoPASDK-218: EDMA CCNT bug-fix + Rx & Tx McASP Events are both now on EDMA TC Que_Num...
Govind Jeyaram [Mon, 17 Jul 2017 23:35:37 +0000 (16:35 -0700)]
PASDK-218: EDMA CCNT bug-fix + Rx & Tx McASP Events are both now on EDMA TC Que_Num = 0 (higher priority Vs Que_Num = 1) + Much debug code.

4 years agoPASDK-218:Add ability to dynamic config stream frame length over JTAG
Frank Livingston [Mon, 17 Jul 2017 19:57:54 +0000 (14:57 -0500)]
PASDK-218:Add ability to dynamic config stream frame length over JTAG

4 years agoPASDK-218:Move ownership of CB stream frame size to DSP:ASOT
Frank Livingston [Mon, 17 Jul 2017 16:57:16 +0000 (11:57 -0500)]
PASDK-218:Move ownership of CB stream frame size to DSP:ASOT

4 years agoPASDK-218:Update ASOT top-level State Machine.
Frank Livingston [Tue, 11 Jul 2017 03:19:41 +0000 (22:19 -0500)]
PASDK-218:Update ASOT top-level State Machine.

Allow state transitions to skip Task sleep and output device selection.
This can be improved with a state transition function (and perhaps state
transition table).

4 years agoPASDK-218:Provide higher resolution ND settings.
Frank Livingston [Sun, 9 Jul 2017 21:45:49 +0000 (16:45 -0500)]
PASDK-218:Provide higher resolution ND settings.

4 years agoPASDK-218:Update cbReset() to use Nominal Delay.
Frank Livingston [Sun, 9 Jul 2017 21:44:48 +0000 (16:44 -0500)]
PASDK-218:Update cbReset() to use Nominal Delay.
THIS CODE IS UNTESTED. So far don't observe CB UND/OVR over thresholds, so cbReset() not called.
Note application-level CB reset counters exist on ARM & DSP.

4 years agoPASDK-218:Retain cbInit() API, but remove functionality since unused.
Frank Livingston [Sun, 9 Jul 2017 21:41:30 +0000 (16:41 -0500)]
PASDK-218:Retain cbInit() API, but remove functionality since unused.

4 years agoPASDK-218:Add CB statistic for number of read AFs consumed for Nominal Delay
Frank Livingston [Sat, 8 Jul 2017 23:25:37 +0000 (18:25 -0500)]
PASDK-218:Add CB statistic for number of read AFs consumed for Nominal Delay

4 years agoPASDK-218:Update CB last AF.
Frank Livingston [Sat, 8 Jul 2017 22:51:59 +0000 (17:51 -0500)]
PASDK-218:Update CB last AF.
- No hard-coded values used (not cbInit() still called, but settings aren't applied during streaming
- Add APIs for ARM init of last AF, DSP update of last AF

4 years agoPASDK-218:Update DDP & PCM nominal delay settings
Frank Livingston [Fri, 7 Jul 2017 23:56:03 +0000 (18:56 -0500)]
PASDK-218:Update DDP & PCM nominal delay settings

4 years agoPASDK-218:Relocate first setCheckRateX and startOutput to ASOT:decodeProcessing:INIT
Frank Livingston [Fri, 7 Jul 2017 21:47:18 +0000 (16:47 -0500)]
PASDK-218:Relocate first setCheckRateX and startOutput to ASOT:decodeProcessing:INIT

4 years agoPASDK-218:Fix ASOT SM state update for CB drained
Frank Livingston [Fri, 7 Jul 2017 18:40:52 +0000 (13:40 -0500)]
PASDK-218:Fix ASOT SM state update for CB drained

4 years agoPASDK-218:Fix logic for reporting CB drain state
Frank Livingston [Fri, 7 Jul 2017 18:26:24 +0000 (13:26 -0500)]
PASDK-218:Fix logic for reporting CB drain state

4 years agoPASDK-218:Add debug counters
Frank Livingston [Fri, 7 Jul 2017 17:25:52 +0000 (12:25 -0500)]
PASDK-218:Add debug counters

4 years agoPASDK-218:Move CB init source select to after first decoded frame
Frank Livingston [Fri, 7 Jul 2017 16:36:43 +0000 (11:36 -0500)]
PASDK-218:Move CB init source select to after first decoded frame

4 years agoPASDK-218:Add default THD CB nominal delay setting
Frank Livingston [Thu, 6 Jul 2017 21:46:05 +0000 (16:46 -0500)]
PASDK-218:Add default THD CB nominal delay setting

4 years agoPASDK-218:Change order of CB init and Dec Info Out Init-Sync
Frank Livingston [Wed, 5 Jul 2017 16:52:44 +0000 (11:52 -0500)]
PASDK-218:Change order of CB init and Dec Info Out Init-Sync

4 years agoPASDK-218:Add check for Dec sync before sending INFO1 sync message
Frank Livingston [Tue, 4 Jul 2017 17:41:11 +0000 (12:41 -0500)]
PASDK-218:Add check for Dec sync before sending INFO1 sync message

Add check for Dec sync before sending Dec Info1 sync message. This is
similar to logic in DSP:ASIT:decodeProcessing():INFO1 which checks for
THD/DTSHD/DXP majorAu.

Inspecting Dec Info function for various decoders:
- it appears this should work for MAT-THD/PCM, DDP & PCM.
- this may not work for DTSHD and DXP.
Whether it work correctly depends on Dec Info audio frame sampleDecode and
sampleRate output parameters.

Limited testing demonstrates this works for MAT-THD & DDP.

4 years agoPASDK-218:Replace initSyncUpdateAf() with outIsCpyAf() in PAF_ASOT_initSyncResync()
Frank Livingston [Tue, 4 Jul 2017 00:54:39 +0000 (19:54 -0500)]
PASDK-218:Replace initSyncUpdateAf() with outIsCpyAf() in PAF_ASOT_initSyncResync()

4 years agoPASDK-218:Replace initSyncUpdateAf() with outIsCpyAf().
Frank Livingston [Tue, 4 Jul 2017 00:08:52 +0000 (19:08 -0500)]
PASDK-218:Replace initSyncUpdateAf() with outIsCpyAf().

NOTE: Can combine outIsReadDecStageFlagAndAf() and outIsCpyAf() functions
into single function in API.

4 years agoPASDK-218:Add comment
Frank Livingston [Mon, 3 Jul 2017 23:34:34 +0000 (18:34 -0500)]
PASDK-218:Add comment

4 years agoPASDK-218:Fix Out IS audio frame copy (write & read)
Frank Livingston [Mon, 3 Jul 2017 23:29:46 +0000 (18:29 -0500)]
PASDK-218:Fix Out IS audio frame copy (write & read)

4 years agoPASDK-218:Add traces, fix typo in decodeEncode
Frank Livingston [Mon, 3 Jul 2017 21:23:25 +0000 (16:23 -0500)]
PASDK-218:Add traces, fix typo in decodeEncode

4 years agoPASDK-218:Update cbInitSourceSel() to init CB using Dec Info1 AF output
Frank Livingston [Mon, 3 Jul 2017 19:12:17 +0000 (14:12 -0500)]
PASDK-218:Update cbInitSourceSel() to init CB using Dec Info1 AF output

4 years agoPASDK-218:Move cbInitSourceSel() from DSP to ARM.
Frank Livingston [Sun, 2 Jul 2017 19:13:49 +0000 (14:13 -0500)]
PASDK-218:Move cbInitSourceSel() from DSP to ARM.

Old location: DSP:ASIT:decodeProcessing():INIT:decodeInit()
New location: ARM:ASDT:INFO

cbInitSourceSel() still initializes CB using hard-coded values for some
parameters (e.g. sampling rate). Need to udpate function to take AF input
for initialization of these parameters.

4 years agoPASDK-218:Update flag only after AF written for Out IS write.
Frank Livingston [Sun, 2 Jul 2017 19:04:24 +0000 (14:04 -0500)]
PASDK-218:Update flag only after AF written for Out IS write.

Code is logically correct this way. Note entire function is gated, so
functionality won't change.

4 years agoPASDK-218:Add function to get "decoder frame length" using source select.
Frank Livingston [Sun, 2 Jul 2017 18:08:48 +0000 (13:08 -0500)]
PASDK-218:Add function to get "decoder frame length" using source select.

Need to review decoder (and other) frame lengths used in system.

4 years agoPASDK-218:Update locations of functions on ARM for Out Init-Sync
Frank Livingston [Fri, 30 Jun 2017 22:59:21 +0000 (17:59 -0500)]
PASDK-218:Update locations of functions on ARM for Out Init-Sync

4 years agoPASDK-218:Update OAR submodule
Frank Livingston [Fri, 30 Jun 2017 22:17:34 +0000 (17:17 -0500)]
PASDK-218:Update OAR submodule

4 years agoUpdate MAT-THD submodule
Frank Livingston [Fri, 30 Jun 2017 22:14:07 +0000 (17:14 -0500)]
Update MAT-THD submodule

4 years agoPASDK-218:Update decodeProcessing error codes
Frank Livingston [Fri, 30 Jun 2017 21:59:26 +0000 (16:59 -0500)]
PASDK-218:Update decodeProcessing error codes

4 years agoPASDK-218:Add Out Init-Sync to ASOT (DSP) and ASDT (ARM)
Frank Livingston [Fri, 30 Jun 2017 21:23:33 +0000 (16:23 -0500)]
PASDK-218:Add Out Init-Sync to ASOT (DSP) and ASDT (ARM)

4 years agoPASDK-218:Add low-level Out Init-Sync code
Frank Livingston [Fri, 30 Jun 2017 21:19:55 +0000 (16:19 -0500)]
PASDK-218:Add low-level Out Init-Sync code

4 years agoPASDK-218:Remove unused PAF_AST_Params and other defs
Frank Livingston [Fri, 30 Jun 2017 21:17:16 +0000 (16:17 -0500)]
PASDK-218:Remove unused PAF_AST_Params and other defs

4 years agoPASDK-218:Update cbCtlInit() in sysInit on ARM/DSP.
Frank Livingston [Fri, 30 Jun 2017 21:13:41 +0000 (16:13 -0500)]
PASDK-218:Update cbCtlInit() in sysInit on ARM/DSP.

Expose global ASDT parameters to ARM sysinit.
Expose global ASIT parmaeters to DSP sysinit.

4 years agoPASDK-218:Update Circular Buffer
Frank Livingston [Fri, 30 Jun 2017 21:06:33 +0000 (16:06 -0500)]
PASDK-218:Update Circular Buffer

1) Remove CB drain indicator from cbReadAf().
2) Add check CB drain function.
3) Add # CBs to CB control.
4) Move ARM/DSP code w/ common API to common source file (cbCtlInit()).

4 years agoPASDK-218:ASOT code clean ups
Frank Livingston [Wed, 28 Jun 2017 21:42:47 +0000 (16:42 -0500)]
PASDK-218:ASOT code clean ups

4 years agoPASDK-218:Change CB write to only skip write in case of overflow.
Frank Livingston [Fri, 23 Jun 2017 17:48:15 +0000 (12:48 -0500)]
PASDK-218:Change CB write to only skip write in case of overflow.

CB write doesn't skip write in case reader is inactive.

4 years agoPASDK-218:Add CB drained indicator to CB read
Frank Livingston [Fri, 23 Jun 2017 02:43:00 +0000 (21:43 -0500)]
PASDK-218:Add CB drained indicator to CB read

4 years agoPASDK-218:Add function to get CB statistics
Frank Livingston [Fri, 23 Jun 2017 01:02:34 +0000 (20:02 -0500)]
PASDK-218:Add function to get CB statistics

4 years agoPASDK-218:Add CB statistics
Frank Livingston [Fri, 23 Jun 2017 00:18:52 +0000 (19:18 -0500)]
PASDK-218:Add CB statistics

- readAfWriterInactiveCnt
- wrtAfReaderInactiveCnt
- wrtAfZeroSampsCnt

4 years agoFix comment
Frank Livingston [Thu, 22 Jun 2017 01:15:51 +0000 (20:15 -0500)]
Fix comment

4 years agoPASDK-218:Update MAT-THD submodule
Frank Livingston [Thu, 22 Jun 2017 01:15:31 +0000 (20:15 -0500)]
PASDK-218:Update MAT-THD submodule

4 years agoChange name of CB emptyFlag to drainFlag
Frank Livingston [Thu, 22 Jun 2017 00:50:20 +0000 (19:50 -0500)]
Change name of CB emptyFlag to drainFlag

4 years agoPASDK-218:Merge remote-tracking branch 'origin/dev_pasdk_govind_pasdk218' into dev_pa...
Frank Livingston [Mon, 19 Jun 2017 20:08:27 +0000 (15:08 -0500)]
PASDK-218:Merge remote-tracking branch 'origin/dev_pasdk_govind_pasdk218' into dev_pasdk_frank_pasdk218MatThdHsr

4 years agoPASDK-218: Fixed incorrect divider for PAF_SAMPLERATE_96000HZ in clkxDivHDMI table.
Govind Jeyaram [Mon, 19 Jun 2017 19:55:12 +0000 (12:55 -0700)]
PASDK-218: Fixed incorrect divider for PAF_SAMPLERATE_96000HZ in clkxDivHDMI table.

4 years agoPASDK-218:Update OAR submodule for 96 kHz support
Frank Livingston [Mon, 19 Jun 2017 15:48:22 +0000 (10:48 -0500)]
PASDK-218:Update OAR submodule for 96 kHz support

4 years agoBuild #48:Update submodules
Frank Livingston [Tue, 13 Jun 2017 01:05:22 +0000 (20:05 -0500)]
Build #48:Update submodules

4 years agoPASDK-318:Update tools submodule
Frank Livingston [Thu, 8 Jun 2017 21:42:13 +0000 (16:42 -0500)]
PASDK-318:Update tools submodule

4 years agoPASDK-319:Update tools submodule
Frank Livingston [Thu, 8 Jun 2017 19:40:16 +0000 (14:40 -0500)]
PASDK-319:Update tools submodule

4 years agoPASDK-319:Update PASDK Dolby IP release notes for BR1
Frank Livingston [Thu, 8 Jun 2017 18:36:26 +0000 (13:36 -0500)]
PASDK-319:Update PASDK Dolby IP release notes for BR1

4 years agoPASDK-319:Update PASDK release notes for BR1
Frank Livingston [Thu, 8 Jun 2017 18:04:04 +0000 (13:04 -0500)]
PASDK-319:Update PASDK release notes for BR1

4 years agoPASDK-319:Update PASDK setup guide for BR1
Frank Livingston [Thu, 8 Jun 2017 01:16:16 +0000 (20:16 -0500)]
PASDK-319:Update PASDK setup guide for BR1

4 years agoPASDK-319:Update release notes handling
Frank Livingston [Thu, 8 Jun 2017 01:14:18 +0000 (20:14 -0500)]
PASDK-319:Update release notes handling
- Move AR4 release notes to archive
- Change release notes names so not linked to AR4
- Update build scripts to use new names for release notes during creates of release packages

4 years agoPASDK-319:Update root installation folder to processor_audio_sdk_1_00_00_03
Frank Livingston [Wed, 7 Jun 2017 20:26:32 +0000 (15:26 -0500)]
PASDK-319:Update root installation folder to processor_audio_sdk_1_00_00_03

4 years agoPASDK-319:Update PDK eng to 1.0.1.2.
Frank Livingston [Wed, 7 Jun 2017 20:23:31 +0000 (15:23 -0500)]
PASDK-319:Update PDK eng to 1.0.1.2.

Using build number (LS digit of version number) to differentiate PDK eng versions.

4 years agoPASDK-319:Update PDK eng to 1.0.1.2.
Frank Livingston [Wed, 7 Jun 2017 16:16:01 +0000 (11:16 -0500)]
PASDK-319:Update PDK eng to 1.0.1.2.

Using build number (LS digit of version number) to differentiate PDK eng versions.

4 years agoPASDK-319:Update PDK eng to 1.0.1.2.
Frank Livingston [Wed, 7 Jun 2017 16:13:07 +0000 (11:13 -0500)]
PASDK-319:Update PDK eng to 1.0.1.2.

Using build number (LS digit of version number) to differentiate PDK eng versions.

4 years agoPASDK-319:Update PDK eng to 1.0.1.2.
Frank Livingston [Wed, 7 Jun 2017 15:47:50 +0000 (10:47 -0500)]
PASDK-319:Update PDK eng to 1.0.1.2.

Using build number (LS digit of version number) to differentiate PDK eng versions.

4 years agoPASDK-319:Update tools submodule
Frank Livingston [Wed, 7 Jun 2017 12:30:17 +0000 (07:30 -0500)]
PASDK-319:Update tools submodule

4 years agoPASDK-319:Change cygwin path location for component build script
Frank Livingston [Wed, 7 Jun 2017 12:27:18 +0000 (07:27 -0500)]
PASDK-319:Change cygwin path location for component build script

4 years agoPASDK-319:Fix alpha package generation in build scripts
Frank Livingston [Wed, 7 Jun 2017 06:39:54 +0000 (01:39 -0500)]
PASDK-319:Fix alpha package generation in build scripts

4 years agoPASDK-319:Fix include paths for test_dsp project, Debug_pkgs build profile
Frank Livingston [Wed, 7 Jun 2017 06:38:42 +0000 (01:38 -0500)]
PASDK-319:Fix include paths for test_dsp project, Debug_pkgs build profile

4 years agoPASDK-319:Update PAF build script to include DEL3 (not used in DSP application)
Frank Livingston [Wed, 7 Jun 2017 01:03:41 +0000 (20:03 -0500)]
PASDK-319:Update PAF build script to include DEL3 (not used in DSP application)

4 years agoPASDK-319:Update headers to 2017
Frank Livingston [Wed, 7 Jun 2017 00:37:27 +0000 (19:37 -0500)]
PASDK-319:Update headers to 2017

4 years agoPASDK-319:Update headers to 2017
Frank Livingston [Wed, 7 Jun 2017 00:15:16 +0000 (19:15 -0500)]
PASDK-319:Update headers to 2017

4 years agoPASDK-319:Update headers to 2017
Frank Livingston [Tue, 6 Jun 2017 22:30:28 +0000 (17:30 -0500)]
PASDK-319:Update headers to 2017

4 years agoPASDK-319:Add alpha package generation to build scripts
Frank Livingston [Tue, 6 Jun 2017 20:32:30 +0000 (15:32 -0500)]
PASDK-319:Add alpha package generation to build scripts

4 years agoPASDK-319:Update OS package creation script to include DEL3,DM
Frank Livingston [Tue, 6 Jun 2017 19:55:23 +0000 (14:55 -0500)]
PASDK-319:Update OS package creation script to include DEL3,DM

4 years agoPASDK-319:Update PAF submodule for DEL3 makefile update
Frank Livingston [Tue, 6 Jun 2017 19:05:14 +0000 (14:05 -0500)]
PASDK-319:Update PAF submodule for DEL3 makefile update

4 years agoUpdate tools submodule (v2.4.8)
Frank Livingston [Tue, 6 Jun 2017 18:58:22 +0000 (13:58 -0500)]
Update tools submodule (v2.4.8)

4 years agoBuild #46:Disable PP CB dumps
Frank Livingston [Sat, 3 Jun 2017 19:09:15 +0000 (14:09 -0500)]
Build #46:Disable PP CB dumps

4 years agoBuild #46:Update DDP submodule
Frank Livingston [Sat, 3 Jun 2017 18:37:51 +0000 (13:37 -0500)]
Build #46:Update DDP submodule

4 years agoPASDK-277:Increase MAT-THD nominal delay to 3504.
Frank Livingston [Sat, 3 Jun 2017 18:26:37 +0000 (13:26 -0500)]
PASDK-277:Increase MAT-THD nominal delay to 3504.

Resulting maximum size for PCM circular buffer in CB is 7680 samples.
=>maximum size for AF circular buffer size in CB is 7680/256=30.

We currently allocate 90*4096 bytes for each audio frame, and this is
being allocated from SR_DDR3. Needed to increase size of SR_DDR3, which
required moving other memory regions to different base addresses.
NOTE: COMMON2_DDR3 is untouched, hard-coded MAR settings in DSP system
init thread don't need to be changed.

4 years agoPASDK-277:Add debug variables
Frank Livingston [Sat, 3 Jun 2017 14:36:18 +0000 (09:36 -0500)]
PASDK-277:Add debug variables

Captures show ASIT exits & re-enters decodeProcessing().
Because of this, cbInitSourceSel() is called twice during MAT-THD stream,
both "early" in stream. Because of this, ~5 decode frames are lost from CB.

Data accumulation in the CB associated with these 5 frames is lost.
(variable fill rate - fixed empty rate). As a result, CB can underflow
for MAT-THD streams.

Current approach(s) to circumvent CB underflow problem center around
artificially accumulating some amount of data at point in stream where
decodeProcessing() is re-entered.
- PP approach will accumulate first 5 frames of data (of whatever size in stream).
- Bogdan's approach will accumulate some number of samples:
(fixed nominal delay - size of frame where decodeProcessing is resumed).

Neither approach will gaurantee no underflow.

4 years agoPASDK_277:Initial code for Bogdan's CB nominal delay
Frank Livingston [Fri, 2 Jun 2017 00:15:44 +0000 (19:15 -0500)]
PASDK_277:Initial code for Bogdan's CB nominal delay

4 years agoPASDK-277: Added GPIO for timestamping CB operation.
Chitresh Gupta [Mon, 29 May 2017 15:26:35 +0000 (20:56 +0530)]
PASDK-277: Added GPIO for timestamping CB operation.