Part Number: MSPM0G3507
Tool/software:
Hello.
I have the SPI RX and TX DMA working simultaneously..
It seems to essentially function as I would like it to but I have clearly got an error I'm my received data from I think a RX FIFO and DMA issue.
A RPI is polling the MCU, by sending 0x8000 continuously.
When the MCU gets POLL, it responds with POLL and then TX data via DMA. This works well.
And since SPI is duplex I RX data at the same time via DMA.
The data RX data is fixed at 0xf0f0 so I can see what is going on.
However, the first two packets of the RX data are "corrupted" by "POLL" ??
The RPI is sending the correct data as I can see this on a logic analyser, see snip.
NB - I change SPI clock speed between POLL and data for various reasons and this all works fine.
Setup below and two snips.
NB - MOSI has a glitch that is not real data after last poll (it's 10 ns wide and has no effect).
Any clues ?? Seems to be close, as always.....
--
Phil

