processor-sdk/performance-audio-sr.git
3 years agoPASDK 568: fixed ASIT decoding FSM bug.
Jianzhong Xu [Fri, 20 Apr 2018 19:59:27 +0000 (15:59 -0400)]
PASDK 568: fixed ASIT decoding FSM bug.

3 years agoMerge branch 'PASDK-563-DDP-Verification' into dev_pasdk_frank_pasdk568thdHsrVerification
Jianzhong Xu [Fri, 20 Apr 2018 18:49:47 +0000 (14:49 -0400)]
Merge branch 'PASDK-563-DDP-Verification' into dev_pasdk_frank_pasdk568thdHsrVerification
   - picking up the fix in ioBuffInit

3 years agoioBuffInit returns error if parameter nominal delay is equal to buffer size.
Jianzhong Xu [Fri, 20 Apr 2018 18:12:31 +0000 (14:12 -0400)]
ioBuffInit returns error if parameter nominal delay is equal to buffer size.

3 years agoPASDK-568:Reduce number of compiler warnings
Frank Livingston [Fri, 20 Apr 2018 15:31:18 +0000 (10:31 -0500)]
PASDK-568:Reduce number of compiler warnings

3 years agoPASDK-568:Remove extra call to CB stream frame length initialization missed in previo...
Frank Livingston [Fri, 20 Apr 2018 15:28:58 +0000 (10:28 -0500)]
PASDK-568:Remove extra call to CB stream frame length initialization missed in previous commit

3 years agoFix No IP build
Frank Livingston [Fri, 20 Apr 2018 15:06:46 +0000 (10:06 -0500)]
Fix No IP build

3 years agoMerge remote-tracking branch 'origin/PASDK-563-DDP-Verification' into dev_pasdk_frank...
Frank Livingston [Fri, 20 Apr 2018 14:49:52 +0000 (09:49 -0500)]
Merge remote-tracking branch 'origin/PASDK-563-DDP-Verification' into dev_pasdk_frank_pasdk568thdHsrVerification

3 years agoPASDK-568:Revert merge from PASDK-514, add Gate & cache inv to CB stream FL read...
Frank Livingston [Fri, 20 Apr 2018 00:16:04 +0000 (19:16 -0500)]
PASDK-568:Revert merge from PASDK-514, add Gate & cache inv to CB stream FL read function

3 years agoPASDK-568: added error check after calling encoder wrapper.
Jianzhong Xu [Thu, 19 Apr 2018 21:32:13 +0000 (17:32 -0400)]
PASDK-568: added error check after calling encoder wrapper.

3 years agoPASDK-568: added logic and encoder wrapper to handle output buffer wrapping around
Jianzhong Xu [Thu, 19 Apr 2018 21:16:12 +0000 (17:16 -0400)]
PASDK-568: added logic and encoder wrapper to handle output buffer wrapping around

3 years agoPASDK-568:Move Dec Info1 IS to Dec Decode1 IS
Frank Livingston [Thu, 19 Apr 2018 20:19:54 +0000 (15:19 -0500)]
PASDK-568:Move Dec Info1 IS to Dec Decode1 IS

ARM:
- latch 1st decode AF output
DSP:
- in Decode IS, use latched AF to initialize Stream AF
- overwrite Stream AF sample count to CB stream frame length.
CB stream frame length can be configured via alpha command or
automatically.
- Execute ASP chain reset, Enc Info, SetCheckRateX & StartOutput.
ASP chain reset will have proper AF sample count in case SRC enabled for
decimation (Stream AF sample count will be updated in this case).
StartOuput Phy frame length & delay setup will have proper sample count
for frame length parameter.

3 years agoRemove tabs
Frank Livingston [Thu, 19 Apr 2018 19:58:43 +0000 (14:58 -0500)]
Remove tabs

3 years agoRemove tabs
Frank Livingston [Wed, 18 Apr 2018 19:37:39 +0000 (14:37 -0500)]
Remove tabs

3 years agoPASDK-568:Update CB read to properly set AF sample count
Frank Livingston [Wed, 18 Apr 2018 19:31:33 +0000 (14:31 -0500)]
PASDK-568:Update CB read to properly set AF sample count

