Hi daniel,
I set the LPSPI_0 as below photo show:
linton_0-1715138116821.png
and I use the scope to test the SOUT waveform as below show:
linton_1-1715138558010.png
I send 20 bytes data, so I can calculate the baudrate is about 4.2M(what I set is 4.8M), and I check the clock is right. as below show:
linton_2-1715138789486.png
what cause this problem? what I need is 4.8M , 4.75 to 4.85 is acceptable. but 4.2M is bad.
the second problem is I change the transfer type from DMA to interrupt. the configure as below:
linton_3-1715139000238.png
and I also use the scope to test the SOUT waveform as below show:
linton_4-1715139066278.png
as you can see it separate my 20bytes data to five part, 4 bytes per part. What cause this problem?
linton_5-1715139340156.png