2024-11-25 02:37 AM
Dear ST,
I use STM32F777 and try to receive SPI Data as a slave via SPI DMA. That works only pretty fine, when I don't activate the CRC Checksum calculation. I receive after the DMA threshold the expected data, but when I set:
Poly is 0x1021
Inti value is 0x0000
If I use the CRC HW Unit via SW, that works as well. But I still have to use the combination of DMA and CRC, because that part is on our application, very time critical. I still can not use the CPU instead.
2024-11-25 04:18 AM - edited 2024-11-25 04:19 AM
Disclaimer: I've never used the CRC facility in STM32 SPI.
> The received data traped in a Error Callback from the SPI, always.
What is "Error Callback from the SPI"?
Do you use some "library"? Which one? How? Why? Did you try your own code with possibly better control?
Have you tried using polled implementation?
> Dear ST,
While this forum is monitored by ST, it's primarily user-driven.
JW
2024-11-25 05:10 AM
Hi JW,
ErrorCallBack is:
2024-11-25 05:18 AM
So, the problem is, that CRC calculated by the SPI unit does not match CRC calculated by FPGA, correct?
Can you give a couple of examples?
JW