cbReadAf():
AF sample count set to number of PCM samples read from PCM buffer in case
of partial read (fewer PCM samples in buffer than number of PCM samples
requested in read).
Update code to set AF sample count to number of PCM
samples requested in read.
If CB in drain state, this isn't an underflow (e.g. EOS trailing samples).
If CB not in drain state, this is logged as an underflow.

3 years agoPASDK-514: Moved CB status to Non-cached memory.
Chitresh Gupta [Tue, 23 Jan 2018 16:00:35 +0000 (21:30 +0530)]
PASDK-514: Moved CB status to Non-cached memory.

(cherry picked from commit 41ffcdb271f8964663ef0fd0174e86935e104c6d)

3 years agoAdded McASP clock configurations for THD 96kHz, 192kHz output.
Jianzhong Xu [Thu, 5 Apr 2018 19:26:10 +0000 (15:26 -0400)]
Added McASP clock configurations for THD 96kHz, 192kHz output.

3 years agoPASDK 564: Removed one dependency of hard coded number from the input task initializa...
Jianzhong Xu [Wed, 4 Apr 2018 21:18:17 +0000 (17:18 -0400)]
PASDK 564: Removed one dependency of hard coded number from the input task initialization.

3 years agoReplaced hard coded OUTPUT_STRIDE with configured stride = num_serializer*num_channel.
Jianzhong Xu [Mon, 26 Mar 2018 19:58:02 +0000 (15:58 -0400)]
Replaced hard coded OUTPUT_STRIDE with configured stride = num_serializer*num_channel.
McASP Tx clock is hard coded for DDP 48kHz. DDP 48kHz streaming works
fine. To run PCM streaming, neeed to change McASP Tx clock aclkxctl.

3 years agoDebugging DDP output.
Jianzhong Xu [Mon, 26 Mar 2018 15:48:03 +0000 (11:48 -0400)]
Debugging DDP output.

3 years agoReconfigure McASP LLD word width by device default when ASIT restarts.
Jianzhong Xu [Thu, 15 Mar 2018 13:30:57 +0000 (09:30 -0400)]
Reconfigure McASP LLD word width by device default when ASIT restarts.

3 years agoMerge remote-tracking branch 'origin/PASDK-136-new-i-o-integration-into-pasdk-1-x...
Frank Livingston [Thu, 1 Mar 2018 19:45:43 +0000 (13:45 -0600)]
Merge remote-tracking branch 'origin/PASDK-136-new-i-o-integration-into-pasdk-1-x' into dev_pasdk_pasdk29Integration

3 years agoTested McASP configuration for I/O shortcut HDMIStereo.
Jianzhong Xu [Thu, 1 Mar 2018 16:28:52 +0000 (11:28 -0500)]
Tested McASP configuration for I/O shortcut HDMIStereo.
Removed hard coded macros in ASIT that depend on input interface.

3 years agoUpdate comments
Frank Livingston [Tue, 27 Feb 2018 22:21:37 +0000 (16:21 -0600)]
Update comments

3 years agoPASDK-538:Remove unused code
Frank Livingston [Tue, 27 Feb 2018 22:21:01 +0000 (16:21 -0600)]
PASDK-538:Remove unused code

3 years agoMerge remote-tracking branch 'origin/dev_pasdk_frank_pasdk538UpdateIpcMessaging'...
Jianzhong Xu [Tue, 27 Feb 2018 21:07:25 +0000 (16:07 -0500)]
Merge remote-tracking branch 'origin/dev_pasdk_frank_pasdk538UpdateIpcMessaging' into PASDK-136-new-i-o-integration-into-pasdk-1-x

3 years agoUpdated project file to not use enscription.
Jianzhong Xu [Tue, 27 Feb 2018 15:46:25 +0000 (10:46 -0500)]
Updated project file to not use enscription.

3 years agoDefined McASP configuration parameters for every SAP_D10_XXX (in sap_d10.c).
Jianzhong Xu [Tue, 27 Feb 2018 15:12:02 +0000 (10:12 -0500)]
Defined McASP configuration parameters for every SAP_D10_XXX (in sap_d10.c).
Tested and verified for HDMI input and DAC output with 8-channel PCM.

3 years agoPASDK-538:Update DSP ASP master messaging to use SyncEvents
Frank Livingston [Mon, 26 Feb 2018 22:19:02 +0000 (16:19 -0600)]
PASDK-538:Update DSP ASP master messaging to use SyncEvents

