NXP iMXRT106x generic FlexSPI driver support? #71563
-
@DerekSnell Does the flexspi driver in zephyr provide support for access to non-flash devices? Do I need to develop my own driver to provide a generic SPI bus driver inteface? I've been told there is some McuXpresso SDK example that demonstrates using FlexSPI for generic SPI access, if this is possible, it would be great if NXP provided drivers to support SPI operation above 30 MHz to support data intensive peripherals.... unless there are significant impediments that maybe I should know about before embarking on my own effort? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
For anyone else interested, the FlexSPI programmable sequence engine can only read or write from the RX/TX FIFO's and therefore cannot implement full duplex SPI transceive operation. Although not suitable for a full featured SPI implementation, it may be able to work as long as only one SPI buffer (rx or tx) is needed in each spi exchange. |
Beta Was this translation helpful? Give feedback.
-
We were able to get approval to operate the generic SPI at a higher
frequency and did not need to implement generic SPI on the flex SPI. From
what I recall it did not seem like the FlexSPI would be fully capable of
full-duplex bidirectional (at the same time) SPI, but it might have been
possible to achieve half-duplex SPI operations.
…On Fri, Mar 14, 2025 at 5:56 AM Victor Olin ***@***.***> wrote:
Is there any update on the question whether NXP would provide drivers for
generic SPI access? I'm faced with a similar problem where I have to use a
FlexSPI bus for generic SPI communication. You mentioned that you would
embark on writing your own driver, did you get anywhere with it and if you
finished i,t did it work well in your case?
—
Reply to this email directly, view it on GitHub
<#71563 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACJDHHTJI7OLXJNVUYQN7L2ULGZTAVCNFSM6AAAAABZAUNZT2VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTENJQGA3TKMA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***
.com>
|
Beta Was this translation helpful? Give feedback.
-
Hi @asteriskSF and @v-olin , Best regards |
Beta Was this translation helpful? Give feedback.
For anyone else interested, the FlexSPI programmable sequence engine can only read or write from the RX/TX FIFO's and therefore cannot implement full duplex SPI transceive operation. Although not suitable for a full featured SPI implementation, it may be able to work as long as only one SPI buffer (rx or tx) is needed in each spi exchange.