Part Number: MSP432P401R
Other Parts Discussed in Thread: MSP430F5529
Tool/software: Code Composer Studio
Hello Fellow,
I need some help with a code excerpt, i can't convert this following code of MSP430F5529, into a code of MSP432. someone can help me?
void Set_DMA_SPI(void)
{
DMACTL0 = DMA0TSEL_12; // USCI_B0 Transmit Ready Trigger
//DMA0SA = (void (*)())&UCB0RXBUF; // Source block address
//DMA0DA = (void (*)())ADC_Read_data; // Destination single address
DMA0SZ = 16; // Block size
DMA0CTL = DMADT_4 + DMADSTINCR_3 + DMADSTBYTE + DMASRCBYTE;
// Rpt, inc src, byte-byte
DMA0CTL |= DMAEN; // Enable DMA for consecutive Xfers
}