Hi,
I am using SPI and DMA to transfer data to an external device. This is currently functional, but there is a gap between each byte that I would like to remove to reduce the transfer time.
8 bit burst transfer
This is the current process I have in place with incrementing data (0x00, 0x01,0x02, 0x03, etc.), showing the gap between each byte.
I verified that the ECSPIx_PERIODREG.SAMPLE_PERIOD is 0. I believe I should be able to reduce the gaps between bytes by adjusting the burst size (ECSPIx_CONREG.BURST_LENGTH). I tested with a burst length of 16 bits (instead of 8 bits for the above example).
16 bit burst width
The 16-bit burst width is now sending 16 bits of clock data for each 8 bits of data (which is incorrect). I did notice that there was no longer a gap between the 16 bits of clock data. I think there should be some combination to make this work, but I haven't determined how.
Any help would be appreciated.
Thanks,
Dan K.