Part Number: MSP430F5438A
Hello, I have developed a wireless sensing device.
As TI-MSP430F5438A MCU doesn't offer 16-bit SPI communication mode, but only 8-bit or 7-bit SPI communication mode,
I have used a 16-bit SPI protocol sensor chip with the MCU
by directly controlling the CS pin followed by GPIO protocol.
After getting the 16-bit SPI data, the MCU would send to a bluetooth chip by UART protocol.
That worked well.
But, I want to increase the throughput.
So I changed to control UART by operating DMA in the MCU.
However, SPI protocol in the MCU is based on 8-bit communication,
so it is hard to adjust DMA on making 16-bit SPI protocol.
I have no idea on making this protocol.
How can I make the MCU to process 16-SPI protocol by using DMA?
I need to add a data processing algorithm,
so I need to use DMA to reduce burden on CPU.
Can you suggest any idea?
p.s. the 16-bit SPI communicating sensor chip (slave) only reply SPI protocol when CS pin is passing falling edge.
so when the MCU - CS pin is always pin-down, the sensor chip won't never reply.