3 years agoCode clean up
Frank Livingston [Sat, 24 Feb 2018 00:34:27 +0000 (18:34 -0600)]
Code clean up

3 years agoPASDK-538:Move location of aspMsg_common.h
Frank Livingston [Sat, 24 Feb 2018 00:34:03 +0000 (18:34 -0600)]
PASDK-538:Move location of aspMsg_common.h

3 years agoMerge branch 'dev_pasdk_frank_pasdk516AsotRefactoring' into dev_pasdk_pasdk29Integration
Frank Livingston [Fri, 16 Feb 2018 23:02:23 +0000 (17:02 -0600)]
Merge branch 'dev_pasdk_frank_pasdk516AsotRefactoring' into dev_pasdk_pasdk29Integration

3 years agoPASDK-516:Slight update to write complete handling
Frank Livingston [Fri, 16 Feb 2018 22:05:59 +0000 (16:05 -0600)]
PASDK-516:Slight update to write complete handling

3 years agoFixed loss of SYNC problem and restart problem. ASIT FSM works fine with
Jianzhong Xu [Fri, 16 Feb 2018 21:49:41 +0000 (16:49 -0500)]
Fixed loss of SYNC problem and restart problem. ASIT FSM works fine with
100's of PCM/bit streams.

3 years agoPASDK-516:Add updates for PCE
Frank Livingston [Thu, 15 Feb 2018 23:38:20 +0000 (17:38 -0600)]
PASDK-516:Add updates for PCE

Add updates for proper OB configuration for PCM encoder.

3 years agoPASDK-516:Fix EDMA event clear in Processing Decoder Output state
Frank Livingston [Wed, 14 Feb 2018 23:01:11 +0000 (17:01 -0600)]
PASDK-516:Fix EDMA event clear in Processing Decoder Output state

3 years agoPASDK-516:Several ASOT updates
Frank Livingston [Wed, 14 Feb 2018 22:28:57 +0000 (16:28 -0600)]
PASDK-516:Several ASOT updates

- Add output frame length change in asopStartOutput()
- Move location of IO Phy priming
- Fix problems with Output SIO selection

3 years agoPASDK-516:remove empty file
Frank Livingston [Tue, 13 Feb 2018 20:27:54 +0000 (14:27 -0600)]
PASDK-516:remove empty file

3 years agoPASDK-516:First version of ASOT refactoring
Frank Livingston [Tue, 13 Feb 2018 20:21:21 +0000 (14:21 -0600)]
PASDK-516:First version of ASOT refactoring

- First version of ASOT refactoring using Wake Timer & Tx McASP EDMA events.
- Uses New IO Phy & Buff routines.
- Cleaned up and removed unused code.

Code compiles, but is as yet untested.

3 years agoImplemented event-based ASIT FSM execpt the initial state.
Jianzhong Xu [Fri, 9 Feb 2018 20:01:17 +0000 (15:01 -0500)]
Implemented event-based ASIT FSM execpt the initial state.
Sending messages to ARM is split into send and acknowledgment.
Message event posting by ARM is simulated for testing.
The state machine works fine for PCM streams. However for bit stream, two problems remain:
1. sometimes message from ARM has error
2. sometimes loss of SYNC is detected in the beginning portion of a bitstream.

3 years agoPASDK-516:Add ASOT wake timer, update existing ASOT SM to use events
Frank Livingston [Fri, 2 Feb 2018 17:01:00 +0000 (11:01 -0600)]
PASDK-516:Add ASOT wake timer, update existing ASOT SM to use events

3 years agoPASDK-516:Remove unused semaphore for Tx McASP EDMA
Frank Livingston [Fri, 2 Feb 2018 16:52:30 +0000 (10:52 -0600)]
PASDK-516:Remove unused semaphore for Tx McASP EDMA

3 years agoRemove references to unused platform_lib in DSP app.cfg
Frank Livingston [Fri, 2 Feb 2018 16:50:33 +0000 (10:50 -0600)]
Remove references to unused platform_lib in DSP app.cfg

3 years agoPASDK-516:Remove SAP watchdog idle function from DSP app.cfg
Frank Livingston [Fri, 2 Feb 2018 16:49:20 +0000 (10:49 -0600)]
PASDK-516:Remove SAP watchdog idle function from DSP app.cfg

