Hi all,
On our custom board based on TI8148 using TI EZSDK 5.05.01.04, I need to configure McASP4 to be used as an audio receiver from a HDMI chip.
The MCLK, bit clock and frame clock are output from the HDMI chip.
And I had probed these signals and they are being output from the HDMI receiver to TI8148.
However, I'm encountering "ALSA sound/core/pcm_lib.c:1765: capture write error (DMA or IRQ trouble?)" when I used arecord to try to capture from McASP4.
Understood it as timeout when waiting for PCM stream. Seem like no data is streaming into the DMA.
I had went through these 2 posts (http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/717/t/246455.aspx & http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/717/t/229575.aspx) that have this problem but their solutions do not work on my board.
I read from "TI81XX_EDMA_Driver_User_Guide" page 4 on "Present configuration of EDMA3 resources on DM814X platform".
As McASP4 AREVT DMA channel is 63, is this channel being used by DSP?
I had modified ../arch/arm/mach-omap2/devices.c ti814x_dma_rsv_chans[][2] by changing {56, 8} to {56, 6} and ti814x_dma_rsv_slots[][2] similarly.
Does this free up this channel from DSP?
Or McASP4 is not available for usage by A8?
Or is there anything on L4 need to be setup since McASP4 data port is on L4?
On sprs647d TMS320DM814x DaVinci Digital Video DataSheet, page 321, address range for McASP3/4/5 for BUFFER_CFGRD_RFIFO_STS have address 0x0A1A 300C/ 0x0A1A 900C/ 0x0A1A F00C.
Is this a typo error? As McASP3/4/5 address started from 0x4A1AXXXX.
Thank you for any help.
Regards
May
 
				 
		 
					 
                          