Hi,
I'm trying to configure CRC module, now I have a problem, It takes me longer when I use DMA than when I don't.
I wonder why
The project I used is Crc_Ip_Example_S32K312
Hi @A12138,
What changes have you done in the example?
Can you share the modified project, what RTD version do you use?
Can you specify what operations you compare?
Regards,
Daniel
Hello @A12138,
You use a very old RTD, version 2.0.0 from March 2022.
Is there is reason you don't use the up-to-date RTD 4.0.0.
I can't even test the project now.
And if we found a bug there, it wouldn't be fixed.
Regards,
Daniel
Hi, Daniel
I'm using RTD 4.0.0 and the problem still exists
I used hardware to calculate CRC, When I checked the Dma channel Enable, the speed was not faster than when I didn't check it.
Hello @A12138,
This seems to be just a misunderstanding.
If the DMA is disabled, the core writes all the bytes to the DATA register within this for loop:
If it is done by the DMA (8bit transfers to the DATA register), it does not mean it is any faster.
But it allows the core to do other operations, while the DMA is transfering the data.
Regards,
Daniel