i.mx6 master mode how to keep clock enabled all the time so the slave can send data whenever it wants

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

i.mx6 master mode how to keep clock enabled all the time so the slave can send data whenever it wants

473 Views
atillametetured
Contributor V

Hello

We have a custom board with imx6 and a peripheral which communicates via SPI. The problem is the peripheral needs to be able to send data to imx whenever it wants, however since the clock and CS is not active when imx is not doing anything SPI related, slave cant send the data.

How do I fix this issue in Linux?

Regards,

Mete

Labels (4)
0 Kudos
1 Reply

335 Views
igorpadykov
NXP Employee
NXP Employee

Hi Mete

in master mode clock provided by i.MX6, when it initiates spi transfer.

So one can try i.MX6 spi slave mode, so peripheral would initiate transfer.

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos