Hi,
I am using spim3 16Mhz and sometimes the spi tx data had the first byte as same as previous last byte and sensor can not react and timed out because of the wrong data.
Actually, I already have a dedicated memory for spim3 to avoid the anomaly [198] but I figured out the problem disappeared after removing spi reset code like below in initializing FW.
Of course there is also spi init fuction before using spim3 after the spi reset code.
I think that spi channel reset should not affect the problem but it affects. Can anyone explain this symptom?
One more weird thing, this spi reset code has stayed for a while but the problem is happening much more frequently after changing other unrelated code like removing or changing logs in other drivers.
Thank you.