3 years agoRemove unused DSP app.cfg code related to secure boot
Frank Livingston [Fri, 2 Feb 2018 16:24:21 +0000 (10:24 -0600)]
Remove unused DSP app.cfg code related to secure boot

3 years agoPASDK-516:Rename ASOT event & event Ids, remove unused code
Frank Livingston [Fri, 2 Feb 2018 15:54:37 +0000 (09:54 -0600)]
PASDK-516:Rename ASOT event & event Ids, remove unused code

3 years agoPASDK-516:Add ASOT event creation
Frank Livingston [Thu, 1 Feb 2018 23:27:03 +0000 (17:27 -0600)]
PASDK-516:Add ASOT event creation

3 years agoAlign abort messages in sys init
Frank Livingston [Thu, 1 Feb 2018 23:05:28 +0000 (17:05 -0600)]
Align abort messages in sys init

3 years agoPADK-516:Remove conflicting function definition
Frank Livingston [Thu, 1 Feb 2018 22:58:35 +0000 (16:58 -0600)]
PADK-516:Remove conflicting function definition

3 years agoFixed frame length discrepancy between ASIT and decoder.
Jianzhong Xu [Wed, 31 Jan 2018 17:18:16 +0000 (12:18 -0500)]
Fixed frame length discrepancy between ASIT and decoder.

3 years agoModified input task decode processing to have both INFO and DECODE done for every
Jianzhong Xu [Tue, 30 Jan 2018 17:13:59 +0000 (12:13 -0500)]
Modified input task decode processing to have both INFO and DECODE done for every
I/O PHY transfer completion.

3 years agoFixed problem of input task being stuck when input stream stops:
Jianzhong Xu [Mon, 29 Jan 2018 20:55:03 +0000 (15:55 -0500)]
Fixed problem of input task being stuck when input stream stops:
1. sends message ASP_SLAVE_DEC_EXIT when finishing decoding,
2. skip I/O PHY prime when restarting - workaround for now.

3 years agoUpdated input task and decode processing. Input task can run with
Jianzhong Xu [Fri, 26 Jan 2018 22:40:06 +0000 (17:40 -0500)]
Updated input task and decode processing. Input task can run with
decode messages going between ARM and DSP.

3 years agoRefactored input decoding processing. Updated input task. Not tested.
Jianzhong Xu [Tue, 16 Jan 2018 19:23:44 +0000 (14:23 -0500)]
Refactored input decoding processing. Updated input task. Not tested.

3 years agoStarted refactoring output task and integrating new I/O into output
Jianzhong Xu [Wed, 10 Jan 2018 15:50:03 +0000 (10:50 -0500)]
Started refactoring output task and integrating new I/O into output
task. PCM loopback bypassing ARM working fine for HDMI in and analog out.

3 years agoStarted refactoring input task. New code works up to auto-detection which detects
Jianzhong Xu [Thu, 4 Jan 2018 20:44:26 +0000 (15:44 -0500)]
Started refactoring input task. New code works up to auto-detection which detects
input format reliably when input switches between PCM and bit stream.

3 years agoAdded I/O components memory allocation to input and output
Jianzhong Xu [Fri, 15 Dec 2017 21:02:51 +0000 (16:02 -0500)]
Added I/O components memory allocation to input and output
initPhaseMalloc. Added McASP LLD to application\itopo\evmk2g.
Standalone test works fine. PASDK functionality stays unchanged.

3 years agoSplit ASIP and ASOP initialization into separate routines.
Jianzhong Xu [Thu, 14 Dec 2017 13:57:04 +0000 (08:57 -0500)]
Split ASIP and ASOP initialization into separate routines.

3 years agoPASDK-477:Update docs
Frank Livingston [Thu, 7 Dec 2017 22:02:37 +0000 (16:02 -0600)]
PASDK-477:Update docs

Update PASDK setup guide.
Update PASDK release notes.
Update DH IP release notes.
Update DTS:X IP release notes.

3 years agoUpdate root installation folder to processor_sdk_audio_1_01_00_01
Frank Livingston [Thu, 7 Dec 2017 20:38:20 +0000 (14:38 -0600)]
Update root installation folder to processor_sdk_audio_1_01_00_01

3 years agoPASDK-477:Update to TI headers for DTS & update headers to 2017
Frank Livingston [Thu, 7 Dec 2017 19:45:04 +0000 (13:45 -0600)]
PASDK-477:Update to TI headers for DTS & update headers to 2017

