Hello,
Are there any benchmark reports about CRC peripheral speed and performances on the S32K11x mcu?
I need to check the integrity of the whole flash memory at the startup and in my opinion it takes *a lot* of time.
At 24MHz core speed with 32bit writes instead of 8 I measure 15ms for 128KB of memory.
I am using the core to load data; i can imagine that DMA could speed up computation but I don't know how much.
Any suggestions or best practices to speed up the crc computation?
K.R.
Hi Catosh,
I would try using DMA.
There's the same DMA module, so you can take a look at how to configure the DMA.
Regards,
Daniel
Hi Daniel,
I tried using DMA, here some results on 128 KB
clock (MHz) cpu dma ratio 24 8 5.5 0.6875 48 13.5 6.9 0.511111
On a CM4 with the same clock speed shall I expect the same results, or due to the Harvard architecture I can expect a significative improvement in the DMA scenario?
Hi,
yes, I would expect some improvement but it depends on code executed on CM4 (on traffic on crossbar). The best option is to test it. There's also advantage of higher system clock on S32K14x.
By the way, if core is used (not DMA) then executing from RAM should help on S32K11x. It will have similar effect like enabling cache on CM4.
Regards,
Lukas