DSPRelated.com
Forums

Interrupt von DMA Channel 0

Started by T.Hupp April 3, 2001
Hi there,

I'm just implementing a DMA transfer in ABU Mode from
the McBSP to internal Memory.

Everything works correct, but
- when I use DMA Channel 0 I was never able to get
an IR from the DMA.

I have tried the same (with the same code) for DMA channel 4 & 5
and there IR generation is no problem.

- Anybody made the same experience?
- Any ideas?

Best regards!
Thomas




"T.Hupp" wrote:
> Everything works correct, but
> - when I use DMA Channel 0 I was never able to get
> an IR from the DMA.
>
> - Any ideas?

Hi!

Your DMA interrupt might not be enabled.

Due to a limited number of interrupts in the memory map in some of
the circuits, some DMA interrupts are multiplexed with other
peripheral interrupts on the device. The interrupt functions available
are controlled by the INTOSEL bits in the DMPREC register.

See DSP enhanced peripherals ref set vol 5. page 3-9 & 3-10.

Peter
--
-----------------------------------
Peter Nyman, DSP Engineer
Sectra Wireless Technologies AB
/ +46 (0)13-23 52 74
-----------------------------------
Sectra: http://www.sectra.se/
Personal: http://www.geocities.com/SiliconValley/2741/
Liunga Pipare: http://www.geocities.com/Vienna/6474/
-----------------------------------



Hi Peter,

thank you for your reply.
I think it?s not the INTOSEL setting.
I?m working on a 5402 target and on this
platform only the IRs of the DMA Channels
1, 2 and 3 are multiplexed with other IRs.

Best regards
Thomas -----Ursprungliche Nachricht-----
Von: Peter Nyman [mailto:]
Gesendet: Dienstag, 3. April 2001 16:07
An: ;
Betreff: Re: [c54x] Interrupt von DMA Channel 0
"T.Hupp" wrote:
> Everything works correct, but
> - when I use DMA Channel 0 I was never able to get
> an IR from the DMA.
>
> - Any ideas?

Hi!

Your DMA interrupt might not be enabled.

Due to a limited number of interrupts in the memory map in some of
the circuits, some DMA interrupts are multiplexed with other
peripheral interrupts on the device. The interrupt functions available
are controlled by the INTOSEL bits in the DMPREC register.

See DSP enhanced peripherals ref set vol 5. page 3-9 & 3-10.

Peter
--
-----------------------------------
Peter Nyman, DSP Engineer
Sectra Wireless Technologies AB
/ +46 (0)13-23 52 74
-----------------------------------
Sectra: http://www.sectra.se/
Personal: http://www.geocities.com/SiliconValley/2741/
Liunga Pipare: http://www.geocities.com/Vienna/6474/
-----------------------------------


Hi, Hupp,
Are you using CCS1.2? When you open the register window, you shall check the
interrupt mask bit in ST1 , not in ITM which sometimes will tell a wrong status. GoodLuck!

ZiP
-----????-----
???: T.Hupp [mailto:]
????: 2001?4?3? 19:57
???:
??: [c54x] Interrupt von DMA Channel 0 Hi there,

I'm just implementing a DMA transfer in ABU Mode from
the McBSP to internal Memory.

Everything works correct, but
- when I use DMA Channel 0 I was never able to get
an IR from the DMA.

I have tried the same (with the same code) for DMA channel 4 & 5
and there IR generation is no problem.

- Anybody made the same experience?
- Any ideas?

Best regards!
Thomas
_____________________________________
Note: If you do a simple "reply" with your email client, only the author of this
message will receive your answer. You need to do a "reply all" if you want your
answer to be distributed to the entire group.

_____________________________________
About this discussion group:

To Join: Send an email to

To Post: Send an email to

To Leave: Send an email to

Archives: http://www.yahoogroups.com/group/c54x

Other Groups: http://www.dsprelated.com ">http://docs.yahoo.com/info/terms/