3 years agoPASDK-432:Remove DDR3 & MSMC heap static intializers from ARM image for DTS:X build
Frank Livingston [Wed, 6 Dec 2017 19:23:38 +0000 (13:23 -0600)]
PASDK-432:Remove DDR3 & MSMC heap static intializers from ARM image for DTS:X build

3 years agoPASDK-477:Update MAT-THD submodule for PASDK-460
Frank Livingston [Wed, 6 Dec 2017 15:37:03 +0000 (09:37 -0600)]
PASDK-477:Update MAT-THD submodule for PASDK-460

3 years agoPASDK-477:Update 3p-ip-dts submodule
Frank Livingston [Wed, 6 Dec 2017 15:33:52 +0000 (09:33 -0600)]
PASDK-477:Update 3p-ip-dts submodule

3 years agoPASDK-477:Merge remote-tracking branch 'origin/dev_pasdk_qin_dtsx' into pasdk_frank_p...
Frank Livingston [Wed, 6 Dec 2017 15:31:37 +0000 (09:31 -0600)]
PASDK-477:Merge remote-tracking branch 'origin/dev_pasdk_qin_dtsx' into pasdk_frank_pasdk477_pasdk_1_1_1_rel

3 years agoremoved ASP_DECOP_CB_INIT_LAG_DTS.
Su [Wed, 6 Dec 2017 15:02:20 +0000 (10:02 -0500)]
removed ASP_DECOP_CB_INIT_LAG_DTS.

3 years agoPADSK-477:Update ARM DTS build configuration to use proper linker command file.
Frank Livingston [Wed, 6 Dec 2017 02:26:27 +0000 (20:26 -0600)]
PADSK-477:Update ARM DTS build configuration to use proper linker command file.

3 years agoPASDK-477:Remove unnecessary common CB code which uses no longer defined ASP_DECOP_CB...
Frank Livingston [Wed, 6 Dec 2017 01:51:13 +0000 (19:51 -0600)]
PASDK-477:Remove unnecessary common CB code which uses no longer defined ASP_DECOP_CB_INIT_LAG_DTS

3 years agoPASDK-477:Merge remote-tracking branch 'origin/dev_pasdk_qin_dtsx' into pasdk_frank_p...
Frank Livingston [Tue, 5 Dec 2017 22:03:13 +0000 (16:03 -0600)]
PASDK-477:Merge remote-tracking branch 'origin/dev_pasdk_qin_dtsx' into pasdk_frank_pasdk477_pasdk_1_1_1_rel

3 years agoPASDK-432:Remove ARM open-loop delay.
Frank Livingston [Mon, 4 Dec 2017 21:45:28 +0000 (15:45 -0600)]
PASDK-432:Remove ARM open-loop delay.

IPC GateMP_attach() patched with Cache_inv() call. This removes need for
ARM open loop delay for bootload.

3 years agoPASDK-458:Update PASDK setup guide, PASDK & PASDK Dolby IP Release Notes
Frank Livingston [Thu, 30 Nov 2017 21:00:34 +0000 (15:00 -0600)]
PASDK-458:Update PASDK setup guide, PASDK & PASDK Dolby IP Release Notes

