2016-02-23 06:47 AM
Hello,
I can't find any eDMA+eMIOS example in SPC5 Studio (only DSPI and ADC are available). Can I get one from the expert team? I would like to trigger an eDMA request after an eMIOS channel counted 16 periods on an external pin. This DMA request would transfer the counter value of another eMIOS channel (to measure the 16 period time) and when done, trigger an INTC interrupt to use the transfered value and calculate the period. I'm using SPC564B74. Thank you2016-02-25 01:17 AM
Hello Aurelien ,
we have not implemented EDMA Support on EMIOS Low level drivers (SPC5Studio)You should use the patch mode after configuring EDMA Channels.I am trying to collect an example from Autosar & SOC Functional valid guys Best regards Erwan2016-03-01 08:27 AM
Hello Erwan,
yes please, any example would be appreciated. SPC564B74. I'm using DMA channel 28 (first not used by generated code). eMIOS0 ch1 corresponds to DMA_MUX channel 18. I'm able to request a DMA transfer by the software (setting SPC5_EDMA.SSBR = 28). But when I set DMA bit in eMIOS CCR, the interrupt is not generated anymore, logic, but no DMA request is raised... (the DMA end of transfer interrupt is not called, the destination address is still empty and HRSL.HRS28 is 0...).