This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM62 Mcasp could not record

Hi Teams,

 

My customer is testing AM62. Now they face a problem about MCASP.

  • Transmit is OK, although sometimes report : teardown timeout
  • It's ok to record for the first time. But if system is reboot, BCDMA will report many interrupts and could not read MCASP fifo.
  • Now it seems the data were updated too fast to cause many DMA interrupts?
  • Because the Am62 is not released yet, if any you have any related documents could you share it to me via E-mail?

 The captured log was showed below:

  • First time log: (No overrun alert)

root@am62xx-evm:~# arecord -f cd test.wav
Recording WAVE 'test.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo

  •  Second time log

Log:
overrun!!! (at least 0.046 ms long)
overrun!!! (at least 0.021 ms long)
overrun!!! (at least 0.043 ms long)
overrun!!! (at least 0.017 ms long)
overrun!!! (at least 0.031 ms long)
overrun!!! (at least 0.022 ms long)
overrun!!! (at least 0.014 ms long)
overrun!!! (at least 0.015 ms long)
overrun!!! (at least 0.032 ms long)
overrun!!! (at least 0.033 ms long)
overrun!!! (at least 0.018 ms long)
overrun!!! (at least 0.032 ms long)
overrun!!! (at least 0.025 ms long)
overrun!!! (at least 0.021 ms long)
overrun!!! (at least 0.023 ms long)
overrun!!! (at least 0.018 ms long)

 Interrupt:

 39:       1517          0          0          0     GICv3 267 Level     2b00000.mcasp_rx
 40:          0          0          0          0     GICv3 268 Level     2b00000.mcasp_tx
 41:          0          0          0          0  MSI-INTA 1713152 Level     485c0100.dma-controller chan0
 59:        164          0          0          0  MSI-INTA 1714176 Edge      485c0100.dma-controller chan1
 71:          1          0          0          0  MSI-INTA 1714688 Level     485c0100.dma-controller chan1
 89:    2462704          0          0          0  MSI-INTA 1715718 Edge      485c0100.dma-controller chan2     这里不正常,不应该有这么多中断
107:          2          0          0          0  MSI-INTA 1716230 Level     485c0100.dma-controller chan2
129:        203          0          0          0  MSI-INTA 1970707 Level     8000000.ethernet-tx0
219:        190          0          0          0  MSI-INTA 1971731 Level     8000000.ethernet
252:          0          0          0          0     GICv3 134 Level     8000000.ethernet
320:          0          0          0          0      GPIO  36 Edge    -davinci_gpio  id_gpio

FiFo:

Read at address  0x02B0100C (0xffff7fc9100c): 0x00000040