3 years agoPASDK-458:Update root installation folder to processor_sdk_audio_1_01_00_00 (not...
Frank Livingston [Thu, 30 Nov 2017 18:25:59 +0000 (12:25 -0600)]
PASDK-458:Update root installation folder to processor_sdk_audio_1_01_00_00 (not necessary if batch files used for build)

3 years agoPASDK-458:Update headers to 2017
Frank Livingston [Thu, 30 Nov 2017 17:30:05 +0000 (11:30 -0600)]
PASDK-458:Update headers to 2017

3 years agoBuild 68:Update DH ARM&DSP builds for HS device
Frank Livingston [Sun, 26 Nov 2017 14:15:38 +0000 (08:15 -0600)]
Build 68:Update DH ARM&DSP builds for HS device

3 years agoBuild 67:Update DH ARM&DSP builds for GP device
Frank Livingston [Fri, 24 Nov 2017 18:50:17 +0000 (12:50 -0600)]
Build 67:Update DH ARM&DSP builds for GP device

3 years agoPASDK-432:Merge remote-tracking branch 'origin/dev_pasdk' into dev_pasdk_frank_pasdk4...
Frank Livingston [Fri, 24 Nov 2017 17:17:32 +0000 (11:17 -0600)]
PASDK-432:Merge remote-tracking branch 'origin/dev_pasdk' into dev_pasdk_frank_pasdk432ValidateHsBoot

3 years agoPASDK-432:Increase ARM open loop delay for HS boot.
Frank Livingston [Fri, 24 Nov 2017 16:58:12 +0000 (10:58 -0600)]
PASDK-432:Increase ARM open loop delay for HS boot.

Temporary workaround to ARM exit in IPC_attach().

3 years agoIncreased DTS norminal delay.
Su [Wed, 22 Nov 2017 21:20:20 +0000 (16:20 -0500)]
Increased DTS norminal delay.

3 years agoPASDK-432:Add code to check for null pointer in shared Beta table
Frank Livingston [Mon, 30 Oct 2017 15:22:21 +0000 (10:22 -0500)]
PASDK-432:Add code to check for null pointer in shared Beta table

(cherry picked from commit 9b5098f1d1df5be016e7086bba0442bda05c0dc1)

3 years agoPADSK-443:Remove CB debug code
Frank Livingston [Tue, 21 Nov 2017 18:15:01 +0000 (12:15 -0600)]
PADSK-443:Remove CB debug code

3 years agoPASDK-443:Remove GPIO debug code
Frank Livingston [Tue, 21 Nov 2017 17:50:54 +0000 (11:50 -0600)]
PASDK-443:Remove GPIO debug code

3 years agoPASDK-443:Fix comment
Frank Livingston [Tue, 21 Nov 2017 17:41:13 +0000 (11:41 -0600)]
PASDK-443:Fix comment

3 years agoPADSK-443:Update MAT-THD submodule (PP fix for CIDK listening #22)
Frank Livingston [Thu, 16 Nov 2017 00:03:38 +0000 (18:03 -0600)]
PADSK-443:Update MAT-THD submodule (PP fix for CIDK listening #22)

3 years agoPASDK-443: Updated ARM max framelength for 192KHz THD stream.
Chitresh Gupta [Sun, 12 Nov 2017 11:58:28 +0000 (17:28 +0530)]
PASDK-443: Updated ARM max framelength for 192KHz THD stream.

This is for glitches fix.

3 years agoPASDK-443: Added comments for CB capture code.
Chitresh Gupta [Thu, 9 Nov 2017 07:33:16 +0000 (13:03 +0530)]
PASDK-443: Added comments for CB capture code.

3 years agoPASDK-443:Add GPIO configuration. To be removed in later cleanup.
Frank Livingston [Thu, 9 Nov 2017 02:34:08 +0000 (20:34 -0600)]
PASDK-443:Add GPIO configuration. To be removed in later cleanup.

3 years agoPASDK-443:Update CB PCM buffer size to avoid overflow for 192 kHz tests.
Frank Livingston [Thu, 9 Nov 2017 00:50:51 +0000 (18:50 -0600)]
PASDK-443:Update CB PCM buffer size to avoid overflow for 192 kHz tests.

Avoids overflow for Dolby CIDK listening tests #17,22,23,27 & 28.

3 years agoReplaced "DTS_BUILD" compiler flag with "bsMetadata_type" check. This fixed the ...
Su [Wed, 8 Nov 2017 21:43:00 +0000 (16:43 -0500)]
Replaced "DTS_BUILD" compiler flag with "bsMetadata_type" check. This fixed the "GAP" problem in the tests with PCM inputs.

3 years agoPASDK-443:Add PP updates for CB nominal delay
Frank Livingston [Wed, 8 Nov 2017 19:59:33 +0000 (13:59 -0600)]
PASDK-443:Add PP updates for CB nominal delay

Move CB nominal delay hold off to ARM.
This ensures hold off for ND is correct for THD input
frames of variable  size.

3 years agoPASDK-443:Update CB read for Nominal Delay
Frank Livingston [Tue, 7 Nov 2017 23:10:40 +0000 (17:10 -0600)]
PASDK-443:Update CB read for Nominal Delay

Update Nominal Delay delta samples hold off calculation to not subtract
size of first input frame. THD frame size is variable, and first frame can
be quite large (e.g. 96 AUs). This will cause delta samples to be very
small or negative, resulting in no read hold off (sample build up) for CB
nominal delay.

3 years agoPASDK-443:Update 16- and 12-ch analog output shortcuts for CIDK listening
Frank Livingston [Tue, 7 Nov 2017 22:21:03 +0000 (16:21 -0600)]
PASDK-443:Update 16- and 12-ch analog output shortcuts for CIDK listening

McASP clock mux selection incorrect for 12- and 16-ch analog output
shortcuts. This was causing Test #15 CIDK to have incorrect output rate,
which resulted in CB underflow.

3 years agoPASDK-432:Remove DDR3 & MSMC heap static intializers from ARM image for No IP build
Frank Livingston [Mon, 6 Nov 2017 20:40:07 +0000 (14:40 -0600)]
PASDK-432:Remove DDR3 & MSMC heap static intializers from ARM image for No IP build

3 years agoPASDK-432:Add cache writeback on ARM for clearing of DDR3 & MSMC heaps
Frank Livingston [Mon, 6 Nov 2017 14:32:58 +0000 (08:32 -0600)]
PASDK-432:Add cache writeback on ARM for clearing of DDR3 & MSMC heaps

3 years agoPASDK-432:Remove DDR3 & MSMC heap static intializers from ARM image
Frank Livingston [Sat, 4 Nov 2017 01:52:07 +0000 (20:52 -0500)]
PASDK-432:Remove DDR3 & MSMC heap static intializers from ARM image

GNU GCC compiler adds static 0's to initialize heaps.
This significantly increases the size of the ARM image because of the
large size of the DDR3 & MSMC heaps.

System works intermittently when sections are removed (DSP sometimes
stalls in statusop_init(), GateMP_open()). Need to determine which code
requires initial 0's for heap, but for now added code in ARM main() to
clear DDR3 and MSMC heaps.

3 years agoPASDK-432:Temporary fix SYS/BIOS crash in Event Combiner Dispatcher.
Frank Livingston [Thu, 2 Nov 2017 15:41:45 +0000 (10:41 -0500)]
PASDK-432:Temporary fix SYS/BIOS crash in Event Combiner Dispatcher.

See sample_cs.c, edma3OsProtectExit():
EventCombiner_enableEvent(ccXferCompInt[edma3InstanceId][region_id]);

- ccXferCompInt[0][0] is set to 0x88.
- This causes overflow w.r.t. acceptable range 0-127 of argument to
EventCombiner_enableEvent(). Overflowed value is 0x8, which is event Id
associated with IPC.
- SYS/BIOS then expects IPC to be handled via handler associated with
Event Combiner instead of HWI #5.
No handler is registered for Event #8, so SYS/BIOS crashes.

3 years agoNo need to differentiate LBR subtype from DTSHD as DXP source program as LBR is handl...
Su [Thu, 2 Nov 2017 15:41:00 +0000 (11:41 -0400)]
No need to differentiate LBR subtype from DTSHD as DXP source program as LBR is handled inside DTSX decoder like other subtypes.

3 years agoPASDK-432:Add XDC tools setting for HS / GP boot to all build configurations
Frank Livingston [Thu, 2 Nov 2017 15:34:50 +0000 (10:34 -0500)]
PASDK-432:Add XDC tools setting for HS / GP boot to all build configurations

3 years agoPASDK-432:PASDK-432:Add XDC tools setting for HS / GP boot to No-IP build
Frank Livingston [Wed, 1 Nov 2017 15:36:55 +0000 (10:36 -0500)]
PASDK-432:PASDK-432:Add XDC tools setting for HS / GP boot to No-IP build

3 years agoPASDK-432:Clean up DSP app.cfg file
Frank Livingston [Tue, 31 Oct 2017 17:48:01 +0000 (12:48 -0500)]
PASDK-432:Clean up DSP app.cfg file

3 years agoPASDK-434:Update MAT-THD submodule
Frank Livingston [Tue, 31 Oct 2017 15:05:25 +0000 (10:05 -0500)]
PASDK-434:Update MAT-THD submodule

3 years agoPASDK-432:Add XDC tools setting for HS / GP boot
Frank Livingston [Mon, 30 Oct 2017 21:24:56 +0000 (16:24 -0500)]
PASDK-432:Add XDC tools setting for HS / GP boot