P6INT_ISR:
P7INT_ISR:
P8INT_ISR:
P9INT_ISR:
M2MDMA_ISR:
ADCDMA_ISR:
SPIDMA_ISR:
U1TXDMA_ISR:
U1RXDMA_ISR:
U2TXDMA_ISR:
U2RXDMA_ISR:
U3TXDMA_ISR:
U3RXDMA_ISR:
U4TXDMA_ISR:
U4RXDMA_ISR:
LCMDMA_ISR:
LCMIF_ISR:
JMP 006BH
END
Code testing method
According to the predefined DMA packet length (for example: 256 bytes), send a packet of data (254 bytes) through
the serial port tool, and add a 2-byte CCITT-CRC16 check code at the end:
After the MCU receives the entire packet of data (256 bytes), it performs CRC16 check on the first 254 bytes of data,
and the obtained check code is compared with the last two bytes. If the values are equal, print "OK!" and calculate the
check code, and then output the content read from the DMA space.