Skip to main content
rsun.11
Associate II
December 14, 2022
Solved

How to config the FIFO Threshold of OCTOSPI

According to my understanding, I can read/write data directly through the "DR" register. Why do I have to set the FIFO Threshold value? How to use the FIFO correctly during the reading and writing procedure? 0693W00000WKyrJQAT.jpg 

And another question is that How to set the "CSHT[5:0]" in "DR1" register? For example How to set the "CSHT[5:0]" if I use "IS25LP064A" Flash?

Thanks

Best Regards

This topic has been closed for replies.
Tesla DeLorean
Tesla DeLoreanBest answer
Guru
December 23, 2022

Its a forum, there no guarantee anyone will answer your questions, or care, most are more interested in their own problems, and not paid to fix yours.

You don't have to set the FIFO level, but it paces/modulates the IRQ or DMA so they are not continually hammered for every byte, and you can stuff a burst of data in a single transaction.

Read the data sheet for the IS25LP064A, tells you the minimum high time for CE# is 7ns, translate that into clock cycles based on how fast you're clocking the interface so as not to violate this.

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..

3 replies

rsun.11
rsun.11Author
Associate II
December 23, 2022

No one answer my question?

Tesla DeLorean
Tesla DeLoreanBest answer
Guru
December 23, 2022

Its a forum, there no guarantee anyone will answer your questions, or care, most are more interested in their own problems, and not paid to fix yours.

You don't have to set the FIFO level, but it paces/modulates the IRQ or DMA so they are not continually hammered for every byte, and you can stuff a burst of data in a single transaction.

Read the data sheet for the IS25LP064A, tells you the minimum high time for CE# is 7ns, translate that into clock cycles based on how fast you're clocking the interface so as not to violate this.

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..