Skip to contentSkip to conversation

Clarification regarding DMA in s3c2440.

DISCUSSION mindentropy 2 participants 3 messages Apr 26, 2011 – Apr 27, 2011

lore
Share & tools
lore
#0 lore raw

Hi All,

I am having some trouble understanding the datasheet of s3c2440 CPU in
the DMA part.(I am trying to understand the dma controller code).

In chapter 8 second page under the heading DMA request sources the number of sources should be 7 and not 4. In the s3c2410 the sources are 5 but they have given it as 4. I would be really grateful if somebody can please verify it and let me know where I am going wrong.

Link location : http://www.friendlyarm.net/dl.php?file=S3C2440.pdf

Thanks in advance.

#1 lore raw
Quoted 7 lines · On Tuesday 26 April 2011 19:16:19 mindentropy wrote:

Hi All,

I am having some trouble understanding the datasheet of s3c2440 CPU in
the DMA part.(I am trying to understand the dma controller code).

In chapter 8 second page under the heading DMA request sources the number of sources should be 7 and not 4.

True

Quoted 2 lines

In the s3c2410 the sources
are 5 but they have given it as 4.

s3c2440 has 18 dma sources, but not every channel is valid for some source, check arch/arm/mach-s3c2440/dma.c, struct s3c24xx_dma_map - it follows table 8-1 in mentioned datasheet.

Regards
Vasily

#2 lore raw
Quoted 15 lines · Vasily Khoruzhick
Quoted 8 lines · On Tuesday 26 April 2011 19:16:19 mindentropy wrote:

Hi All,

I am having some trouble understanding the datasheet of s3c2440 CPU in

the DMA part.(I am trying to understand the dma controller code).

In chapter 8 second page under the heading DMA request sources the number of sources should be 7 and not 4.

True

Quoted 2 lines

In the s3c2410 the sources
are 5 but they have given it as 4.

Quoted 6 lines

s3c2440 has 18 dma sources, but not every channel is valid for some source, check arch/arm/mach-s3c2440/dma.c, struct s3c24xx_dma_map - it follows table 8-1 in mentioned datasheet.

Regards
Vasily

Thanks for the reply. I am following the source. Much clearer there :)