TIDUFB8 December 2024
The MCU DMA module transfers data packets between the MSPM0G1106 MCU and AMC130M03 devices with minimal hardware resources and timing overhead over the SPI bus. Two DMA channels are utilized for the SPI data transfer: DMA Channel 0 sends SPI data (0x00) to the ADC and DMA Channel 1 receives the measurements data from ADC over the SPI bus. AMC130M02 transfers 12 bytes packet due to 2 analog input, once a complete SPI data packet has been received from the ADC, an DMA Ready interrupt is generated and the CRC16 verification of the data packet starts. After the CRC16 check was successful, the data packet is disassembled into voltage and current values for Phase A.