Dera support,
my customer Aptiv is looking for DMA based ICU handling. Based on incoming rising edge a DMA transaction should happen configured in mcl driver. In our RTD ICU user manual we find since some releases the same remark:
3.6.1 Icu with DMA feature
Tips for this feature will be added in the next release.
Its in RTD5.00 / 6.0.0 and 7.0.0
Do we have a working example to show to Aptiv how to use this feature ?
Ideally for S32K358 RTD6.0.0 but if we have other versions thats fine as well.
Best Regards,
Viktor
Hi @viktorfellinger ,
There are some notes for this feature:
- DMA just support with IcuMeasurementMode is ICU_MODE_SIGNAL_MEASUREMENT or ICU_MODE_TIMESTAMP.
- DMA feature only supports ICU_MODE_SIGNAL_MEASUREMENT in eMios SAIC mode
- Just some Emios channels support DMA, you find this through the attached excel: S32K3xx_DMAMUX_map in RM, like this:
In my example, I used Emios_0, channel 1 for measuring signal.
In Icu:
In Mcl, using DMA_TCD0
In Rm:
In Platform:
I attached the example here that I used the attached example in the package(RTM600) and just add this feature.
I also created the ticket: ARTDCT1-637 so that SW team can update this chapter in the next release.
Best regards,
Nhi