MPC5676R DMA interrupts

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MPC5676R DMA interrupts

385 Views
nicklabianco
Contributor I

If I want to initiate DMA transfers using an external pin of the processor, which pins can I use? I found that there are 4 possible signals that can be used for this per reference manual pg. 3-15: IRQ[0], IRQ[1], IRQ[2], IRQ[3]. I found that these interrupts may be utilized on multiple uC pins as seen below. Am I able to use any of the pins below or only specific ones? How can I tell?

 

 

 

 

 

F25ETPUC9_IRQ0_GPIO4500
AF17EMIOS14_IRQ0_GPIO1930
F26ETPUC10_IRQ1_GPIO4511
AE16EMIOS15_IRQ1_GPIO1941
L4BOOTCFG0_IRQ2_GPIO2112
G22ETPUC11_IRQ2_GPIO4522
L3BOOTCFG1_IRQ3_GPIO2123
G23ETPUC12_IRQ3_GPIO4533
G24ETPUC13_IRQ4_GPIO4544
M3PLLCFG0_IRQ4_GPIO2084
Labels (1)
0 Kudos
1 Reply

324 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

Yes, you can use IRQ0-IRQ3 to start DMA transfers as you wrote.

You can select any pin by configuring alternate function of respective PCR register. For example to use IRQ0 on AF17 pad just configure

  1. SIU.PCR[193].B.PA = 2; // select IRQ0 function
  2. SIU.PCR[193.B.IBE = 1; // enable input buffer

Moreover you have to enable the edge detector in SIU_IREER or SIU_IFEER registers for an particular IRQ and enable DMA request in SIU_DIRSR.

The SIU_EIISR gives you a possibility to select the source for the external interrupt/DMA inputs. By default the IRQn sources are selected.

BR, Petr

0 Kudos