Technical discussions about the TI C54x DSPs (including the c5401, c5402, c5402a, c5404, c5407, c5409, c5409a, c5410, c5410a, c5416, c5420, c5421, c5441, c549, c5470 and c5471).
|
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 _____________________________________ |