Is the following normal behavior for the LPSPI:
The former seems reasonable for some circumstances, but is causing some issues with a Linux driver I am troubleshooting. However, the latter does not seem reasonable. I cannot determine if this is normal behavior for the LPSPI or there is something else going on with the driver.
Update:
Hi Paul
seems this is normal behavior as described on below part of i.MX8 Reference Manual
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hello Igor,
The documentation seemed quite vague to me. After thinking about it, I can see the clock free running being expected behavior. When stalling is disabled, the clock free runs until a transmit command word is written indicating that the transfer should end.
However, the issue with the last bit of the last word not being sampled with stalling enabled seems to be an actual issue with the LPSPI IP according to the link I included in my original post.
Hi Paul
seems this is the same IP as in link which you referenced.
Best regards
igor