KCC's Quizzes AQQ306 about a fish stick challenge
1. First the quote of the month: " I am so clever that sometimes I don't understand a single word of what I am saying" - Oscar Wilde
2. New quiz AQQ306 about a fish stick challenge:
Here below is a pseudo fish diagram swimming to the right.
Question
View All
October Monthly Blog Quiz! Read the blog, take the quiz, and you could win a gift card
Finding Your Circuit Chi — EMC Quiz!
Think you know EMC? Test your knowledge with our 5-question quiz!
Read the blog first, then take the challenge: Finding Your Circuit Chi
Every current flowing creates electromagnetic fields.
Strong EMC design
View All
Hi,
I have a SC598 SHARC with DMA descriptor setup in L2 uncached memory..
But, after enable the DMA, the DMA engine will not load the ADDRSTART but with IRQERR..
Then, I toggle the DMA enable bit and it is working as expected..
Do you know the reason behind this ? (Attached is the DMA register dump).
Thanks
Arthur
DMA10_ADDRSTART 00000000 DMA10 Start Address of Current Buffer Register
DMA10_ADDR_CUR 00000200 DMA10 Current Address Register
DMA10_BWLCNT 00000000 DMA10 Bandwidth Limit Count Register
DMA10_BWLCNT_CUR 00000000 DMA10 Bandwidth Limit Count Current Register
DMA10_BWMCNT 00000000 DMA10 Bandwidth Monitor Count Register
DMA10_BWMCNT_CUR 00000000 DMA10 Bandwidth Monitor Count Current Register
DMA10_CFG 06214225 DMA10 Configuration Register
DMA10_DSCPTR_CUR 20033088 DMA10 Current Descriptor Pointer Register
DMA10_DSCPTR_NXT 20033080 DMA10 Pointer to Next Initial Descriptor Register
DMA10_DSCPTR_PRV 20033088 DMA10 Previous Initial Descriptor Pointer Register
DMA10_STAT 00006002 DMA10 Status Register
DMA10_XCNT 00000008 DMA10 Inner Loop Count Start Value Register
DMA10_XCNT_CUR 00000006 DMA10 Current Count (1D) or Intra-row XCNT (2D) Register
DMA10_XMOD 00000100 DMA10 Inner Loop Address Increment Register
DMA10_YCNT 00000040 DMA10 Outer Loop Count Start Value (2D only) Register
DMA10_YCNT_CUR 00000040 DMA10 Current Row Count (2D only) Register
DMA10_YMOD FFFFF904 DMA10 Outer Loop Address Increment (2D only) Register
Hi Arthur,
As mentioned in the ADSP-SC598 HRM, the DMA_STAT.IRQERR bit indicates that the DMA has detected a documented rule violation during DMA programming or operation.
When an interrupt request error occurs (DMA_STAT.IRQERR), the DMA updates the DMA_STAT.ERRC bit field to identify the type of error.
Based on the DMA status register shared, the error appears to be a "Configuration Error". This usually indicates that the DMA descriptor or related configuration was not valid when the DMA was enabled.
Therefore, please ensure that the DMA descriptors are properly configured before enabling DMA.
Also, please refer the SPORT examples available in the ADSP-SC59x board support package. Please download and install the ADSP-SC59x BSP from the below link.
download.analog.com/.../ADI_EV-SC59x_EZ-KIT-Rel4.0.0.exe
Once installed, you can find the SPORT examples from the below mentioned installation path.
[Installation directory]: \Analog Devices\EV-SC59x_EZ-KIT-Rel4.0.0\EV-SC59x_EZ-KIT\Examples\drivers\sport
Hope this helps.
Regards,
Nandini C
I have a workaround on this issue. thx.