Part Number: MSP430FR5994
Hi,
how can I calculate a crc with supporting of dma? I tried this initialisation:
CRCINIRES = 0xFFFF;
CRCDIRB_H = 0x00;
DMA3CTL = 0x00;
DMA3SA = start of array of bytes
DMA3DA = (__SFR_FARPTR)(&CRCDIRB_L);
DMA3SZ = 5;
DMA3CTL = DMADT_5 | DMASRCINCR_3 | DMADSTINCR_0 | DMADSTBYTE | DMASRCBYTE | DMAEN | DMAREQ ;
After a compare with https://crccalc.com/ I see the result in CRCINIRES is wrong.
Have I to initalise other registers?
Best Regards