Strictly necessary cookies are on by default and cannot be turned off. Functional, Performance and Tracking/targeting/sharing cookies can be turned on below based on your preferences (this banner will remain available for you to accept cookies). You may change your cookie settings by deleting cookies from your browser. Then this banner will appear again. You can learn more details about cookies HERE.
Strictly necessary (always on)
Functional, Performance and Tracking/targeting/sharing (default off)
In our application we are trying to use a flash chip that has the requirement that the CS line be raised shortly after the last bit is clocked in via SPI. We try to raise the line directly after the SPI write command returns, but this is not fast enough for the peripheral and some fraction of the time, the command is ignored.
Is there any way to minimize the time between the end of the SPI write and our GPIO call to raise the line, beyond just making it be on the next line of the C code?