Hi,
I am using imx6 as a SPI SLAVE to communicate with external peripheral which is acting as SPI MASTER.
Size of data to be shifted out is 4KB. I am setting burst_length value is 0x1F(32 bits in a word).
My data is being shifted out in multiple SPI Burst, but I am getting a strange result.
My 128*0 + 2, 128*2 + 2, 128*6 + 2..... words are getting replaced with zeros. Rest of the data before and after these words are fine.
eCSPI settings
Burst Len = 0x1F
bpw = 32
CPOL = 0
CPHA = 1
When I am setting burst_length value is 0xFFF(A SPI burst contains 2^7 words), My 128*1 + 1, 128*3 + 1, 128*5 + 1..... words are getting replaced with zeros.
Am I missing something here?
Any pointers will be appreciated.