This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi.
I try to communicate through McBSP in DMA mode between a TMS320F28377D (DELFINO) and a TMS320C6657 (C66).
I can't use McBSP as SPI because the C66 processsor doesn't support SPI protocol (see document SPRUHH0—May 2012 paragraph 2.10).
So I'd like to have the same configuration for C66 and DELFINO processors.
Below, I'd like to give you an example what I want (for simplify the graph, I represent a transfer with 2 words of 8 bits instead of two words of 16 bits) :
With my current configuration, I have a frame synchronisation signal between each word.
Do you have any idea of register configuration that allows to have the operating mode in the graph ?
Thanks in advance.
Hi Mark.
Sorry, it seems that I have not been clear.
I just want to send x words in a single phase with only one frame synchronisation pulse (not one pulse of FSX per word) in DMA mode.
In my McBSP current configuration, I have:
XCR1->XFRLEN1 = x (size of frame = x+1 words)
XCR1->XWDLEN1 = 2 (word = 16 bits)
XCR2->PHASE = 0 (Single-phase frame)
XCR2->XDATDLY= 0 (0-bit data delay)
SPCR1->CLKSTP = 2
PCR->CLKXP = 0
PCR->CLKRP = 0
PCR->CLKXM = 1
PCR->SCLKME = 0
SRGR2->CLKSM = 1
SRGR1->CLKGDV
PCR->CLKRM = 0
PCR->FSXM = 1
SRGR2->FSGM = 0
PCR->FSRM = 0
PCR->FSXP = 1
PCR->FSRP = 1
And in my DMA configuration, I have:
BURST_SIZE.all = 0
SRC_BURST_STEP = 0
DST_BURST_STEP = 0
SRC_TRANSFER_STEP = 1
DST_TRANSFER_STEP = 0
SRC_WRAP_SIZE = 0xFFFF
SRC_WRAP_STEP = 0
DST_WRAP_SIZE = 0xFFFF
DST_WRAP_STEP = 0
MODE->CHINTE = 1
MODEvDATASIZE = 0
MODE->CONTINUOUS = 0
MODE->ONESHOT = 0
MODE->PERINTE = 1
MODE->OVRINTE = 0
MODE->CHINTMODE = 1
Any idea of what configuration registers are wrong?
Thanks in advance.