Part Number: SK-AM62P-LP
Hi Team,
I have integrated DSS (display share) and MCASP (audio) into a single project on AM62Px.
Use case: Play a warning sound as a continuous loop until explicitly stopped. Due to audio buffer size constraints, only a single beep sample is stored in memory, and it is resubmitted repeatedly to create the loop.
Approaches tried:
Method 1: mcasp.c : Resubmit the same audio buffer immediately from within the mcasp_txcb callback.
Method 2: mcasp_2.c : Use a dedicated task that continuously submits the audio buffer instead of resubmitting from the callback.
syscfg used: : syscfg.txt
Issues observed:
- Screen freeze: If MCASP loop playback is started after DSS display share is already running, the display freezes once audio playback begins.
- Playback stops: If MCASP loop playback is started before DSS init, the audio loop stops as soon as
DispApp_startScreenreturns success.
This suggests some resource contention or priority/interrupt conflict between the DSS display-share path and the MCASP driver
I need help with:
- Understanding the root cause of this interaction between DSS and MCASP.
- Guidance on how to run both simultaneously – continuous MCASP loop playback and DSS display share – without either one disrupting the other.
Thanks in advance.